Manjaro Translations:LXDM Configuration/3/en

Translations:LXDM Configuration/3/en

From Manjaro
Revision as of 17:45, 7 September 2021 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Optional: Enable Timeout Auto-Login

Info
The basic auto-login feature itself must also be enabled to enable this feature in turn. In addition, this feature also only works upon first booting up into Manjaro.

In addition to bypassing the login screen completely, it is also possible to be automatically logged in after waiting a certain period of time as well. In this instance, after booting into the login screen, it will wait for a set period of time before automatically logging you in. This is set in the following section, located near the top of the configuration file:

/etc/lxdm/lxdm.conf
## uncomment and set timeout to enable timeout autologin,
## the value should >=5
#timeout=10
  1. Remove the hash ('#') from the beginning of timeout= to activate it, and
  2. Set the number of seconds to wait at the login screen, if different from the default value of 10. As stated above the command, the number of seconds specified must be no less than 5.

As an example, LXDM has been configured below to enable timeout auto login after waiting 30 seconds:

/etc/lxdm/lxdm.conf
## uncomment and set timeout to enable timeout autologin,
## the value should >=5
timeout=30

Once your amendments have been completed, you can save your changes and close the configuration file by:

  • nano: Press CTRL and 'x' to exit, 'y' to save, and <enter> to finish, or
  • gedit: Select the 'save' option and then close the window.

Reboot your system for the changes to take effect.

Disable Auto-Login

To restore the login screen, edit the LXDM configuration file once again and comment out the lines beginning with autologin= and session=. An example has provided below.

/etc/lxdm/lxdm.conf
[base]
## uncomment and set autologin username to enable autologin
#session=/usr/bin/startxfce4
...
## default session or desktop used when no systemwide config
#session=/usr/bin/openbox

Once your amendments have been completed save your changes and close the configuration file by:

  • nano: Press CTRL and 'x' to exit, 'y' to save, and <enter> to finish, or
  • gedit: Select the 'save' option and then close the window.

Changing The Background Image

Info
As illustrated below, using the File Manager can make this task much simplier and easier, particularly for new users. Please note that Linux is also case-sensitive so ensure that upper and lower case letters are used correctly.

Once your chosen desktop environmet has been downloaded (e.g. a .png or .jpg image file), it can be set in the following section, located near the top of the configuration file:

/etc/lxdm/lxdm.conf
## background of the greeter
# bg=/usr/share/backgrounds/default.png
Path to background
As illustrated, it will be necessary to specify the exact location of the background image to use. Although it is possible to copy the new background images to the existing backgrounds folder using Root privilages, in this instance a new folder location will be specified:
  1. Open your file manager and locate the folder containing the desired background image. The full location should then be listed in the address bar (e.g. in this instance it is /home/carl/Pictures)
  2. Remove the hash ('#') from the beginning of bg= to activate it
  3. Remove the existing location and image file specified after the bg= command (e.g. bg=/usr/share/backgrounds/default.png)
  4. Enter the new location of the image to use after the bg= command - by either manually typing it in or copying and pasting it from the address bar of the file manager - and ensure that it ends with a forwards slash (e.g. /home/carl/Pictures/).
  5. After the forwards slash, enter the full name of the image you wish to use, including the file type extension (e.g. /home/carl/Pictures/abstractgreen.jpg).
new background image
As an example, the author has activated the ability to set backgrounds, and used a background image (abstractgreen.jpg) located in their Pictures folder. Again, note the correct use of capitalisation where required (e.g. Pictures):
/etc/lxdm/lxdm.conf
## background of the greeter
bg=/home/carl/Pictures/abstractgreen.jpg

Once your amendments have been completed, you can save your changes and close the configuration file by:

  • nano: Press CTRL and 'x' to exit, 'y' to save, and <enter> to finish, or
  • gedit: Select the 'save' option and then close the window.

The change will be immediate, and may be viewed by simply logging out.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.