Emptty: A Very Simple Display Manager

!
Warning: This post is over 365 days old. The information may be out of date.

Table of Contents

description

emptty itself is cli based, this is what makes it quite simple to operate, emptty is a simple display manager, emptty is written in the go language. but there are some configurations that we must determine first, so that emptty can work as we want.

Installing

unfortunately emptty is only available in the aur and void repos. but calm down you can install emptty via cloning.

type the following command

$ git clone https://github.com/tvrzna/emptty.git
$ cd emptty
$ sudo make Makefile

Configuring

  • then type the following command to find out that emptty is installed correctly

    $ emptty -v
    
  • now we will edit the emptty config file in /etc/emptty/conf.

    $ sudo nano /etc/emptty/conf
    

    ini adalah contoh file config saya.

    # TTY, where emptty will start.
    TTY_NUMBER=2
    
    # Enables switching to defined TTY number.
    SWITCH_TTY=true
    
    # Enables printing of /etc/issue in daemon mode.
    PRINT_ISSUE=true
    # TTY, where emptty will start.
    TTY_NUMBER=2
    
    # Enables switching to defined TTY number.
    SWITCH_TTY=true
    
    # Enables printing of /etc/issue in daemon mode.
    PRINT_ISSUE=true
    
    # Preselected user, if AUTOLOGIN is enabled, this user is logged in.
    DEFAULT_USER=noval
    
    # Enables Autologin, if DEFAULT_USER is defined and part of nopasswdlogin group. Possible values are "true" or "false".
    AUTOLOGIN=false
    
    # The default session used, if Autologin is enabled. If session is not found in list of session, it proceeds to manual selection.
    AUTOLOGIN_SESSION=bspwm
    
    # Default LANG, if user does not have set own in init script.
    #LANG=en_US.UTF-8
    
    # Starts desktop with calling "dbus-launch".
    DBUS_LAUNCH=true
    
    # Starts Xorg desktop with calling "~/.xinitrc" script, if is true, file exists and selected WM/DE is Xorg session, it overrides DBUS_LAUNCH.
    XINITRC_LAUNCH=false
    
    # Prints available WM/DE each on new line instead of printing on single line.
    VERTICAL_SELECTION=false
    
  • and lastly, to enable emptty on boot, type the following command in the shell.

    systemctl enable emptty.service
    

    the above command is only intended for systemd users

    emptty has provided various init scripts in its source folder and all of them will be installed automatically when you install emptty via script makefile. you just need to type the following command to activate emptty.

    sudo rc-update add emptty
    
  • Reboot

Closing

The best software documentation must come from the software developer.


Related Posts