LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 05-29-2009, 08:26 PM   #1
Unregistered
Member
 
Registered: Apr 2007
Posts: 63

Rep: Reputation: 15
problem with xorg and xmonad in arch linux


Q1) Ctrl-Alt-backspace does not shutdown x, I have to switch to another console and switch back to Ctrl-C even though I have added a serverflags section with the dontzap option into my xorg.conf in accordance with the wiki, how do I solve this problem too?
PS in this case my .xinitrc has the line exec xterm

Q2) I tried putting /usr/bin/xmonad in my xinitrc file and it worked but it gave me an error when I checked the console, what should I do to solve the error?

Code:
Setting master
/home/user/.xmonad/xmonad-i386-linux: executeFile: does not exist (No such file or directory)
Dropping master
Here's my xorg config file

Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
	Option "DontZap" "false"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/100dpi:unscaled"
	FontPath     "/usr/share/fonts/75dpi:unscaled"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
	Load  "record"
	Load  "glx"
	Load  "dri2"
	Load  "dri"
	Load  "dbe"
	Load  "extmod"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	HorizSync     30.0 - 130.0
	VertRefresh   50.0 - 100.0
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
EndSection
 
Old 06-03-2009, 06:33 PM   #2
userlander
Member
 
Registered: Jul 2008
Distribution: arch, debian, pclinuxos
Posts: 59

Rep: Reputation: 16
Idiotic X developers turned off the ctrl+alt+backspace option to satisfy emacs users and a handful of morons who hit ctrl+alt+bkspce "by accident" and lost all their work. 'Option "DontZap" "False"' in xorg.conf worked initially, but they've f-cked it up again so they could be d!cks and feel self-important and powerful. You have to add:

Code:
setxkbmap -option terminate:ctrl_alt_bksp
to your ~/.xinitrc file to regain normal functionality that has worked fine for 99.9% of unix users for decades.

Last edited by userlander; 06-03-2009 at 06:35 PM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xmonad on Slackware vinegaroon Slackware 12 01-31-2010 01:48 PM
install internet or xorg and kde on arch linux Pjotrik Linux - Hardware 2 04-04-2007 10:28 AM
Arch xorg system.. [Newbie] Linux - Newbie 9 06-10-2006 11:23 AM
Xorg , hwd and Arch. [Newbie] Linux - Software 1 06-07-2006 03:59 PM
problem with OpenSSH on arch linux 0.7 Frigolit Linux - Software 2 09-11-2005 01:24 AM


All times are GMT -5. The time now is 06:12 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration