aboutsummaryrefslogtreecommitdiff
path: root/content/blog/2022-10-30-linux-display-manager.org
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2025-11-11 22:49:13 -0600
committerChristian Cleberg <[email protected]>2025-11-11 22:49:13 -0600
commit51a7a02f0c96d49b68fbcc155414c218207fa270 (patch)
tree845af8aad0e8769352efc02fcd1044eed9cc1ec1 /content/blog/2022-10-30-linux-display-manager.org
parent7d3e80ebf1dc770eac0e21890b74f18ba2d15a6b (diff)
downloadcleberg.net-51a7a02f0c96d49b68fbcc155414c218207fa270.tar.gz
cleberg.net-51a7a02f0c96d49b68fbcc155414c218207fa270.tar.bz2
cleberg.net-51a7a02f0c96d49b68fbcc155414c218207fa270.zip
fix grammar in 2022 posts
Diffstat (limited to 'content/blog/2022-10-30-linux-display-manager.org')
-rw-r--r--content/blog/2022-10-30-linux-display-manager.org45
1 files changed, 21 insertions, 24 deletions
diff --git a/content/blog/2022-10-30-linux-display-manager.org b/content/blog/2022-10-30-linux-display-manager.org
index c749a22..4dd9b22 100644
--- a/content/blog/2022-10-30-linux-display-manager.org
+++ b/content/blog/2022-10-30-linux-display-manager.org
@@ -5,18 +5,16 @@
* Display Manager Services
-In order to change the
-[[https://en.wikipedia.org/wiki/Display_manager][display manager]] on
-Void Linux - or any other Linux distro - you need to identify the
-currently enabled display manager.
+In order to change the [[https://en.wikipedia.org/wiki/Display_manager][display manager]] on Void Linux - or any other Linux
+distribution - you need to identify the currently enabled display manager.
** Disabling the Current Display Manager
-Void Linux only has one ISO available for download with a pre-built
-display manager at the time of this post: the XFCE ISO. If you've
-installed this version, the pre-assigned display manager is =lxdm=. If
-you installed another display manager, replace =lxdm= in the following
-command with the display manager you have installed.
+Void Linux only has one optical disc image (ISO) available for download with a
+pre-built display manager at the time of this post: the XFCE ISO. If you've
+installed this version, the pre-assigned display manager is =lxdm=. If you
+installed another display manager, replace =lxdm= in the following command with
+the display manager you have installed.
To disable =lxdm=, simply remove the service symlink:
@@ -26,9 +24,9 @@ sudo rm /var/service/lxdm
** Enabling a New Display Manager
-If you want to enable a new display manager, you can do so after =lxdm=
-is disabled. Make sure to replace =<new_display_manager>= with your new
-DM, such as =gdm=, =xdm=, etc.
+If you want to enable a new display manager, you can do so after =lxdm= is
+disabled. Make sure to replace =<new_display_manager>= with your new DM, such as
+=gdm=, =xdm=, etc.
#+begin_src sh
sudo ln -s /etc/sv/<new_display_manager> /var/service
@@ -37,8 +35,8 @@ sudo ln -s /etc/sv/<new_display_manager> /var/service
* Set Up =.xinitrc=
Depending on your setup, you may need to create a few X files, such as
-=~/.xinitrc=. For my personal set-up, I created this file to launch the
-i3wm as my desktop.
+=~/.xinitrc=. For my personal set-up, I created this file to launch the i3wm as
+my desktop.
#+begin_src sh
nano ~/.xinitrc
@@ -50,21 +48,20 @@ nano ~/.xinitrc
exec i3
#+end_src
-If you run a desktop other than i3, simply replace =i3= with the shell
-command that launches that desktop.
+If you run a desktop other than i3, simply replace =i3= with the shell command
+that launches that desktop.
* Set Up Your Shell Profile
-Finally, in order to automatically launch an X session upon login, you
-will need to edit the =.bash_profile= (bash) or =.zprofile= (zsh) files
-for your shell:
+Finally, in order to automatically launch an X session upon login, you will need
+to edit the =.bash_profile= (bash) or =.zprofile= (zsh) files for your shell:
#+begin_src sh
nano ~/.zprofile
#+end_src
-Add the following snippet to the end of the shell profile file. This
-will execute the =startx= command upon login.
+Add the following snippet to the end of the shell profile file. This will
+execute the =startx= command upon login.
#+begin_src sh
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
@@ -72,6 +69,6 @@ if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
fi
#+end_src
-Alternatively, you can ignore this step and simply choose to manually
-execute =startx= upon login. This can be useful if you have issues with
-your desktop or like to manually launch different desktops by choice.
+Alternatively, you can ignore this step and simply choose to manually execute
+=startx= upon login. This can be useful if you have issues with your desktop or
+like to manually launch different desktops by choice.