LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-04-2005, 04:13 PM   #1
dustin_wielenga
Member
 
Registered: Jun 2004
Location: Washington, USA
Distribution: SLAX, Ubuntu
Posts: 113

Rep: Reputation: 15
Starting Gnome, XFCE, etc...


I finally installed Slackware (love it) and I choose KDE as my default desktop enviroment. But, if I want to work in/check out Gnome, or other enviroments, how do I start them. I tried typing 'gnome' and 'gnome-help' but I didn't get anywhere.
 
Old 02-04-2005, 04:17 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you could create a .xinitrc file in your home directory, inside of it specify what you want to start for example:

# start of .xinitrc

exec gnome-session # this will start gnome
exec startkde # this will start kde

# end of .xinitrc

now when you type startx it will start whatever session is specified in .xinitrc

or as root run:

pkgtool

and it has a menu where you can change the default environment in there too.
 
Old 02-04-2005, 04:21 PM   #3
dustin_wielenga
Member
 
Registered: Jun 2004
Location: Washington, USA
Distribution: SLAX, Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
Thanks. But, how do you make an .xinitrc file? And by this

exec gnome-session # this will start gnome
exec startkde # this will start kde

can I only have one of those lines? Can't have two right?
 
Old 02-04-2005, 04:30 PM   #4
fatihyasin
LQ Newbie
 
Registered: Oct 2004
Location: Turkey
Distribution: Pardus 2007
Posts: 11

Rep: Reputation: 0
go to /etc/inittab

go to these lines

# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:

Change it to:

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

when you restart your computer, you will able to select desktop environment in graphical mode

or in command prompt type

xwmconfig

select whatever you want, when you start x server, the selected window manager will be started.
 
Old 02-04-2005, 04:34 PM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you can use vi or mcedit (mcedit being the more user friendly of the two, if you have never used vi)(or if your in a gui gedit, kedit, whatever text editor you want) to create it, just make sure it in your home directory and name .xinitrc.

you may only have one "active" entry in it (put a # in front of the others) like this:

*******************

exec gnome-session
#exec startkde
#exec /usr/X11R6/bin/blackbox

*****************************

the # in scripts/files (this is for the bash shell, some others will use different syntax) means a comment, everything after the # on a line will be ignored.

other ways to create the file are:

touch ~/.xinitrc (this will create an empty file called .xinitrc in your home directory)

cat >> .xinitrc << EOF
exec gnome-session
#exec startkde
#exec /usr/X11R6/bin/blackbox
EOF
 
Old 02-04-2005, 04:55 PM   #6
dustin_wielenga
Member
 
Registered: Jun 2004
Location: Washington, USA
Distribution: SLAX, Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
Thanks, I'll try all that stuff and see what's best for me.
 
Old 02-04-2005, 11:11 PM   #7
tuxombie
Member
 
Registered: Oct 2004
Location: Chennai, India
Distribution: Slackware 10, Ubuntu, Debian Sarge
Posts: 53

Rep: Reputation: 15
xwmconfig is the easiest.
 
Old 02-05-2005, 12:30 AM   #8
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
when you boot up and log in, type xwmconfig and you'll get a list of the windows managers...click on the one you wanna use, then type startx and it will start for you...
 
Old 02-05-2005, 04:14 PM   #9
dustin_wielenga
Member
 
Registered: Jun 2004
Location: Washington, USA
Distribution: SLAX, Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
Thanks for all your help. I tried Gnome, didn't like it much at all (maybe I need to add themes or customize it, but think I'll stick with KDE)

Here, getting an answer is no problem. The problem is finding the answer that works best for you. Wow!
 
Old 02-05-2005, 11:23 PM   #10
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
there are multiple ways of doing everything..

if you wan't to try some gnome themes, take a look here:

www.gnome-look.org
 
Old 02-06-2005, 01:25 PM   #11
dustin_wielenga
Member
 
Registered: Jun 2004
Location: Washington, USA
Distribution: SLAX, Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
Neat site, I'll do some looking around. It looks just like KDE-Look.org. Is there a reason for this? I thought that KDE-Look was run by KDE as an official site, but if they are the same, is it a third-party?
 
  


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
Two Copies Of XFCE Starting? douceur Linux - Software 1 06-19-2005 01:05 PM
xfce to gnome Ipolit Debian 5 06-01-2005 04:08 PM
starting xfce problem bruse Linux - Newbie 3 02-22-2005 02:20 AM
Starting apps after starting xfce?? gtgoku Slackware 2 08-21-2004 01:49 PM
Starting XFCE usercsr Slackware - Installation 8 03-20-2004 11:24 PM

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

All times are GMT -5. The time now is 03:05 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