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 07-13-2003, 02:22 PM   #1
WingNut
Member
 
Registered: Jun 2002
Location: Texas
Distribution: Slackware 10.1
Posts: 105

Rep: Reputation: 15
Question changing window managers


I distinctly remember being able to switch window managers under slack 7. BUT I can't remember how I did that. Can anyone enlighten me? Has anyone outthere built or know where to get help for building a menu system for choosing the window manager when your ready to start an X session?
 
Old 07-13-2003, 02:37 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
If you use startx, here is one way.

echo DESKTOP=AfterStep > ~/.desktop;startx
echo DESKTOP=icewm > ~/.desktop;startx
echo DESKTOP=KDE3 > ~/.desktop;startx
echo DESKTOP=WindowMaker > ~/.desktop;startx
echo DESKTOP=Sawfish > ~/.desktop;startx
echo DESKTOP=Gnome > ~/.desktop;startx
echo DESKTOP=XFce > ~/.desktop;startx
echo DESKTOP=BlackBox > ~/.desktop;startx
echo DESKTOP=FluxBox > ~/.desktop;startx
echo DESKTOP=Enlightenment > ~/.desktop;startx
 
Old 07-13-2003, 02:44 PM   #3
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Rep: Reputation: 30
I want to know how to change window managers. I am actually using KDE but I want to try GNOME. How many windows managers come with Slackware? Which one is the best?
 
Old 07-13-2003, 02:50 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I don't know what Slackware includes, but you could find out at the Slackware Linux web site.
 
Old 07-13-2003, 02:52 PM   #5
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Rep: Reputation: 30
How do I change between window managers?
 
Old 07-13-2003, 03:28 PM   #6
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
Do you start KDE by typing startx at the command line, or do you use a graphical login?
 
Old 07-13-2003, 03:35 PM   #7
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Rep: Reputation: 30
I use startx.
 
Old 07-13-2003, 03:38 PM   #8
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
Then you probably have a line to start your window manager in either ~/.xinitrc or ~/.xsession. Just comment out the line that starts KDE, and put one in for the new WM. I have lines for several WM's in my .xinitrc, and I have all of them commented out except for the one that I am currently using.
 
Old 07-13-2003, 04:06 PM   #9
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Rep: Reputation: 30
Where can I find those files so I can change them?
 
Old 07-13-2003, 04:13 PM   #10
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Find, locate, a file manager, any number of ways. The globals are in /etc and yours are in your home directory as Locura said. You have to do 'ls -al' or change a switch on your file manager, probably, as they're hidden.
 
Old 07-13-2003, 04:15 PM   #11
LoungeLizard
Member
 
Registered: Apr 2003
Location: Tampa, Florida
Distribution: Mint 17.2 ,OpenSuse, Kali and Pepermint OS 6
Posts: 276

Rep: Reputation: 30
I cant remember is Slackware supports switchdesk but you can give it a try
type:
switchdesk gnome

but like I said Slackware might not support it I dont remember, and I am not home right now to test it
 
Old 07-13-2003, 06:38 PM   #12
WingNut
Member
 
Registered: Jun 2002
Location: Texas
Distribution: Slackware 10.1
Posts: 105

Original Poster
Rep: Reputation: 15
switchdesk no worky for me.

However I did finaly remember how to turn on graphical log in screen.

edit /etc/inittab to start runlevel 4 instead of 3.

also xwmconfig will allow you to appoint a new default window manager. A little easier than editing files when ever you wish to change.
 
Old 07-13-2003, 06:53 PM   #13
ionstorm
Member
 
Registered: Jul 2003
Location: United Kingdom
Distribution: Slackware 8.0, 8.1, 9, 9.1 Crux 1.1,1.2
Posts: 80

Rep: Reputation: 15
If you still want to use startx, i remember a program called "selecwm" (or maybe "wmselect") and you "exec selectwm" in you .xinitrc and then it was a GUI menu to launch each one of your window mangers / desktops. Small but effective.

Ion
 
Old 07-13-2003, 08:39 PM   #14
Pres
Member
 
Registered: Jun 2002
Location: Australia
Distribution: Slack 9.1
Posts: 232

Rep: Reputation: 30
Before I learned the easy way of using xwmconfig I used to :

cd ~
cp /etc/X11/xinit/xinitrc.e .
mv xinitrc.e .xinitrc
startx

to change to enlightenment, for example. Prior to that I butchered my default xinitrc.kde file, or used mc to point the xinitrc link at different scripts (once I'd learned how to do that).

xwmconfig really is the easiest way I've done it by far !

A word for those who don't know, "startx" is a shell script, not a binary (xinit is the binary it kicks off) so you can have a good look at how it sets up things.
 
Old 07-14-2003, 04:24 AM   #15
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Rep: Reputation: 31
The easy way:
1. As root run pkgtool
2. From the list, select Setup (the last one)
3. From the list, click xwmconfig
4. Click OK
 
  


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
problems changing window managers run_linux Slackware 2 07-24-2004 08:45 PM
changing window managers north49er Slackware 2 07-10-2004 04:12 PM
Changing Window Managers Brother Michael Debian 6 06-21-2004 08:18 PM
changing window managers MiniBubba Mandriva 10 06-14-2004 08:57 AM
Changing Window Managers Bigun Linux - Software 4 03-25-2004 05:48 PM

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

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