LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-28-2003, 04:55 AM   #1
Duukkis
Member
 
Registered: May 2003
Location: Finland
Distribution: Debian Sarge
Posts: 75

Rep: Reputation: 15
Question What the /etc/X11/xinit/xinitrc file should look like?


The problem is that fluxbox window manager doesn't run but kde runs. I use X Desktop Manager (xdm) in text mode. I have added the following text to my xinitrc file's end:

exec /usr/bin/fluxbox

So startx should launch it and run fluxbox or Am I wrong? The file looks like this:

#!/bin/sh
# $Xorg: xinitrc.ccp, v 1.3 2000/08/17 19:54:30 cpqbld Exp $

# /etc/X11/xinit/xinitrc
#
# global xinitrc file, used by all X sessions started by xinit (startx)

# invoke global X session script
. /etc/X11/Xsession
#
# start the window manager
exec /usr/bin/fluxbox

What is wrong in this file? Should I add something to it or should I edit something other file?
 
Old 05-28-2003, 06:49 AM   #2
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Rep: Reputation: 30
here is mine
Code:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

# start the window manager:
/home/erling/programmer/gkrellm-2.1.10/src/gkrellm &
/usr/local/bin/lineakd -b &
exec blackbox
cheers

erling
 
Old 05-28-2003, 01:52 PM   #3
Duukkis
Member
 
Registered: May 2003
Location: Finland
Distribution: Debian Sarge
Posts: 75

Original Poster
Rep: Reputation: 15
What those lines do?
Code:
/home/erling/programmer/gkrellm-2.1.10/src/gkrellm &
/usr/local/bin/lineakd -b &
Do I need them to boot fluxbox?
 
Old 05-28-2003, 02:34 PM   #4
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Rep: Reputation: 30
lineak is for my multimedia keys just delete the line
because you dont have it on your comp
and gkrellm is another app just delete the line

cheers

erling
 
Old 05-29-2003, 04:07 AM   #5
Duukkis
Member
 
Registered: May 2003
Location: Finland
Distribution: Debian Sarge
Posts: 75

Original Poster
Rep: Reputation: 15
Should I add those other lines too and what they do?
 
Old 05-29-2003, 08:08 AM   #6
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Rep: Reputation: 30
add the others but change exec blackbox to /path/to/fluxbox
 
Old 05-29-2003, 08:56 AM   #7
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
here's my .xinitrc
guess what it does

blackbox
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/X11/xinit/.Xmodmap; run level 4 won't init script Potatopopper Slackware 5 11-27-2005 07:37 PM
xinit file - how do I load nvidia-settings on boot? Joe Belmaati Linux - Newbie 0 11-16-2004 12:56 AM
.xinitrc - root is the only one with this file N_A_J_M Linux - General 7 09-30-2004 06:43 PM
where is .xinitrc file in suse? ksgill Linux - Newbie 1 07-15-2004 10:38 PM
xinit / .xinitrc / xdm / fluxbox kater Slackware 0 02-28-2003 06:03 PM


All times are GMT -5. The time now is 05:57 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration