undecorated window autostart

All questions and problems regarding LXDE components including LXSession, LXAppearance, GPicView, Leafpad, LXTerminal, Xarchiver, LXNM to be discussed here.

For PCManFM questions, please ask in the dedicated forum below.
Locked
Schnullerbacke
Posts: 3
Joined: Sun Jan 29, 2012 8:24 am

undecorated window autostart

Post 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
rokytnji
Posts: 131
Joined: Mon Jun 13, 2011 10:45 pm
Location: pecos.tx
Contact:

Re: undecorated window autostart

Post by rokytnji »

Amrel RT 786ex 1.6ghz, 512MB ram , AntiX 8.5 core, Biker Linux user # 475019
Lead,Follow, or get the heck out of the way
My AntiX LXDE Install
Schnullerbacke
Posts: 3
Joined: Sun Jan 29, 2012 8:24 am

Re: undecorated window autostart

Post 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
Locked