Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: manit123 on April 03, 2013, 10:11:43 AM

Title: how to pin windows on top
Post by: manit123 on April 03, 2013, 10:11:43 AM
i am using tiny core 1.4.7
if i am using xvkbd then I want it to remain on top . How can I do that ?
Title: Re: how to pin windows on top
Post by: Rich on April 03, 2013, 10:16:38 AM
Hi manit123
Quote
i am using tiny core 1.4.7
Did you mean 4.7.1?
Title: Re: how to pin windows on top
Post by: tinypoodle on April 03, 2013, 10:31:56 AM
That may depend as well on specific app as on specific window manager in use.
Title: Re: how to pin windows on top
Post by: althalus on April 03, 2013, 07:20:09 PM
More information on your setup would probably be helpful. What window manager or desktop environment are you using? For example, you could add something similar to this to rc.xml to get an effect that's roughly what you are after in openbox:
Code: [Select]
  <application class="MPlayer">
    <desktop>all</desktop>
    <layer>above</layer>
  </application>

(Obviously changing MPlayer to whatever window class xvkbd uses)
Title: Re: how to pin windows on top
Post by: gerald_clark on April 03, 2013, 07:33:21 PM
You may also be able to right click on the window's title bar to change the layer.
Title: Re: how to pin windows on top
Post by: tinypoodle on April 03, 2013, 09:44:42 PM
I had a look at xvkbd, and its feature "Always on top" - which is characterized as "experimental" in documentation - seems not to be of any effect here (using jwm).

Setting its window to a higher layer as already suggested above works as expected and serves the purpose. 
Title: Re: how to pin windows on top
Post by: netnomad on April 04, 2013, 01:44:06 AM
hi friends,

fluxbox offers "Always on Top" for single windows as a standard feature, that works fine.
Title: Re: how to pin windows on top
Post by: manit123 on April 05, 2013, 12:13:47 PM
My window manager is same as that comes in normal install over usb stick .
I think there is flwm_topside & wbar.

Taking example of mplayer above , how will I find what window class xvkbd uses ?
Title: Re: how to pin windows on top
Post by: tinypoodle on April 05, 2013, 12:44:59 PM
I doubt you could achieve what you want with stock flwm, even if it could do layers, the click to focus model allows input only on window being on top.

See also:
http://forum.tinycorelinux.net/index.php/topic,13689.msg76320.html#msg76320
http://forum.tinycorelinux.net/index.php/topic,11074.msg58068.html#msg58068
Title: Re: how to pin windows on top
Post by: manit123 on April 06, 2013, 10:13:35 AM
i am not aware about compiling etc.

The easier method would be switching to different window manager that supports 'always' on top feature .
From above , I think fluxbox is light weight too.

How can I have it as default window manager on startup ?
Title: Re: how to pin windows on top
Post by: tinypoodle on April 06, 2013, 10:37:13 AM
Boot code "desktop= "
Title: Re: how to pin windows on top
Post by: manit123 on April 06, 2013, 11:20:25 AM
no such thing mentioned here http://wiki.tinycorelinux.net/wiki:boot_codes_explained
Title: Re: how to pin windows on top
Post by: tinypoodle on April 06, 2013, 11:26:17 AM
no such thing mentioned here http://wiki.tinycorelinux.net/wiki:boot_codes_explained

Yes it is!!

Quote
List of Bootcodes

 For more information on what boot codes are supported, see http://distro.ibiblio.org/tinycorelinux/faq.html#bootcodes
Title: Re: how to pin windows on top
Post by: manit123 on April 06, 2013, 11:48:06 AM
tinycore desktop=yyy                Specify alternate window manager

What will be yyy for fluxbox ?
Title: Re: how to pin windows on top
Post by: Rich on April 06, 2013, 12:30:59 PM
Hi manit123
Try:
Code: [Select]
desktop=fluxbox
Title: Re: how to pin windows on top
Post by: gerald_clark on April 06, 2013, 05:12:18 PM
You don't need the desktop= boot code unless you have installed more than one desktop/window manager and the one you want to use was not the last one loaded.
Title: Re: how to pin windows on top
Post by: coreplayer2 on April 07, 2013, 03:16:22 AM
Fluxbox will do layer a window on top. 
Title: Re: how to pin windows on top
Post by: gerald_clark on April 07, 2013, 10:04:20 AM
So will icewm.
Title: Re: how to pin windows on top
Post by: manit123 on April 08, 2013, 05:16:27 AM
installed fluxbox.tcz
Got 4 desktops & right click on window title gave layer > top option .
Everything OK .

icewm is also nice with layer > 'on top' functionality . Moreover switching between windows cause them to overlap others as long as others are not set 'on top' .

So that means 'on top' functionality ain't possible in flwm .
Title: Re: how to pin windows on top
Post by: tinypoodle on April 08, 2013, 11:39:26 AM
It might be of interest to test if xvkbd's option "Main menu -> Property... -> Always on Top?" would work in fluxbox and/or icewm, regardless of setting window layer of xvkbd's window by the wm.