LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Setting system wide settings with Xorg and GDM3 (https://www.linuxquestions.org/questions/linux-hardware-18/setting-system-wide-settings-with-xorg-and-gdm3-4175448476/)

hamtavs 02-03-2013 12:00 PM

Setting system wide settings with Xorg and GDM3
 
Hi

I have just installed FC18 with Cinnamon and I want to set the following settings at a system wide level:
  1. swap Caps Lock and Ctrl
  2. have usb mouse be left-handed and touchpad right handed (I'm on a laptop)

So I wrote the following file
Quote:

Originally Posted by /etc/X11/xorg.conf.d/01-myfile.conf
Section "InputClass"
Identifier "Keyboard Setting"
MatchIsKeyboard "yes"
Option "XkbOptions" "ctrl:swapcaps"
EndSection

Section "InputClass"
Identifier "Touchpad right-handed"
MatchIsTouchpad "on"
Option "ButtonMapping" "1 2 3"
EndSection

(note: I want to set the usb mouse orientatation via GUI, so I specify only the settings for the touchpad, which is the one that is known to never change)

But it seems these settings get ignored. Xorg, according to the log files, does seem to read the xorg.conf.d directory though.

I read somewhere gdm may actually ignore Xorg's config files and sets its own.
I could then set those options via gnome3/gdm, however
  1. I want to set these details once for all
  2. I can't find where to set them via Cinnamon.

TIA

pan64 02-04-2013 09:11 AM

yes, probably those settings can be adjusted by the users - and already set, therefore a global default has no any meaning.

hamtavs 02-04-2013 03:47 PM

Thank you, but how can I actually do it?

There seems to be no option to set either of the two via gui. I can't swap caps lock and ctrl nor I can set different configurations for different pointing devices.

pan64 02-05-2013 12:38 AM

in gnome 2 I have a control panel, hardware, mouse settings and in that dialog I can select left handed or right handed mouse. I do not know how is is saved, probably somewhere inside ~/.gnome2 .
Also you can set keyboard layout in control panel. I do not know if that settings are available, probably you need to define your own layout.


All times are GMT -5. The time now is 11:54 PM.