How to remove titlebar of urxvt in pekwm

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

How to remove titlebar of urxvt in pekwm

#1 Post 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.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#2 Post by darkcity »

nice one, added link to wiki
http://puppylinux.org/wikka/PekWM

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#3 Post by musher0 »

darkcity wrote:nice one, added link to wiki
http://puppylinux.org/wikka/PekWM
Many thanks !
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#4 Post 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.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply