how to start programs maximised
how to start programs maximised
I'd like to do that via startup options, script, or init file, as my mom (70) might get confused when windows start minimised, too small or partially off-screen. I'm not around to help her hitting the button for maximising or telling her how to use the right-click menue, so starting maximised would be ideal, she is not likely to use more than one program simultaneously anyway. Programs she uses: Thunderbird, Firefox, and Abiword.
Hi...
Did you try to use a 'geometry' parameter?
I don't use Firefox or Thunderbird so I can't test it, but Abiword understand this command, 'X' and 'Y' its the screen size:.
Change X and Y for your resolution numbers (like 800x600, 1024x768 and so on).
Change thoses numbers until you found the launched Abiword window good enought.
Regards.
Did you try to use a 'geometry' parameter?
I don't use Firefox or Thunderbird so I can't test it, but Abiword understand this command, 'X' and 'Y' its the screen size:
Code: Select all
abiword --geometry=XxY
Change X and Y for your resolution numbers (like 800x600, 1024x768 and so on).
Change thoses numbers until you found the launched Abiword window good enought.
Regards.
How about using a tiling window manager? 
You can specify for particular programs to be started maximised using the group settings in your JWM configuration.
http://joewing.net/programs/jwm/config.shtml
But the biggest problem with JWM is that you'll probably want to hack it to disable window shading.

You can specify for particular programs to be started maximised using the group settings in your JWM configuration.
http://joewing.net/programs/jwm/config.shtml
But the biggest problem with JWM is that you'll probably want to hack it to disable window shading.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
> abiword --geometry=XxY
That works well for abiword, thank you (though not for FF and TB).
> group settings in your JWM configuration
I forgot to mention that it's about desktop icons (I cleared the desktop except for three icons, to keep it as simple as possible). Do changes in the JWM config influence the behaviour of windows launched by desktop icons, too?
That works well for abiword, thank you (though not for FF and TB).
> group settings in your JWM configuration
I forgot to mention that it's about desktop icons (I cleared the desktop except for three icons, to keep it as simple as possible). Do changes in the JWM config influence the behaviour of windows launched by desktop icons, too?
Yes.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
problems using groups
I used
in the desktop icon's file. This won't work for Thunderbird, though.
I added
to
/etc/xdg/templates/_root_.jwmrc, running fixmenus and "jwm -restart" afterward--didn't have any effect (I also tried "Thunderbird" and "thunderbird" as name).
In usr/share/applications/thunderbird.desktop both "Name" and "GenericName" is "Thunderbird Email Client". Besides, I don't know what to use as class. Any idea?
Code: Select all
exec firefox -height 768 -width 1024 "$@"
I added
Code: Select all
<Group>
<Class>*</Class>
<Name>Thunderbird Email Client</Name>
<Option>maximized</Option>
</Group>
/etc/xdg/templates/_root_.jwmrc, running fixmenus and "jwm -restart" afterward--didn't have any effect (I also tried "Thunderbird" and "thunderbird" as name).
In usr/share/applications/thunderbird.desktop both "Name" and "GenericName" is "Thunderbird Email Client". Besides, I don't know what to use as class. Any idea?
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
try running xwininfo in rxvt and clicking on the window of whatever app you are wanting info on (class, name ...) I forget what info it gives, but I cna't think of anything better at the moment other than easter egging the name/class
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
xwininfo/group
> xwininfo
I didn't know that one, quite handy, thx, it says:
No entry for "Name", so I tested:
and
Unfortunately no effect on any window, though after calling fixmenus this group does appear in .jwmrc.
I didn't know that one, quite handy, thx, it says:
Code: Select all
Window id: 0x1e00081 "Inbox - Mozilla Thunderbird"
...
Class: InputOutput
...
Code: Select all
<Group>
<Class>InputOutput</Class>
<Option>maximized</Option>
</Group>
Code: Select all
<Group>
<Class>*</Class>
<Option>maximized</Option>
</Group>
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
while you are working on this you may want to add the groups to /root/.jwmrc-tray instead, so all you have to do is jwm -restart (no fixmenus required)
for the name try looking in the .desktop file or running top to see the actual command that is running (mozilla apps usually have 2-3 scripts that wrap the actual binary) ... for instance seamonkey-bin is the name for seamonkey - check in the thunderbird directory for the matching actual binary file
for the name try looking in the .desktop file or running top to see the actual command that is running (mozilla apps usually have 2-3 scripts that wrap the actual binary) ... for instance seamonkey-bin is the name for seamonkey - check in the thunderbird directory for the matching actual binary file
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].