Skip to content
Snippets Groups Projects
help 2.16 KiB
Newer Older
  • Learn to ignore specific revisions
  • Eric Vidal's avatar
    Eric Vidal committed
    Modules name:
    
    Eric Vidal's avatar
    Eric Vidal committed
    Version: 
    
    Eric Vidal's avatar
    Eric Vidal committed
    	- 0.2.1
    
    Eric Vidal's avatar
    Eric Vidal committed
    Description: 
    	- This module configure a set of services for an <user> to properly 
    	deal with Display Manager(a.k.a DM).
    Module dependencies: 
    	- none
    Optional module dependencies: 
    	- none
    Service Dependencies: 
    	- none
    Optional service dependencies: 
    	- sddm-66serv
    	- dbus-66serv
    
    Eric Vidal's avatar
    Eric Vidal committed
    	- consolekit-66serv
    
    Eric Vidal's avatar
    Eric Vidal committed
    Package dependencies:
    	- none
    Optional package dependencies: 
    	- consolekit
    	- sddm
    	- dbus
    
    ------------------------------------------------------------------------
    
    Installation directive:
    
    
    	# 66-mods.sh boot-user@<user>
    	# 66-enable boot-user@<user>
    
    Eric Vidal's avatar
    Eric Vidal committed
    	
    
    Eric Vidal's avatar
    Eric Vidal committed
    		- dbus daemon should be enabled and up before
    		starting the module on a root tree.
    
    		- dbus-session@<user> should be enabled on a <user> tree. 
    
    Eric Vidal's avatar
    Eric Vidal committed
    		It will be brought up at the start of the session. 
    	
    	Note: .xinitrc file execute an JWM session by default. Edit it 
    	to suit your needs.
    		
    ------------------------------------------------------------------------
    
    Installed file: 
    	- ${HOME}/.xsession file. 
    	An already existing file is renamed to ${HOME}/.xsession.bak.
    	- ${HOME}/.xinitrc file.
    	An already existing file is renamad to ${HOME}/.xinitrc.bak.
    	
    Service:
    	- All-<user>
    	- mount-run-<user>
    	- setenv-<user>
    	- scandir-<user>
    
    Runtime: 
    	- It mount /run/user/<uid> of user if doesn't exist.
    	- It define well-know variable and write it at
    
    	${HOME}/.66/conf/boot-user/boot-user-<user>.conf (see below).
    	This file is created at every start of the setenv-<user> service.
    	- It create a scandir as <user> as owner merging the environment from
    	the directory ${HOME}/.66/conf/boot-user/ and start it.
    
    Eric Vidal's avatar
    Eric Vidal committed
    
    
    Example of ${HOME}/.66/conf/boot-user/boot-user@<user>.conf file:
    
    Eric Vidal's avatar
    Eric Vidal committed
    
    
    Eric Vidal's avatar
    Eric Vidal committed
    HOME=/home/oblive
    
    Eric Vidal's avatar
    Eric Vidal committed
    LOGNAME=obarun
    PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin
    SHELL=/usr/bin/zsh
    
    Eric Vidal's avatar
    Eric Vidal committed
    XDG_RUNTIME_DIR=/run/user/1000
    
    Eric Vidal's avatar
    Eric Vidal committed
    XDG_CACHE_HOME=/home/oblive/.cache
    XDG_CONFIG_HOME=/home/oblive/.config
    XDG_DATA_HOME=/home/oblive/.local/share
    XDG_DATA_DIRS=/home/oblive/.local/share:/usr/local/share:/usr/share
    
    Eric Vidal's avatar
    Eric Vidal committed
    XDG_SESSION_CLASS=user
    
    
    Note: you can set any new variables creating a new file containing one or 
    multiple key=value pair into the directory ${HOME}/.66/conf/boot-user/