From 84e68f1e46e4aedc1ef97ab3abc48b37e4b752d1 Mon Sep 17 00:00:00 2001 From: James Tomasino Date: Sun, 16 Aug 2020 21:08:47 +0000 Subject: [PATCH] gnome workspaces --- atom.xml | 9 ++++++++- index.gmi | 2 +- journal/20200816-gnome-workspaces.gmi | 28 +++++++++++++++++++++++++++ journal/index.gmi | 1 + 4 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 journal/20200816-gnome-workspaces.gmi diff --git a/atom.xml b/atom.xml index 6b1a369..a5f5264 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ fox in black - 2020-08-13T00:00:00Z + 2020-08-16T00:00:00Z gemini://tilde.black/users/fox/ @@ -12,6 +12,13 @@ gemini://tilde.black/users/fox/about.txt + + Gnome Workspaces + + gemini://tilde.black/users/fox/journal/20200816-gnome-workspaces.gmi + 2020-08-16T00:00:00Z + + Keyboard Layouts (Re: Cadey) diff --git a/index.gmi b/index.gmi index 99dfb98..c8c9c37 100644 --- a/index.gmi +++ b/index.gmi @@ -22,9 +22,9 @@ Gemini is a young protocol with great potential. People are flocking to the proj ## Recent Journal Entries => /users/fox/journal/ All Entries -=> /users/fox/journal/20200708-black-on-samizdat.gmi 2020-07-08 Black on Samizdat => /users/fox/journal/20200716-i-ching.gmi 2020-07-16 I Ching => /users/fox/journal/20200813-keyboard-layouts.gmi 2020-08-13 Keyboard Layouts (Re: Cadey) +=> /users/fox/journal/20200816-gnome-workspaces.gmi 2020-08-16 Gnome Workspaces ## My other projects diff --git a/journal/20200816-gnome-workspaces.gmi b/journal/20200816-gnome-workspaces.gmi new file mode 100644 index 0000000..97f6b8a --- /dev/null +++ b/journal/20200816-gnome-workspaces.gmi @@ -0,0 +1,28 @@ +# My Gnome Workspaces Setup + +I got used to using virtual desktops / workspaces on i3wm and prefer a technique where I keep certain apps in certain locations. I can quickly switch to the right workspace by using Super+# where # is 0-9. Moving a window to the correct workspace is Shift+Super+#. Here's a quick overview of how I configure that. + +* In settings, set workspaces to fixed number at 10 +* Install Gnome Widgets related to Workspaces: Auto Move Windows, Disable Workspace Switch Animation + +## Unset Super+# from launching apps + +```bash +for i in {1..10}; do gsettings set "org.gnome.shell.extensions.dash-to-dock" "app-hotkey-$i" "[]"; done +``` + +## Rebind Super+# & Shift+Super+# + +```bash +for i in {1..9}; do gsettings set "org.gnome.desktop.wm.keybindings" "switch-to-workspace-$i" "['$i']"; done +for i in {1..9}; do gsettings set "org.gnome.desktop.wm.keybindings" "move-to-workspace-$i" "['$i']"; done +gsettings set "org.gnome.desktop.wm.keybindings" "switch-to-workspace-10" "['0']" +gsettings set "org.gnome.desktop.wm.keybindings" "move-to-workspace-10" "['0']" +``` + + +Originally Published 2020-08-16 at: +gemini://tilde.black/users/fox/journal/20200816-gnome-workspaces.gmi + +If you have questions or thoughts to add please send me a link to your response. +=> /users/fox/about.txt Contact Information diff --git a/journal/index.gmi b/journal/index.gmi index eb84179..505ccf7 100644 --- a/journal/index.gmi +++ b/journal/index.gmi @@ -11,3 +11,4 @@ => /users/fox/journal/20200708-black-on-samizdat.gmi 2020-07-08 Black on Samizdat => /users/fox/journal/20200716-i-ching.gmi 2020-07-16 I Ching => /users/fox/journal/20200813-keyboard-layouts.gmi 2020-08-13 Keyboard Layouts (Re: Cadey) +=> /users/fox/journal/20200816-gnome-workspaces.gmi 2020-08-16 Gnome Workspaces