Page 1 of 1

Startup folder -- how to have items start minimized?

Posted: Mon 25 Apr 2011, 17:35
by bleepingbeep
I've added my file manager and console (terminal) to my root/Startup folder. They work as expected, popping up after the boot process is complete. But is there some way to have them begin minimized (iconified)?

Not a big deal. But if anyone has a tip, I'd appreciate it.

Posted: Mon 25 Apr 2011, 17:47
by alexandrion
* i'm assuming you run openbox *
put the programs you're interested in at the end of .xinitrc

now in your /root/.config/openbox/rc.xml at the end in the applications section add

Code: Select all

  <application name="geany">
	<iconic>true</iconic>
  </application>
replace geany with whatever application you're interested in minimizing

the downside of this, of course, is that whenever you will start that application it will start minimized

Posted: Mon 25 Apr 2011, 18:39
by bleepingbeep
Thanks -- this is the kind of thing I find helpful as I get to know Puppy. But I'm running the JWM window manager. I'll look around for a config file comparable to what you've suggested.

Posted: Mon 25 Apr 2011, 20:17
by Béèm
bleepingbeep,
When you ask for help, always specify what version you use, how installed or operated.
You see that you get advice, but it isn't for your situation.
That's a loss of time for the person wanting to help and frustration for you as you didn't get good advice.

Now for your question, I don't know.

Posted: Mon 25 Apr 2011, 20:49
by bleepingbeep
Good point, Béèm. Sorry to have wasted others' time; I'm usually careful not to do this. I've amended my signature to show some of the particulars.

Regards.

Posted: Tue 26 Apr 2011, 00:15
by Béèm
bleepingbeep wrote:Good point, Béèm. Sorry to have wasted others' time; I'm usually careful not to do this. I've amended my signature to show some of the particulars.

Regards.
Good initiative for your signature. I did it under my avatar.
And thanks for taking the effort to spell my userid correct.

Posted: Tue 26 Apr 2011, 00:56
by NE1
You can edit the group options in "/root/.jwmrc".
See the following for more info: http://joewing.net/programs/jwm/config.shtml#groups

e.g.
<Group>
<Class>Rxvt</Class>
<Option>minimized</Option>
</Group>

The above would start urxvt minimzed. As with openbox, the drawback is that it will always start minimized. However, you can also include a "Name" so that only windows with a certain title will start minimized.

e.g.
<Group>
<Name>Test</Name>
<Class>Rxvt</Class>
<Option>minimized</Option>
</Group>

The above would only minimize urxvt windows with the title "Test", and you can use the -T option to set the title for your urxvt console window.

e.g.
urxvt -T "Test"

Maybe you can find some similar option for your file manager (so that only the instance opened during startup is minimized).

Posted: Tue 26 Apr 2011, 02:29
by bleepingbeep
Béèm: No problem. Names should be treated with care. I was struck by the adjacent e-acute and e-grave characters -- it seems an unusual combination. (I read French well, though I'm not fluent.)

NE1: Thank you very much for that advice. I'm using Thunar as my file manager and rox-term as my terminal program, so will have to be careful how I do those tags when editing the .jwmrc file. I appreciate the link too. I'm confident I can get this figured out now.

Posted: Tue 26 Apr 2011, 12:34
by Béèm
bleepingbeep, my alias is the French phonetic for my initials (BM)

Posted: Tue 26 Apr 2011, 16:34
by bleepingbeep
Thanks, Béèm -- makes perfect sense now. Love the St. Bernard! :)

Posted: Tue 07 Jun 2011, 13:01
by CoronelN
Hello guys,

I am looking for a way to have sylpheed starting upon puppy startup and minimized.

i am using snow puppy 018, with IceWV i dragged a copy of defaultmail to /root/startup and sylpheed starts but always maximized any advice ?
thanks in advance

Posted: Sun 25 Aug 2013, 05:24
by Subito Piano
...yeah,, it's an old thread...

alexandrion -- i did what you said but it just ain't working. I put your text in the end of the rc.xml file, just before OR just after
</applications>

and in .xinitrc i tried

Code: Select all

geany

Code: Select all

geany & 
and

Code: Select all

exec geany
just before ###END###

no geany in the tray....any idea why?

Lucid Pup 5.28