From 207c06093bd68f44cd6b52453955ee717e9dccb0 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Thu, 2 Nov 2023 14:12:00 -0400 Subject: [PATCH] New post about dwm shortcuts in GNOME --- build/atom.xml | 33 ++++++++++++++++-- build/dwm-gnome/index.html | 59 ++++++++++++++++++++++++++++++++ build/index.html | 1 + build/posts.tsv | 1 + build/public/images/gnome-1.png | Bin 0 -> 65135 bytes build/public/images/gnome-2.png | Bin 0 -> 43929 bytes build/public/images/gnome-3.png | Bin 0 -> 49572 bytes posts/dwm-gnome.md | 35 +++++++++++++++++++ public/images/gnome-1.png | Bin 0 -> 65135 bytes public/images/gnome-2.png | Bin 0 -> 43929 bytes public/images/gnome-3.png | Bin 0 -> 49572 bytes 11 files changed, 127 insertions(+), 2 deletions(-) create mode 100644 build/dwm-gnome/index.html create mode 100644 build/public/images/gnome-1.png create mode 100644 build/public/images/gnome-2.png create mode 100644 build/public/images/gnome-3.png create mode 100644 posts/dwm-gnome.md create mode 100644 public/images/gnome-1.png create mode 100644 public/images/gnome-2.png create mode 100644 public/images/gnome-3.png diff --git a/build/atom.xml b/build/atom.xml index 56eebff..e9c53e3 100644 --- a/build/atom.xml +++ b/build/atom.xml @@ -2,9 +2,9 @@ Making software better without sacrificing user experience. - 2023-10-18T09:17:27Z + 2023-11-02T14:09:39Z - + Bradley Taunt https://bt.ht,2022-10-31:default-atom-feed/ @@ -7802,6 +7802,35 @@ for (var i=0; i &lt; inputs.length; i++) { 2019-07-30T10:00:00Z 2019-07-30T10:00:00Z + + Bringing dwm Shortcuts to GNOME + <h1>Bringing dwm Shortcuts to GNOME</h1> +<p>2023-11-02</p> +<p>The <code>dwm</code> window manager is my standard "go-to" for most of my personal laptop environments. For desktops with larger, higher resolution monitors I tend to lean towards using GNOME. The GNOME DE is fairly solid for my own purposes. This article isn't going to deep dive into GNOME itself, but instead highlight some minor configuration changes I make to mimic a few <code>dwm</code> shortcuts.</p> +<p>For reference, I'm running GNOME 45.0 on Ubuntu 23.10</p> +<h2>Setting Up Fixed Workspaces</h2> +<p>When I use <code>dwm</code> I tend to have a hard-set amount of <code>tags</code> to cycle through (normally 4-5). Unfortunately, dynamic rendering is the default for workspaces (ie. tags) in GNOME. For my personal preference I set this setting to <code>fixed</code>. We can achieve this by opening <strong>Settings</strong> &gt; <strong>Multitasking</strong> and selecting "Fixed number of workspaces".</p> +<p><figure> + <img src="/public/images/gnome-1.png" alt="Screenshot of GNOME's Multitasking Settings GUI"> + <figcaption>Screenshot of GNOME's Multitasking Settings GUI</figcaption> +</figure></p> +<h2>Setting Our Keybindings</h2> +<p>Now all that is left is to mimic <code>dwm</code> keyboard shortcuts, in this case: <kbd>ALT</kbd> + <kbd>$num</kbd> for switching between workspaces and <kbd>ALT</kbd> + <kbd>SHIFT</kbd> + <kbd>$num</kbd> for moving windows across workspaces. These keyboard shortcuts can be altered under <strong>Settings</strong> &gt; <strong>Keyboard</strong> &gt; <strong>View and Customize Shortcuts</strong> &gt; <strong>Navigation</strong>.</p> +<p>You'll want to make edits to both the "Switch to workspace <em>n</em>" and "Move window to workspace <em>n</em>". </p> +<p><figure> + <img src="/public/images/gnome-2.png" alt="Screenshot of GNOME's keyboard shortcut GUI"> + <figcaption>Screenshot of GNOME's keyboard shortcut GUI: switch to workspace</figcaption> +</figure></p> +<p><figure> + <img src="/public/images/gnome-3.png" alt="Screenshot of GNOME's keyboard shortcut GUI"> + <figcaption>Screenshot of GNOME's keyboard shortcut GUI: move window to workspace</figcaption> +</figure></p> +<p>That's it. You're free to include even more custom keyboard shortcuts (open web browser, lock screen, hibernate, etc.) but this is a solid starting point. Enjoy tweaking GNOME!</p> + + https://bt.ht/dwm-gnome + 2023-11-02T10:00:00Z + 2023-11-02T10:00:00Z + Dynamic Viewports with CSS <h1>Dynamic Viewports with CSS</h1> diff --git a/build/dwm-gnome/index.html b/build/dwm-gnome/index.html new file mode 100644 index 0000000..8668e33 --- /dev/null +++ b/build/dwm-gnome/index.html @@ -0,0 +1,59 @@ + + + + + + + Bringing dwm Shortcuts to GNOME + + + + + + +
+

Bringing dwm Shortcuts to GNOME

+

2023-11-02

+

The dwm window manager is my standard "go-to" for most of my personal laptop environments. For desktops with larger, higher resolution monitors I tend to lean towards using GNOME. The GNOME DE is fairly solid for my own purposes. This article isn't going to deep dive into GNOME itself, but instead highlight some minor configuration changes I make to mimic a few dwm shortcuts.

+

For reference, I'm running GNOME 45.0 on Ubuntu 23.10

+

Setting Up Fixed Workspaces

+

When I use dwm I tend to have a hard-set amount of tags to cycle through (normally 4-5). Unfortunately, dynamic rendering is the default for workspaces (ie. tags) in GNOME. For my personal preference I set this setting to fixed. We can achieve this by opening Settings > Multitasking and selecting "Fixed number of workspaces".

+

+ Screenshot of GNOME's Multitasking Settings GUI +
Screenshot of GNOME's Multitasking Settings GUI
+

+

Setting Our Keybindings

+

Now all that is left is to mimic dwm keyboard shortcuts, in this case: ALT + $num for switching between workspaces and ALT + SHIFT + $num for moving windows across workspaces. These keyboard shortcuts can be altered under Settings > Keyboard > View and Customize Shortcuts > Navigation.

+

You'll want to make edits to both the "Switch to workspace n" and "Move window to workspace n".

+

+ Screenshot of GNOME's keyboard shortcut GUI +
Screenshot of GNOME's keyboard shortcut GUI: switch to workspace
+

+

+ Screenshot of GNOME's keyboard shortcut GUI +
Screenshot of GNOME's keyboard shortcut GUI: move window to workspace
+

+

That's it. You're free to include even more custom keyboard shortcuts (open web browser, lock screen, hibernate, etc.) but this is a solid starting point. Enjoy tweaking GNOME!

+ \ No newline at end of file diff --git a/build/index.html b/build/index.html index bf0d9c0..6830997 100644 --- a/build/index.html +++ b/build/index.html @@ -26,6 +26,7 @@

Blog Anonymously
A basic starting point for those wishing to blog privately.

Articles & Tutorials