LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-30-2017, 01:36 AM   #1
nejnej25
Member
 
Registered: Dec 2017
Location: Asia
Distribution: Slackware 14.2,CentOS 7, Ubuntu, Debian
Posts: 116

Rep: Reputation: Disabled
How to change KDE to XFCE? Slackware 14.2


Hi guys, my default DE is KDE and I want to change it to XFCE. Anyone knows how to?

Last edited by nejnej25; 12-30-2017 at 01:39 AM.
 
Old 12-30-2017, 04:55 AM   #2
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Nixos
Posts: 179

Rep: Reputation: 122Reputation: 122
run xwmconfig in a terminal and choose the appropriate xinitrc. But this works only with slackware. Good luck.
 
Old 12-30-2017, 05:31 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,254

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
I would start by backing up. Go through the install cd again, and select nothing except XFCE. Then uninstall all kde packages in runlevel 3. If your default is to boot to a DE, change the initdefault setting from 4 to 3 in /etc/inittab. If you're stuck in a DE, now you can change the setting and reboot but often 'sudo init 3' gets you out.
 
Old 12-30-2017, 06:12 AM   #4
nejnej25
Member
 
Registered: Dec 2017
Location: Asia
Distribution: Slackware 14.2,CentOS 7, Ubuntu, Debian
Posts: 116

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Hannes Worst View Post
run xwmconfig in a terminal and choose the appropriate xinitrc. But this works only with slackware. Good luck.
I ran it already and chose XFCE but still doesn't work.
 
Old 12-30-2017, 07:44 AM   #5
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Nixos
Posts: 179

Rep: Reputation: 122Reputation: 122
That's puzzling. What runlevel do you use? Do you use runlevel 4 with a displaymanager (kdm)? Are you able to choose the xfce-session when you login using kdm? Or do you use default runlevel 3 and the command startx? Did you do a full install of slackware 14.2?
 
Old 12-30-2017, 12:01 PM   #6
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
You could try Salix Linux. 100% compatible with Slackware, but with several hundred extra ready-to-run programs, useful configuration tools, and Xfce as the default desktop.
 
Old 12-30-2017, 12:35 PM   #7
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12, Slackware64 14.2
Posts: 236
Blog Entries: 1

Rep: Reputation: 57
this will do it:
Code:
startx /etc/X11/xinit/xinitrc.xfce
Assuming, that is, that you started in runlevel 3 (the Slackware default).

Further, you can start any of the DE/WM's in /etc/X11/xinit just by passing the path/file as a parameter to startx.
 
Old 12-30-2017, 07:54 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
Quote:
Originally Posted by nejnej25 View Post
I ran it already and chose XFCE but still doesn't work.
I've changed DEs/WMs many times with xwmconfig on Slackware and never had a problem. This is a shot in the dark, but did you run xwmconfig as user? If you run it as root, it will not affect user.

Otherwise, check /var/log, particularly messages and Xorg.0.log. There may be something there that sheds some light on this. Or run xwmconfig again as user and see whether it outputs any errors when you startx.
 
Old 12-30-2017, 08:18 PM   #9
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,086

Rep: Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262
Quote:
Originally Posted by frankbell View Post
I've changed DEs/WMs many times with xwmconfig on Slackware and never had a problem. This is a shot in the dark, but did you run xwmconfig as user? If you run it as root, it will not affect user.....
Yes, if the user has already picked a desktop.
However, whatever desktop root picked during installation is the system wide default and anytime thereafter when root runs xwmconfig and selects a different desktop that change becomes the new default.

Last edited by cwizardone; 12-30-2017 at 08:20 PM.
 
Old 12-30-2017, 08:42 PM   #10
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
Quote:
However, whatever desktop root picked during installation is the system wide default and anytime thereafter when root runs xwmconfig and selects a different desktop that change becomes the new default.
Nice catch. I was thinking of running xwmconfig after installation was complete, but I don't think I've ever run xwmconfig as root once installation was complete, so I tried an experiment.

I have a VM of Slackware that I created in case I worked up the nerve to try LFS again. I started it up and logged in as root. I started X and it fired up XFCE, which I set as default upon installation.

I exited XFCE and ran xwmconfig, changed the environment to Fluxbox, then started X again. Root now had a Fluxbox interface.

I logged out as root, then logged in as user. User still had the default XFCE interface, but when user tried to log out of XFCE, it hung.

Then I crashed the VM, so I'll play with it more tomorrow.

Update, I played with it some more tonight: I got the VM going again. User still had XFCE, root still had Fluxbox, and everything seems to be functioning. So, in this case at least, running xwmconfig by itself as root does not seem to change the system default. Perhaps if you ran it from the installation "setup" script as root, it would change the system default. Anyway, it's a fun question to solve.

Now I'm going to read me some Nero Wolfe . . . .

Last edited by frankbell; 12-30-2017 at 09:21 PM.
 
2 members found this post helpful.
Old 12-30-2017, 09:34 PM   #11
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,086

Rep: Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262Reputation: 7262
Well, as previously mentioned, once root changes desktops by using xwmconfig that change becomes the default.
What I forgot to say was it does not change what an existing user has previously selected for a desktop.
Any new user will be given the default if they don't select one.

Last edited by cwizardone; 12-30-2017 at 09:37 PM.
 
2 members found this post helpful.
Old 12-31-2017, 08:15 PM   #12
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
Thanks, cwizardone. Thanks to you, I learned something.
 
1 members found this post helpful.
Old 01-01-2018, 05:24 AM   #13
Reena patel
LQ Newbie
 
Registered: Jan 2018
Posts: 1

Rep: Reputation: Disabled
Learned

Thanx guys for sharing information....
 
1 members found this post helpful.
  


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
Xfce & KDE Change Each Others Settings. cwizardone Slackware 4 02-16-2012 10:27 PM
[SOLVED] Switching XFCE to KDE Slackware 13.1.. How..? drfrostbyte Slackware 1 04-07-2011 08:32 PM
Change to Gnome (or Xfce) from KDE... buccaneere Linux - Software 4 01-01-2011 11:27 AM
change window managers xfce to kde liuguobiao Linux - Newbie 3 12-22-2008 02:39 AM
how to change XDM? (Ex. Gnome, KDE, XFCe) andreas_skw Slackware - Installation 4 02-03-2008 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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