Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 09-15-2005, 07:40 PM   #1
LQ Newbie
Registered: Jun 2003
Location: England
Distribution: Debian Sarge
Posts: 17

Rep: Reputation: 0
.xinitrc and .xsession ignored

I'm running Debian Etch, my window manager is fluxbox and my display manager is gdm.

I want to run some commands when I log in so I've tried adding the commands to both .xinitrc and .xsession but they both seem to get ignored.

An example of the files would be:


xset b off &
xset s off &
xset s noblank &
I've tried prefixing each line with 'exec' and tried removing the & from each line but still the files seem to be ignored. Am I missing something obvious or just doing something wrong?

Old 09-16-2005, 05:41 PM   #2
LQ Newbie
Registered: Aug 2005
Posts: 5

Rep: Reputation: 0
i beleive xinitrc only gets called upon if your using startx to load x n fluxbox your better off using the ~/.fluxbox/apps

add these lines to that file

[startup] {xset b off &}

now im not sure what exactly 'xset b off' does but this should work for programs you want to start with fluxbox.

anywho try that n see if it works
Old 09-18-2005, 12:11 PM   #3
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
Is your .xsession executable?

gdm looks for ~/.xsession and executes it, if possilbe, AFAIR (I have sarge, though). In my setup it is .xsession which actually starts WM. Have you figured out how fluxbox is started in your case?

BTW, you may call login-shell in .xsession if you want as

#!/bin/bash --login



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

Similar Threads
Thread Thread Starter Forum Replies Last Post
.xinitrc vs. .Xdefaults vs .Xsession frankie_DJ Linux - Newbie 4 08-02-2005 05:39 AM
Make KDM run .xinitrc or .xsession asrisk Linux - Newbie 7 08-01-2005 06:20 AM
.Xsession .xinitrc a10392 Linux - Newbie 2 12-10-2004 02:34 PM
.xinitrc/.xsession - Where are they? Fluxbox the_rydster Slackware 3 03-07-2004 01:45 PM
No .Xdefaults, .xsession, .xinitrc madchmst82 Linux - Newbie 3 09-23-2003 07:05 PM > Forums > Linux Forums > Linux - Distributions > Debian

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

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