LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-29-2004, 01:51 PM   #1
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Default xinitrc please


I appear to have lost the default xinitrc file found in /etc/X11/xinit/

I've got all the WM-specific ones, but not the one that doesn't start up a WM along with X.

Can somebody post the default contents of /etc/X11/xinit/xinitrc for me please?

Cheers!
 
Old 06-29-2004, 01:59 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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:
startfluxbox
Just remove the last line to suit your config
 
Old 06-29-2004, 02:46 PM   #3
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Original Poster
Rep: Reputation: 48
That's what I've got, except for the last line, which has FVWM2 in it.

Trouble is, when somebody logs in to Gnome or KDE, when they quit out, it launches FVWM2 instead of returning to the login prompt. Which is annoying. Thought this might be the problem. Guess it isn't tho..
 
Old 06-29-2004, 05:15 PM   #4
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Well, for me xinitrc just points to xinitrc.xfce, so I don't know....
 
  


Reply



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
set default sh and xinitrc problems provkitir Debian 3 01-20-2005 10:12 PM
Could I .xinitrc for this.... JROCK1980 Linux - Software 5 02-17-2004 05:57 PM
.xinitrc unimaginative Linux - Newbie 1 01-03-2004 10:53 PM
.xinitrc nakkaya Linux - Software 1 04-11-2003 03:12 PM
.xinitrc mrsolo Linux - Software 5 10-30-2002 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration