jpilot@lists.jpilot.org

General support, questions, patches for J-Pilot.

View all threads

Adjusting window/frame size

RS
Rich Shepard
Tue, Mar 3, 2020 9:47 PM

I start jpilot with a shell script (Slackware-14.2/xfce4) and it's invoked
with a call to that script rather than a call to a v.t. So there's no
explicit geometry for the size of the display. And I don't find anything
relevant in settings or in ~/.jpilot.

I set the size manually but it's not used the next time jpilot loads. Is
there a place where I can specify the width and height of the window/frame
for jpilot?

Rich

I start jpilot with a shell script (Slackware-14.2/xfce4) and it's invoked with a call to that script rather than a call to a v.t. So there's no explicit geometry for the size of the display. And I don't find anything relevant in settings or in ~/.jpilot. I set the size manually but it's not used the next time jpilot loads. Is there a place where I can specify the width and height of the window/frame for jpilot? Rich
JM
Judd Montgomery
Wed, Mar 4, 2020 3:09 AM

Hi Rich,

jpilot -h lists an option -geometry

If I try things like jpilot -geometry 1253x852+100+100 it works for me.

Judd

On 3/3/20 4:47 PM, Rich Shepard wrote:

I start jpilot with a shell script (Slackware-14.2/xfce4) and it's
invoked
with a call to that script rather than a call to a v.t. So there's no
explicit geometry for the size of the display. And I don't find anything
relevant in settings or in ~/.jpilot.

I set the size manually but it's not used the next time jpilot loads. Is
there a place where I can specify the width and height of the
window/frame
for jpilot?

Rich


Jpilot mailing list
Jpilot@lists.jpilot.org
http://lists.jpilot.org/mailman/listinfo/jpilot_lists.jpilot.org

Hi Rich, jpilot -h lists an option -geometry If I try things like jpilot -geometry 1253x852+100+100 it works for me. Judd On 3/3/20 4:47 PM, Rich Shepard wrote: > I start jpilot with a shell script (Slackware-14.2/xfce4) and it's > invoked > with a call to that script rather than a call to a v.t. So there's no > explicit geometry for the size of the display. And I don't find anything > relevant in settings or in ~/.jpilot. > > I set the size manually but it's not used the next time jpilot loads. Is > there a place where I can specify the width and height of the > window/frame > for jpilot? > > Rich > > _______________________________________________ > Jpilot mailing list > Jpilot@lists.jpilot.org > http://lists.jpilot.org/mailman/listinfo/jpilot_lists.jpilot.org
RS
Rich Shepard
Wed, Mar 4, 2020 1:50 PM

On Tue, 3 Mar 2020, Judd Montgomery wrote:

jpilot -h lists an option -geometry
If I try things like jpilot -geometry 1253x852+100+100 it works for me.

Judd,

That is what I do when the command line directly loads the application. I'm
not sure where to put the -geometry option because jpilot is invoked with a
shell script:

#!/bin/bash
export MALLOC_CHECK_=0

ensures the datebook is the displayed application when started.

sed -i 's/last_app [0-9]*/last_app 100/' ~/.jpilot/jpilot.rc
/usr/local/bin/jpilot

This probably dates from the early Pleistocene and I don't know if I still
need it. If not, I'll remove the script and load jpilot directly from the
command line with the geometry option.

There's another minor annoyance with this jpilot installation that did not
occur before: when I move the cursor over the options in a drop-down list
the current one is blank rather than having a different background color.
Don't know if this is correctable with a recompilation.

Thanks,

Rich

On Tue, 3 Mar 2020, Judd Montgomery wrote: > jpilot -h lists an option -geometry > If I try things like jpilot -geometry 1253x852+100+100 it works for me. Judd, That is what I do when the command line directly loads the application. I'm not sure where to put the -geometry option because jpilot is invoked with a shell script: #!/bin/bash export MALLOC_CHECK_=0 # ensures the datebook is the displayed application when started. sed -i 's/last_app [0-9]*/last_app 100/' ~/.jpilot/jpilot.rc /usr/local/bin/jpilot This probably dates from the early Pleistocene and I don't know if I still need it. If not, I'll remove the script and load jpilot directly from the command line with the geometry option. There's another minor annoyance with this jpilot installation that did not occur before: when I move the cursor over the options in a drop-down list the current one is blank rather than having a different background color. Don't know if this is correctable with a recompilation. Thanks, Rich
JM
Judd Montgomery
Wed, Mar 4, 2020 4:39 PM

On 3/4/20 8:50 AM, Rich Shepard wrote:

On Tue, 3 Mar 2020, Judd Montgomery wrote:

jpilot -h lists an option -geometry
If I try things like jpilot -geometry 1253x852+100+100 it works for me.

Judd,

That is what I do when the command line directly loads the
application. I'm
not sure where to put the -geometry option because jpilot is invoked
with a
shell script:

#!/bin/bash
export MALLOC_CHECK_=0

ensures the datebook is the displayed application when started.

sed -i 's/last_app [0-9]*/last_app 100/' ~/.jpilot/jpilot.rc
/usr/local/bin/jpilot

#!/bin/bash
export MALLOC_CHECK_=0

ensures the datebook is the displayed application when started.

sed -i 's/last_app [0-9]*/last_app 100/' ~/.jpilot/jpilot.rc
/usr/local/bin/jpilot -geometry 1200x840+100+100

Although jpilot should save its size when you quit it and use that size
when it restarts.

This probably dates from the early Pleistocene and I don't know if I
still
need it. If not, I'll remove the script and load jpilot directly from the
command line with the geometry option.

The sed script above makes jpilot open in calendar app.  It should
always open in the app it was in when it quit (assuming it wasn't killed).

There's another minor annoyance with this jpilot installation that did
not
occur before: when I move the cursor over the options in a drop-down list
the current one is blank rather than having a different background color.
Don't know if this is correctable with a recompilation.

Yea, maybe a different color file, or modify the one being used.

Judd

On 3/4/20 8:50 AM, Rich Shepard wrote: > On Tue, 3 Mar 2020, Judd Montgomery wrote: > >> jpilot -h lists an option -geometry >> If I try things like jpilot -geometry 1253x852+100+100 it works for me. > > Judd, > > That is what I do when the command line directly loads the > application. I'm > not sure where to put the -geometry option because jpilot is invoked > with a > shell script: > > #!/bin/bash > export MALLOC_CHECK_=0 > # ensures the datebook is the displayed application when started. > sed -i 's/last_app [0-9]*/last_app 100/' ~/.jpilot/jpilot.rc > /usr/local/bin/jpilot #!/bin/bash export MALLOC_CHECK_=0 # ensures the datebook is the displayed application when started. sed -i 's/last_app [0-9]*/last_app 100/' ~/.jpilot/jpilot.rc /usr/local/bin/jpilot -geometry 1200x840+100+100 Although jpilot should save its size when you quit it and use that size when it restarts. > > This probably dates from the early Pleistocene and I don't know if I > still > need it. If not, I'll remove the script and load jpilot directly from the > command line with the geometry option. The sed script above makes jpilot open in calendar app.  It should always open in the app it was in when it quit (assuming it wasn't killed). > > There's another minor annoyance with this jpilot installation that did > not > occur before: when I move the cursor over the options in a drop-down list > the current one is blank rather than having a different background color. > Don't know if this is correctable with a recompilation. Yea, maybe a different color file, or modify the one being used. Judd
RS
Rich Shepard
Wed, Mar 4, 2020 6:43 PM

On Wed, 4 Mar 2020, Judd Montgomery wrote:

#!/bin/bash
export MALLOC_CHECK_=0

ensures the datebook is the displayed application when started.

sed -i 's/last_app [0-9]*/last_app 100/' ~/.jpilot/jpilot.rc
/usr/local/bin/jpilot -geometry 1200x840+100+100

Although jpilot should save its size when you quit it and use that size
when it restarts. The sed script above makes jpilot open in calendar app. 
It should always open in the app it was in when it quit (assuming it
wasn't killed).

Judd,

That's what I thought.

I need to kill the jpilot process after syncing/backing up because it doesn't
automatically clean up and print 'Finished' in the message window.

Yea, maybe a different color file, or modify the one being used.

Okay. Same color file I've used before but I'll look at it and change the
highlighting.

Thanks.

Best regards,

Rich

On Wed, 4 Mar 2020, Judd Montgomery wrote: > #!/bin/bash > export MALLOC_CHECK_=0 > # ensures the datebook is the displayed application when started. > sed -i 's/last_app [0-9]*/last_app 100/' ~/.jpilot/jpilot.rc > /usr/local/bin/jpilot -geometry 1200x840+100+100 > > Although jpilot should save its size when you quit it and use that size > when it restarts. The sed script above makes jpilot open in calendar app.  > It should always open in the app it was in when it quit (assuming it > wasn't killed). Judd, That's what I thought. I need to kill the jpilot process after syncing/backing up because it doesn't automatically clean up and print 'Finished' in the message window. > Yea, maybe a different color file, or modify the one being used. Okay. Same color file I've used before but I'll look at it and change the highlighting. Thanks. Best regards, Rich