LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-28-2003, 01:43 AM   #1
yenonn
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Redhat 8.0, 9, Slackware 9.1
Posts: 511

Rep: Reputation: 30
default x windows


hi,

what is the file that determine which WM i will be loaded when i prompt startx?
the default WM will be gnome. can i change it to fluxbox instead?
thanks.
 
Old 11-28-2003, 01:49 AM   #2
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Yep,and Slackware makes that very easy. Have a look in /etc/X11/xinit. Just change the xinitrc symlink and go. If using SLackware 9.1, it should look something like this:
Quote:
root@slack:/etc/X11/xinit# ls -l
total 36
-rw-r--r-- 1 root root 321 Sep 16 17:16 README.Xmodmap
lrwxrwxrwx 1 root root 11 Oct 10 17:21 xinitrc -> xinitrc.kde*
-rwxr-xr-x 1 root root 556 Mar 16 2003 xinitrc.blackbox*
-rwxr-xr-x 1 root root 555 Mar 16 2003 xinitrc.fluxbox*
-rwxr-xr-x 1 root root 559 Jun 5 19:15 xinitrc.fvwm2*
-rwxr-xr-x 1 root root 539 Feb 21 2002 xinitrc.fvwm95*
-rwxr-xr-x 1 root root 630 Sep 10 16:27 xinitrc.gnome*
-rwxr-xr-x 1 root root 536 Sep 14 22:29 xinitrc.kde*
-r--r--r-- 1 root root 664 Sep 16 17:15 xinitrc.twm
-rwxr-xr-x 1 root root 788 Feb 11 2003 xinitrc.wmaker*
lrwxrwxrwx 1 root root 16 Nov 4 17:01 xinitrc.xfce -> ../xfce4/xinitrc*
rm xinitrc
ln -s xinitrc.fluxbox xinitrc



Last edited by DaHammer; 11-28-2003 at 01:51 AM.
 
Old 11-28-2003, 02:12 AM   #3
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31
or you use "xwmconfig" to do that for you
 
Old 11-28-2003, 10:03 AM   #4
karthikrr
Member
 
Registered: Nov 2003
Location: India
Distribution: Slackware 13.0 32-bit
Posts: 129

Rep: Reputation: 16
ooh, just remembered this weird problem with xinitrc!!!

sometime back I moved from KDE to xfce... removed the original xinitrc link, made a new link.... a few days back, I tried to shift over to Fluxbox.... now, no matter how many times I change the link to the fluxbox xinit, startx STILL takes me into xfce!!! I get into flux by using startx /etc/X11/xinit/xinitrc.fluxbox (or something like that... :-) ) any ideas why? Im doing this is as root, and a ls -l confirms the new link!!! I have NO IDEA why this is happening....
 
  


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
Windows Manager default ToothlessRebel Linux - Newbie 3 07-25-2004 11:16 PM
anyway to set windows as default OS? PCfixinman2025 Linspire/Freespire 2 06-04-2004 08:23 PM
Default Windows Manager foniks Linux - Newbie 3 09-20-2003 08:01 AM
Loadind Windows as default djhipflask Linux - Newbie 2 04-25-2002 01:27 AM
How to change default OS to Windows arraman Linux - General 1 06-11-2001 09:06 AM

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

All times are GMT -5. The time now is 08:25 PM.

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