Forum › Forums › General › Tips and Tricks › Naming virtual desktops in JWM.
Tagged: workspaces jwm .jwmrc
- This topic has 6 replies, 4 voices, and was last updated Apr 12-12:49 am by Mynaardt.
-
AuthorPosts
-
April 9, 2019 at 6:07 pm #20334Member
Mynaardt
Hi, All!
I posted this once and I think I deleted by mistake when editing it. So I hope it does not appear twice.
Anyway, I wanted to find a way to make sure all my workspaces or virtual desktops in antiX all had the same names for all three of desktop environments. Partly for the sake of consistency, but mostly because I’m kind of fussy that way. 😉
I was able to set the names easily for both Ice-WM and Fluxbox. But setting the desktop names in JWM took a little more time to figure out. Mostly because I couldn’t find an example to work with. But I got it figured out.
Here is the appropriate excerpt from my own ~/.jwm/preference file:
<!-- Virtual Desktops --> <!-- Comment out or remove desktops count statement if it's here --> <Desktops height="1" width="3"> <!-- Default background. Note that a Background tag can be contained --> <Desktop name="alpha"></Desktop> <Desktop name="beta"></Desktop> <Desktop name="gamma"></Desktop> </Desktops>It’s actually pretty straight forward. Each name statement needs to be in the appropriate order and each name needs to be in quotes or the first name will appear as most of your preference file and the others will just be plain numbers.
I don’t know if this is much use to most users. But I just thought I’d share it if anyone else is as fussy about virtual desktop names as I am.
Thanks!
What have the Romans ever done for us?
Apart from: sanitation, medicine, education, wine, public order, irrigation, roads, fresh water, and public health?April 10, 2019 at 12:06 am #20347Anonymous
::Adding Pager attributes in ~/jwm/tray file will show 1 2 3 4 in the workspaces cells
<!-- Additional Pager attributes; width, height --> <Pager labeled="true"/>April 10, 2019 at 8:56 am #20369Moderator
caprea
::These are cool tips for jwm.
I like the desktop-naming idea and adopted it immediately for my jwm, thank you both.April 10, 2019 at 9:27 am #20371Forum AdminSamK
::If you want to reduce the amount of space used on the taskbar try
<Desktops height="2" width="1">
It stacks them one above the other within the height of the taskbar. Other variations work too.April 10, 2019 at 11:05 pm #20381Member
Mynaardt
::Adding Pager attributes in ~/jwm/tray file will show 1 2 3 4 in the workspaces cells
<!-- Additional Pager attributes; width, height --> <Pager labeled="true"/>@pat-san: I tried that but it only sort of worked.
It only put a label on one of my three workspace labels. The middle one (“beta”), but not the other two (“alpha” and “gamma”).
Is there something else I need to add to that because I’m using named labels instead of just numbers?
It would look cool if I could have all three show up with labels in the task bar….
- This reply was modified 4 years, 1 month ago by Mynaardt.
What have the Romans ever done for us?
Apart from: sanitation, medicine, education, wine, public order, irrigation, roads, fresh water, and public health?April 11, 2019 at 1:34 am #20383Anonymous
April 12, 2019 at 12:49 am #20418Member
Mynaardt
::I tried messing about with those Pager statements again, but no such luck in getting the labels to show up by default on the task bar window spaces.
Not a big deal, though. The names I have them still show up nicely when I hover the pointer over them, which is the main thing.
What have the Romans ever done for us?
Apart from: sanitation, medicine, education, wine, public order, irrigation, roads, fresh water, and public health? -
AuthorPosts
- You must be logged in to reply to this topic.