You are not logged in.

#1 2017-08-11 15:52:19

ap
Member
Registered: 2017-08-09
Posts: 47

[SOLVED] autostart app minimized

Hi all, I want to autostart sylpheed at startup but minimized, not showing the full window of the program. Any hints on how to do so?
Thanks in advance!

Last edited by Head_on_a_Stick (2017-08-12 10:59:42)

Offline

#2 2017-08-11 16:18:12

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Offline

#3 2017-08-11 17:09:10

ap
Member
Registered: 2017-08-09
Posts: 47

Re: [SOLVED] autostart app minimized

Awesome thanks! I have used devilspie and it works however it is not consistent...on some reboots it does minimize sylpheed, on some it doesn't. not sure why but that's it...

Offline

#4 2017-08-11 17:52:08

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [SOLVED] autostart app minimized

erm, can't openbox do that? no need for devilspie or any other separately installed software.
http://openbox.org/wiki/Help:Applications

Offline

#5 2017-08-11 17:55:50

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] autostart app minimized

^ Oh yeah, I forgot about that...  :8

Offline

#6 2017-08-12 04:06:16

ap
Member
Registered: 2017-08-09
Posts: 47

Re: [SOLVED] autostart app minimized

Thanks ohnonot, that was really helpful smile

Offline

#7 2017-08-12 05:05:08

ap
Member
Registered: 2017-08-09
Posts: 47

Re: [SOLVED] autostart app minimized

So this is what worked for me, I post it here, it might be useful for someone else

Edit autostart and add

sylpheed &

Edit rc.xml by adding

    <application class="Sylpheed" name = "main_window" type="normal" >
      <iconic>yes</iconic>
    </application>

And here you have it! Sylpheed (or any other app really) running minimised (in my case in system tray) at startup.

Thanks for the help  Head_on_a_Stick and ohnonot! :-)

Offline

Board footer

Powered by FluxBB