The question says it all really, is there a command that emulates Always On Top that you get by right clicking on window borders?
Asked
Active
Viewed 2,559 times
6
Logan
- 421
- 2
- 6
- 17
-
1How would you use it exactly? `Always On Top` is a feature specifically for the GUI (windows).. – Karthik T Dec 27 '12 at 02:55
-
1may it help :http://askubuntu.com/questions/7377/how-to-start-an-app-with-always-on-top-set – yuan Dec 27 '12 at 02:59
-
@KarthikT when the gnome-terminal starts it will execute that command on itself. - or its window even – Logan Dec 27 '12 at 03:09
-
@ZhangYuan Thanks for the link, I already checked that out earlier... Maybe this question has no answer- better off with compiz solution I guess. – Logan Dec 27 '12 at 03:10
1 Answers
7
- Install
wmctrl - Open a terminal and type
wmctrl -l. You will see a list of windows and processes. - Type
wmctrl -i -r 0x01c00267 -b add,above. Replace0x01c00267with the window number you want to be on top.
Ed Villegas
- 3,343
- 1
- 20
- 29
-
1Instead of using `-i` for window id, we can also use a string that would match the title of the window `wmctrl -r erminal -b toggle,fullscreen` Instead of "Terminal", or `user@host....` we can use a partial string (I used "erminal" in the example) and `wmctrl` would try to match it. The first one it matches becomes the subject. – Logan Dec 27 '12 at 03:43