Page 1 of 1

How to remove titlebar of urxvt in pekwm

Posted: Wed 29 Aug 2012, 20:36
by musher0
Hello, all.

To save space on your desktop, it is sometimes useful to do away with the title bar of some programs.

We've indicated how to do this in icewm earlier:
http://www.murga-linux.com/puppy/viewtopic.php?t=77522

Similarly, here is how to have an urxvt window without a title bar in pekwm. In pekwm's autoproperties file (located at ~/.pekwm), insert the following:

Code: Select all

 Property = "^urxvt,^URxvt" {
 	ApplyOn = "Start New"
 	Border = "True"; Titlebar = "False"
 	Sticky = "False"
 }
If you call a cli program with "rxvt -e", rxvt is not affected, and therefore will show with a titlebar, while the same cli program called with "urxvt -e" will not have a titlebar.

If this sounds like splitting hairs... it is! 8) However, minute details sometimes make a big difference -- and help clear your mind!

Let's give credit to whom credit is due... This trick is adapted from:
http://phollow.fr/2009/05/bashrun-un-la ... -efficace/ (Read on Aug. 29, 2012, at 16:10)
Many thanks to the anonymous author! :)

BFN.

Posted: Tue 04 Sep 2012, 20:54
by darkcity
nice one, added link to wiki
http://puppylinux.org/wikka/PekWM

Posted: Wed 05 Sep 2012, 03:24
by musher0
darkcity wrote:nice one, added link to wiki
http://puppylinux.org/wikka/PekWM
Many thanks !

Posted: Fri 07 Sep 2012, 01:05
by musher0
Incidentally...

I decided to use this configuration trick rather than the "-bl" parameter in the urrxvt calling script itself. Using the "-bl" parameter forbids the use of any input device in the console window. I've experienced it, and there are also a couple of reports on Linux forums about the strange behaviour of the "-bl" parameter in urxvt.

"-bl" also makes the window sticky. So in practice, its use would be restricted to displaying a clock in text format or some similar type of permanent data on your screen.

BFN.