WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: how to pin windows on top  (Read 6007 times)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
how to pin windows on top
« 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 ?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: how to pin windows on top
« Reply #1 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?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: how to pin windows on top
« Reply #2 on: April 03, 2013, 10:31:56 AM »
That may depend as well on specific app as on specific window manager in use.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: how to pin windows on top
« Reply #3 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)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: how to pin windows on top
« Reply #4 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.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: how to pin windows on top
« Reply #5 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. 
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: how to pin windows on top
« Reply #6 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.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: how to pin windows on top
« Reply #7 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 ?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: how to pin windows on top
« Reply #8 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
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: how to pin windows on top
« Reply #9 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 ?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: how to pin windows on top
« Reply #10 on: April 06, 2013, 10:37:13 AM »
Boot code "desktop= "
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: how to pin windows on top
« Reply #11 on: April 06, 2013, 11:20:25 AM »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: how to pin windows on top
« Reply #12 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
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: how to pin windows on top
« Reply #13 on: April 06, 2013, 11:48:06 AM »
tinycore desktop=yyy                Specify alternate window manager

What will be yyy for fluxbox ?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: how to pin windows on top
« Reply #14 on: April 06, 2013, 12:30:59 PM »
Hi manit123
Try:
Code: [Select]
desktop=fluxbox