Manjaro Difference between pages "LXDM Configuration" and "Enable Touchpad Horizontal and Vertical Scrolling"

Difference between pages "LXDM Configuration" and "Enable Touchpad Horizontal and Vertical Scrolling"

From Manjaro
(Difference between pages)
imported>Verityproductions
 
imported>Quantum
 
Line 1: Line 1:
= Overview =
With the exception of the NET-edition, Manjaro 0.8.1 onwards uses a lightweight display / login manager called ''LXDM'' by default. LXDM is responsible for providing the login screen, where your preferred language, keyboard layout, and desktop environment may be selected for your personal user account(s). It also functions as a protective security barrier to prevent unauthorised access to your system. However, some users may prefer to bypass the login screen to boot straight into their desktop environment without entering a password.


In order to enable the ''click on tap'' and ''vertical and horizonal scrolling'' functions for your touchpad, it will be necessary first open your terminal in order to open and then edit the '''synaptics configuration file'''.


== Edit the LXDM Configuration File ==
= Open the Synaptics Configuration File =


To enable this, you must first open up your terminal in order to manually edit the LXDM configuration file. The syntax of the command to edit the LXDM configuration file is:
The syntax the command to edit the synaptic configuration file is:
sudo [text editor] /etc/lxdm/lxdm.conf


sudo [text editor] /etc/X11/xorg.conf.d/10-synaptics.conf


To use ''nano'' (the default text-based terminal editor) enter the command:
sudo nano /etc/lxdm/lxdm.conf


To use nano (the default text-based terminal editor) enter the command:


Otherwise, you may find it easier to read and edit the file by using ''gedit'', which will open the configuration file as if it were a document. To use gedit instead, enter the command:
  sudo nano /etc/X11/xorg.conf.d/10-synaptics.conf  
  sudo gedit /etc/lxdm/lxdm.conf




== Set the User ==
Otherwise, you may find it easier to read and edit the file by using gedit, which will open the configuration file as if it were a document. To use gedit instead, enter the command:
Having opened the configuration file, the first step is to set your personal account to be automatically logged in. To do this, under the heading '''## uncomment and set autologin username to enable autologin''':


'''1.''' remove the hash ('#') from the beginning of '''autologin='''
sudo gedit /etc/X11/xorg.conf.d/10-synaptics.conf


'''2.''' remove any text after '''autologin=''' (e.g. dgod)


'''3.''' add the name of your personal account at the end of it
= Enable Click on Tap, Vertical and Horizontal Scrolling =


Once the synaptic configuration file has been opened, replace the content of this file with the following:


As an example, LXDM has been configured below to enable a personal user account named 'carl' to be logged in automatically:
  Section "InputClass"
   
Identifier "touchpad catchall"
[base]
Driver "synaptics"
## uncomment and set autologin username to enable autologin
MatchIsTouchpad "on"
'''autologin=<font color ="green">carl</font color>'''
Option "TapButton1" "1"
 
Option "VertEdgeScroll" "1"
 
Option "HorizEdgeScroll" "1"
Ensure that there are no spaces between the autologin= command and the name of your personal user account. Once complete, the second and final step of setting the default desktop environment to be automatically started must be undertaken.
  EndSection
 
 
== Set the Desktop Environment ==
It is necessary to explicitly state which desktop environment is to be booted into, even if only one is installed on your system. To do this, under the heading '''## default session or desktop used when no systemwide config''':
 
'''1.''' remove the hash ('#') from the beginning of '''session='''
 
'''2.''' remove 'lxdm' from '''session=/usr/bin/<font color ="red">lxdm'''</font color>, and
 
'''3.''' add the command to start your chosen / installed desktop envrionment at the end of it
 
 
* '''To start XFCE''':
## default session or desktop used when no systemwide config
session=/usr/bin/<font color ="green">startxfce4</font color>
 
 
* '''To start KDE''':
## default session or desktop used when no systemwide config
session=/usr/bin/<font color ="green">startkde</font color>
 
 
* '''To start Gnome''':
## default session or desktop used when no systemwide config
session=/usr/bin/<font color ="green">gnome-session</font color>
 
 
* '''To start Cinnamon''':
## default session or desktop used when no systemwide config
session=/usr/bin/<font color ="green">gnome-session-cinnamon</font color>
 
 
* '''To start Razor-QT''':
## default session or desktop used when no systemwide config
session=/usr/bin/<font color ="green">razor-session</font color>
 
 
* '''To start Openbox''':
## default session or desktop used when no systemwide config
session=/usr/bin/<font color ="green">openbox</font color>
 
 
Once your amendments have been completed save your changes and close the configuration 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.
 
 
= Restore the Login Screen =
 
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.
 
[base]
## uncomment and set autologin username to enable autologin
'''<font color ="green">#</font color>'''session=/usr/bin/startxfce4
   
...
## default session or desktop used when no systemwide config
'''<font color ="green">#</font color>'''session=/usr/bin/openbox




Line 118: Line 39:




Reboot your system for the changes to take effect.
[[Category:Contents Page]]
 
 
[[Category:Customisation and Configuration]]

Revision as of 21:04, 17 July 2013

In order to enable the click on tap and vertical and horizonal scrolling functions for your touchpad, it will be necessary first open your terminal in order to open and then edit the synaptics configuration file.

Open the Synaptics Configuration File

The syntax the command to edit the synaptic configuration file is:

sudo [text editor] /etc/X11/xorg.conf.d/10-synaptics.conf


To use nano (the default text-based terminal editor) enter the command:

sudo nano /etc/X11/xorg.conf.d/10-synaptics.conf 


Otherwise, you may find it easier to read and edit the file by using gedit, which will open the configuration file as if it were a document. To use gedit instead, enter the command:

sudo gedit /etc/X11/xorg.conf.d/10-synaptics.conf 


Enable Click on Tap, Vertical and Horizontal Scrolling

Once the synaptic configuration file has been opened, replace the content of this file with the following:

Section "InputClass"
	Identifier "touchpad catchall"
	Driver "synaptics"
	MatchIsTouchpad "on"
	Option "TapButton1" "1"
	Option "VertEdgeScroll" "1"
	Option "HorizEdgeScroll" "1"
EndSection


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.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.