jwm group

Window managers, icon programs, widgets, etc.
Post Reply
Message
Author
User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

jwm group

#1 Post by rufwoof »

I was looking at putting a borderless terminal/console window on the desktop as part of the default 'background' ... so cli commands could be easily entered directly on the desktop. Eterm looked to be a good candidate for supporting transparency and borderless windows and I started with a .jwmrc entry of

Code: Select all

<StartupCommand>Eterm --no-cursor -O --buttonbar 0 -g 80x34+170+120</StartupCommand>
as one of my startup commands.

Image
(clickable thumbnail)

But then it struck me jwm caters for groups, such that you can set those sorts of settings within jwm itself i.e. include a .jwmrc entry such as

Code: Select all

<Group>
    <Class>Eterm</Class>
    <Option>nolist</Option>
    <Option>noborder</Option>
    <Option>notitle</Option>
    <Option>sticky</Option>
</Group>
I haven't experimented very far with that yet, but conceptually you might have other borderless choices on the desktop, perhaps htop for instance, that has no menu, no border and that doesn't appear in the tray/tasklist i.e. just sits there as part of the normal desktop background.

Image
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#2 Post by rufwoof »

Bit of tweaking of Eterm font size and screen position/size, along with mc (file manager and mc -e editor), sc (spreadsheet), and using mpv as a radio station player ....

Image
(clickable thumbnail (animated gif))
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#3 Post by tallboy »

Very nice, thanks for sharing.

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

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

#4 Post by musher0 »

You can do it to any application window.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#5 Post by tallboy »

That would be a nightmare with 10 open and overlapping windows! :lol: :lol: :lol:

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

LateAdopter
Posts: 361
Joined: Fri 27 May 2011, 17:21
Location: Reading UK

#6 Post by LateAdopter »

Hello rufwoof

Could you explain what "Class" is, please? I use "Name" to set ROX-Filer to "tiled" and gnome-mpv to "centered", but Joe Wing's configuration page does not explain the keywords.

Also, there are some extra options in 2.3.7, that I haven't tried yet. I swapped xenialpup64 to 2.3.7 from Artful. I just copied over the jwm binary after checking the dependencied with ldd first.
It has a new dependency on libpng16, which is the first package I have had from packages.ubuntu.com, that trashes the xenialpup64 707 savefile because it has a symlink across the gap between /lib/x86_64-linux-gnu and /usr/lib/x86_64-linux-gnu. Fortunately I have plenty of backup savefiles.

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#7 Post by rufwoof »

LateAdopter wrote:Hello rufwoof

Could you explain what "Class" is, please? I use "Name" to set ROX-Filer to "tiled" and gnome-mpv to "centered", but Joe Wing's configuration page does not explain the keywords.
They're very similar LateAdopter ... https://joewing.net/projects/jwm/config.shtml#groups. 2nd string in WM_CLASS i.e. if you open a window such as galculator and then in a terminal run xprop | grep WM_CLASS and then use the mouse to click on the galculator window the result is

WM_CLASS(STRING) = "galculator", "Galculator"

and that "Class" is that second value ("Name" is the first value)
Attachments
s.png
(46.13 KiB) Downloaded 205 times

LateAdopter
Posts: 361
Joined: Fri 27 May 2011, 17:21
Location: Reading UK

#8 Post by LateAdopter »

Thanks rufwoof. Now I know what it means.

Post Reply