From 1226f6fe697aa9f38d0e25df0e4489f2c1800999 Mon Sep 17 00:00:00 2001 From: Surferlul Date: Thu, 21 Jul 2022 00:09:52 +0200 Subject: [PATCH] removed post file --- _posts/2022-07-18-configure-gdm.md | 61 ------------------------------ assets/css/dark.scss | 9 ----- 2 files changed, 70 deletions(-) delete mode 100644 _posts/2022-07-18-configure-gdm.md delete mode 100644 assets/css/dark.scss diff --git a/_posts/2022-07-18-configure-gdm.md b/_posts/2022-07-18-configure-gdm.md deleted file mode 100644 index bbcb0ab..0000000 --- a/_posts/2022-07-18-configure-gdm.md +++ /dev/null @@ -1,61 +0,0 @@ -# How - -All of the gdm display manager configurations are managed by the gdm user. Usually, options are controlled by obscure config files, and I have always found it to be an annoyance trying to find a way to change settings in gdm (example: try figuring out how to properly change the keyboard layout selection in gdm). - -But since all the settings (which are regular gnome settings) are managed by gdm you can change them by gaining access to the gdm account and launching settings applications (gnome-control-center, gnome-tweaks, dconf-editor, dconf, gsettings, etc...). For some settings, you don't even need desktop access (changing the keyboard layout selection), but for others you do (changing display resolution), so I'll go over two methods. - -# No desktop access - -We can (after providing the gdm user authorization rights) simply execute applications as the gdm user and change settings. - -First, we need to provide authorization rights: - -~~~bash -xhost +SI:localuser:gdm -~~~ - -Then we launch an application: - -~~~bash -sudo -u gdm dbus-launch -# for example: -# launching the settings app -sudo -u gdm dbus-launch gnome-control-center -# launching a shell as the gdm user -sudo -u gdm dbus-launch $SHELL -# you can launch any application as the gdm user from that shell -~~~ - -Now revoke authorization rights again: - -~~~bash -xhost -SI:localuser:gdm -~~~ - -# With desktop access - -You can gain access to an entire gnome desktop as the user gdm. From there you can launch and configure how you want and will gain access to some settings like display resolution - -To gain desktop access the gdm user needs to have a password - -Setting a password for gdm: - -~~~bash -sudo passwd gdm -~~~ - -![password example](https://raw.githubusercontent.com/Surferlul/configuring-gdm/gh-pages/pictures/gdm_password.png) - -Now you can log out of your account and into gdm. You must press the "Not listed?" option in the user overview to log into gdm. - -![Not listed?](https://raw.githubusercontent.com/Surferlul/configuring-gdm/gh-pages/pictures/login_page.png) - -Now enter the username "gdm" and your chosen password to access the desktop. - -![Username](https://raw.githubusercontent.com/Surferlul/configuring-gdm/gh-pages/pictures/uname.png) - -![Password](https://raw.githubusercontent.com/Surferlul/configuring-gdm/gh-pages/pictures/passwd.png) - -![Desktop](https://raw.githubusercontent.com/Surferlul/configuring-gdm/gh-pages/pictures/desktop.png) - -VoilĂ ! No gdm configuration pain anymore. diff --git a/assets/css/dark.scss b/assets/css/dark.scss deleted file mode 100644 index 4a797a0..0000000 --- a/assets/css/dark.scss +++ /dev/null @@ -1,9 +0,0 @@ ---- -# Only the main Sass file needs front matter (the dashes are enough) -search: false ---- - -@charset "utf-8"; - -@import "minimal-mistakes/skins/{{ 'dark' }}"; // skin -@import "minimal-mistakes"; // main partials