LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-01-2013, 02:03 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
I always use Xfce (a desktop environment). How can I switch permanently to KDE?


Hi: (slackware 14.0) Or to be able to run anyone I choose on the fly?

Last edited by stf92; 06-01-2013 at 02:06 PM.
 
Old 06-01-2013, 02:07 PM   #2
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by stf92 View Post
Hi: What's asked (slackware 14.0).
At a command prompt issue this command:

xwmconfig

xwmconfig

Or if you're logging in from run level four with KDM select KDE from the desktop selection menu.
 
1 members found this post helpful.
Old 06-01-2013, 04:05 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Xwmconfig... cute program. But I was once told here that I could start any DE or WM by simply running the corresponding program from the command line. Unfortunately I do not remember the details.
 
1 members found this post helpful.
Old 06-01-2013, 04:20 PM   #4
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 164

Rep: Reputation: 18
`xinit /usr/bin/startkde` will start kde from the command line in run-level three. But that's not a permanent thing. the `startx` command will launch whatever DE you select in xwmconfig.
 
2 members found this post helpful.
Old 06-01-2013, 04:32 PM   #5
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by stf92 View Post
Xwmconfig... cute program. But I was once told here that I could start any DE or WM by simply running the corresponding program from the command line. Unfortunately I do not remember the details.
You asked for the solution I gave it to you. Running xwmconfig will allow you to switch to another DE or WM. After you have selected the DE/WM of your choice you can launch it with startx.

Last edited by hitest; 06-01-2013 at 04:33 PM.
 
1 members found this post helpful.
Old 06-01-2013, 04:37 PM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I did ran xwmconfig several times to switch betwenn xfce and KDE, running startx each time. For which I thank you very much.
 
1 members found this post helpful.
Old 06-01-2013, 05:20 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by Stephen Morgan View Post
`xinit /usr/bin/startkde` will start kde from the command line in run-level three. But that's not a permanent thing. the `startx` command will launch whatever DE you select in xwmconfig.
Run level 3, that is multiuser mood. I do not understand this: the xwmconfig screen says "You can choose from among the following window managers" (or something so). But among the items listed, there are KDE and the Cholesterol Free Desktop Environment which, as there names imply, are not window managers but desktop environments. So, what's really the difference between a WM and a DE? That is, in very general terms. Maybe some of these are DEs and at the same time WMs?

Last edited by stf92; 06-01-2013 at 05:23 PM.
 
Old 06-02-2013, 08:23 AM   #8
elesmod
Member
 
Registered: Sep 2012
Distribution: Slackware
Posts: 88

Rep: Reputation: Disabled
Quote:
Originally Posted by stf92 View Post
Maybe some of these are DEs and at the same time WMs?
That is correct.

A window manager is a program that draws windows on the screen. It's responsible for the layout, resizing, overlaping, window decoration etc.

A desktop environment is all that plus a set of additional software, e.g. start menu, graphical system configuration center, widgets, file manager etc.

edit:

About changing between XFCE and KDE "on the fly"; you have to logout to change a DE, I don't think you can do it while being loged in. As people mentioned before, you can do it in two ways:

1. runlevel 3: xwmconfig, change DE, startx
2. runlevel 4: in this runlevel you boot straight into X, you can change DE in the login manager by selecting it from a menu before you login.

2nd edit:
I'm just curious why a "senior member" with 2,5k posts on LQ doesn't know this stuff (and please, don't go raging at me, it wasn't meant to be an insult).

Last edited by elesmod; 06-02-2013 at 08:43 AM.
 
Old 06-03-2013, 03:11 AM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by elesmod View Post
That is correct.

A window manager is a program that draws windows on the screen. It's responsible for the layout, resizing, overlaping, window decoration etc.

A desktop environment is all that plus a set of additional software, e.g. start menu, graphical system configuration center, widgets, file manager etc.

edit:

About changing between XFCE and KDE "on the fly"; you have to logout to change a DE, I don't think you can do it while being loged in. As people mentioned before, you can do it in two ways:

1. runlevel 3: xwmconfig, change DE, startx
2. runlevel 4: in this runlevel you boot straight into X, you can change DE in the login manager by selecting it from a menu before you login.

2nd edit:
I'm just curious why a "senior member" with 2,5k posts on LQ doesn't know this stuff (and please, don't go raging at me, it wasn't meant to be an insult).
Being a slackware user, I am used to find myself in a text console after booting. This is very good for me, as I spend most of the time in the text console (graphical consoles I only a few times use them). Therefore, I always run startx to start the GUI. Booting, and being automatically taken to a GUI is like being in a Windows system.

Second: when you run xwmconfig, what this program does is to remove the execution permission bit from a file and set it in another file. There is one of these files for every DE in my O.S. They are all in the same directory but the name of the directory I have forgotten.
 
Old 06-03-2013, 06:03 AM   #10
nick_th_fury
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Slackware, NetBSD
Posts: 151

Rep: Reputation: 23
If you really want to switch between xfce & KDE 'on the fly' you can. Its really handy if your like me and go months without logging out.
Login as your user and startx into Kde.

Then hit (Ctrl + Alt + F2) to get to your second terminal. (Ctrl + Alt + F1 & F2) Will switch you between consoles.
Login as your user or another user entirely, change xwmconfig to xfce.
startx -- :1

Then on the fly you can flip from xfce to KDE by hitting (Ctrl + Alt + F7) for the first screen & (Ctrl + Alt + F8) for the second.

I used to do that a lot before I got a 2nd monitor setup.
If anything gets confused you can force via a terminal which display a program loads into.
example:
kwrite --display :1
 
Old 06-03-2013, 06:25 AM   #11
croxen
Member
 
Registered: May 2002
Posts: 100

Rep: Reputation: 42
Make KDE or whatever you want your primary environment with xwmconfig. Whatever else may be set as default by xwmconfig, XFCE is nevertheless always available from the console by using startxfce4 rather than the generic startx
 
Old 06-03-2013, 06:48 AM   #12
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,441
Blog Entries: 7

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
Quote:
Originally Posted by stf92 View Post
Therefore, I always run startx to start the GUI.
How about using 'telinit' to switch runlevels? eg:

Code:
# telinit 4
You can do this from the command line, and it brings up a graphical login screen from which you can choose which DE to run.
Quote:
Originally Posted by stf92 View Post
Second: when you run xwmconfig, what this program does is to remove the execution permission bit from a file and set it in another file. There is one of these files for every DE in my O.S. They are all in the same directory but the name of the directory I have forgotten.
/etc/X11/xinit/

The xwmconfig script creates/changes a symlink. It doesn't change any permissions.

Last edited by rkelsen; 06-03-2013 at 06:55 AM.
 
Old 06-03-2013, 07:58 AM   #13
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by nick_th_fury View Post
If you really want to switch between xfce & KDE 'on the fly' you can. Its really handy if your like me and go months without logging out.
Login as your user and startx into Kde.

Then hit (Ctrl + Alt + F2) to get to your second terminal. (Ctrl + Alt + F1 & F2) Will switch you between consoles.
Login as your user or another user entirely, change xwmconfig to xfce.
startx -- :1

Then on the fly you can flip from xfce to KDE by hitting (Ctrl + Alt + F7) for the first screen & (Ctrl + Alt + F8) for the second.

I used to do that a lot before I got a 2nd monitor setup.
If anything gets confused you can force via a terminal which display a program loads into.
example:
kwrite --display :1
If startx, log out and startx from another console, then X says 'No screens found'. In my system (slackware 14.0) I cant have to GUIs at the same time.
 
Old 06-03-2013, 08:05 AM   #14
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by rkelsen View Post
How about using 'telinit' to switch runlevels? eg:

Code:
# telinit 4
You can do this from the command line, and it brings up a graphical login screen from which you can choose which DE to run.

/etc/X11/xinit/

The xwmconfig script creates/changes a symlink. It doesn't change any permissions.
You are right: /etc/X11/xinit/!!! I think I am always in the same runlevel: runlevel 3. Except when booting and at system shutdown.
 
Old 06-03-2013, 08:57 AM   #15
nick_th_fury
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Slackware, NetBSD
Posts: 151

Rep: Reputation: 23
Quote:
Originally Posted by stf92 View Post
If startx, log out and startx from another console, then X says 'No screens found'. In my system (slackware 14.0) I cant have to GUIs at the same time.
startx -- :1
startx -- :2
Should be able to create separate sessions.
Might want to double check you have a .xinitrc in your home directory.
This page does a pretty good job of explaining whats going on with the startx command.
https://wiki.archlinux.org/index.php/Xinitrc

I used that a lot under XFree86. Perhaps its different under Xorg?
The .xinitrc file may need to be adjusted?
When I get home I'll test with it on my Slack14 notebook and see if it's still there.
 
  


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
how to switch from kde to gnome3 desktop environment jmenew Linux - Newbie 7 08-08-2012 01:32 PM
Changing Desktop Environment from XFCE to KDE amhainen Slackware 2 12-05-2011 01:11 PM
[SOLVED] how to install xfce- desktop environment janakiramulu Linux From Scratch 67 07-01-2011 02:49 AM
LXer: Flipping the Linux switch: KDE, the K desktop environment LXer Syndicated Linux News 0 12-31-2007 10:00 AM
how to switch desktop environment jorasmi Slackware 6 12-08-2005 09:10 PM

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

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