Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to swich grid workspaces horizontally on Ubuntu18.04 [closed]

Tags:

ubuntu-18.04

I have successfully changed the vertical list workspaces to grid workspaces on Ubuntu18.04 by following command and application.

sudo apt install gnome-tweaks
gnome-tweaks

gnome-tweaks -> Extensions -> workspace grid

However, I cannot how to change the keyboard setting of switching the workspaces.
I can use super+ctrl+j or k as the default settings, but I cannnot move the workspace horizontally.

Could you tell me how to solve this problem?
I think that one of possible solutions is assign new keyboardshortcut as command which switchs work spaces but I cannnot find this command.

(Please excuse my poor English.)

like image 573
Ryota Katsuki Avatar asked Jul 06 '18 11:07

Ryota Katsuki


1 Answers

Open your terminal and type the following for horizontal switching:

$ gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-right "['<Shift><Ctrl><Alt>Right']"
$ gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-left "['<Shift><Ctrl><Alt>Left']"

and for vertical switching:

$ gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-up "['<Shift><Ctrl><Alt>Up']"
$ gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-down "['<Shift><Ctrl><Alt>Down']"
like image 162
user10373073 Avatar answered Jan 26 '23 05:01

user10373073