How to switch between virtual desktops by keyboard?

Booting, installing, newbie
Post Reply
Message
Author
aldeon
Posts: 15
Joined: Mon 23 Mar 2020, 15:02

How to switch between virtual desktops by keyboard?

#1 Post by aldeon »

I wonder if I could switch between virtual keyboards by keyboard or not. If there is no hotkey for it, maybe setting one could be possible?

I'm using Bionicpup64 8.0

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

Re: How to switch between virtual desktops by keyboard?

#2 Post by gychang »

aldeon wrote:I wonder if I could switch between virtual keyboards by keyboard or not. If there is no hotkey for it, maybe setting one could be possible?

I'm using Bionicpup64 8.0
1) geany ~/root/.jwm/jwm-personal from terminal
2) add these lines under <!-- Keybindings -->
<Key mask="CS" key="Right">rdesktop</Key>
<Key mask="CS" key="Left">ldesktop</Key>
<Key mask="CS" key="#">desktop#</Key>
3) restartwm

now pressing Ctrl-Shift+? should work.
---
trying to learn puppylinux... :D
---

aldeon
Posts: 15
Joined: Mon 23 Mar 2020, 15:02

Re: How to switch between virtual desktops by keyboard?

#3 Post by aldeon »

gychang wrote:
aldeon wrote:I wonder if I could switch between virtual keyboards by keyboard or not. If there is no hotkey for it, maybe setting one could be possible?

I'm using Bionicpup64 8.0
1) geany ~/root/.jwm/jwm-personal from terminal
2) add these lines under <!-- Keybindings -->
<Key mask="CS" key="Right">rdesktop</Key>
<Key mask="CS" key="Left">ldesktop</Key>
<Key mask="CS" key="#">desktop#</Key>
3) restartwm

now pressing Ctrl-Shift+? should work.
Thanks a lot. It was perfect.

williams2
Posts: 337
Joined: Fri 14 Dec 2018, 22:18

#4 Post by williams2 »

I think the default hotkeys to switch the jwm virtual desktops are:

alt+1
alt+2
alt+3
etc

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

#5 Post by tallboy »

williams2 is absolutely correct. Funny thing is that when you refer to a virtual desktop in a script, the count starts at 0, not 1. :D

I would also recommend reading the good'ol GNU/Linux Command-Line Tools Summary at the old The Linux Documentation Project. Even seasoned Linux users have some aha-experiences there! :D
Just remember that some of the commands are not available in BusyBox, which is the lightweight version used in most Puppys, instead of the full Linux utilities.
True freedom is a live Puppy on a multisession CD/DVD.

ndujoe1
Posts: 851
Joined: Mon 05 Dec 2005, 01:06

#6 Post by ndujoe1 »

The default Alt+1, etc, is correct.

ndujoe1
Posts: 851
Joined: Mon 05 Dec 2005, 01:06

#7 Post by ndujoe1 »

It is possible that EASY OS has a different keybinding set than Bionicpup 64 which I use.

number77
Posts: 804
Joined: Fri 22 Oct 2010, 19:30

#8 Post by number77 »

williams2 wrote:I think the default hotkeys to switch the jwm virtual desktops are:

alt+1
alt+2
alt+3
etc
Nice one williams2. Thanks.

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#9 Post by Mike Walsh »

number77 wrote:
williams2 wrote:I think the default hotkeys to switch the jwm virtual desktops are:

alt+1
alt+2
alt+3
etc
Nice one williams2. Thanks.
Indeed; seconded. Summat new I've learnt today..!

(Although I'm curious as to why this works with the 'main' number keys at the top of the keyboard, yet not with the number pad to the right. After all, these reference the exact same key-codes, don't they?)


Mike. :D

phat7
Posts: 179
Joined: Fri 05 Jun 2015, 08:54

#10 Post by phat7 »

Mike Walsh wrote:After all, these reference the exact same key-codes, don't they?
Codes are different. Check with xev.

Post Reply