Page 1 of 1

undecorated window autostart

Posted: Tue Jan 31, 2012 10:43 am
by Schnullerbacke
Hello Everyone,

hopefully I get not beaten up because I posted the same question in the german forum.
To make a long story short, I´m looking for a way how to start an analog clock or any other window in undecorated mode via autostart. Until now I was tinckering with the configfiles of LXDE and Openbox without success.
Any idea that points my in the right direction is highly appreciated.

kind regards Schnullerbacke

Re: undecorated window autostart

Posted: Tue Jan 31, 2012 1:34 pm
by rokytnji

Re: undecorated window autostart

Posted: Wed Feb 01, 2012 2:16 pm
by Schnullerbacke
Hello, Thank you ¨rokytnji¨ for the help.

I´ve figured out how it works. Don´t know why it did not work in first hand.
Only thing to do is editing ~/.config/openbox/lxde-rc.xml

I added in the applications section

Code: Select all

 <applications>

<application name="buici*"
              class="Buici*"
               type="dialog">

    <decor>no</decor>
    <shade>no</shade>
    <focus>no</focus>
    <desktop>all</desktop>
    <layer>normal</layer>
    <iconic>no</iconic>
    <skip_pager>yes</skip_pager>
    <skip_taskbar>yes</skip_taskbar>
    <fullscreen>no</fullscreen>
    <maximized>no</maximized>
  </application>

  </applications>
Afterwards you only have to log off and logon again.

Just to explain, in the example I use ¨Buici-Clock¨ wich I have borrowed from the Ubuntu repos and compiled in fedora.
Anyway the procedure for all programs is the same. To get the appliation name, class and type, you have to start the desired program, open a terminal and run ¨obxprop¨ (no quotes) and klick on the window of the wanted program.
It is possible to have more than one program in this section. The rest explains itself.
For more Information see: http://openbox.org/3.4/rc