Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-08-2013, 11:53 PM
|
#1
|
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 2,576
Rep:
|
How do I start KDE on the fly?
Hi:
I use Xfce as a desktop environment. I type 'startx' and there Xfce is. If I want to run KDE only once, I can do it by just typing a command line, but I forgot which one. I have these files:
Code:
semoi@darkstar:~$ ls -l /etc/X11/xinit/
total 36
-rw-r--r-- 1 root root 321 2003-03-16 18:36 README.Xmodmap
lrwxrwxrwx 1 root root 12 2013-01-22 16:38 xinitrc -> xinitrc.xfce*
-rwxr-xr-x 1 root root 661 2012-08-09 00:58 xinitrc.blackbox*
-rwxr-xr-x 1 root root 660 2012-08-09 01:35 xinitrc.fluxbox*
-rwxr-xr-x 1 root root 704 2012-08-27 13:01 xinitrc.fvwm2*
-rwxr-xr-x 1 root root 627 2012-08-07 15:56 xinitrc.kde*
-rwxr-xr-x 1 root root 725 2009-12-01 04:39 xinitrc.twm*
-rwxr-xr-x 1 root root 958 2012-08-13 13:55 xinitrc.wmaker*
-rwxr-xr-x 1 root root 1199 2013-01-23 19:45 xinitrc.xfce*
-rwxr-xr-x 1 root root 1241 2013-01-23 19:30 xinitrc.xfce~*
semoi@darkstar:~$
I tried '/etc/X11/xinit/xinitrc.kde' and 'startx /etc/X11/xinit/xinitrc.kde' but both of them resulted in errors. Could you give me some hint? The distribution is Slackware 14.0.
EDIT: I also have this:
Code:
semoi@darkstar:~$ ls -l /usr/bin/start*
-rwxr-xr-x 1 root root 677 2012-08-09 00:58 /usr/bin/startblackbox*
-rwxr-xr-x 1 root root 1436 2012-08-09 01:35 /usr/bin/startfluxbox*
-rwxr-xr-x 1 root root 672 2012-08-27 13:01 /usr/bin/startfvwm2*
-rwxr-xr-x 1 root root 13489 2012-08-07 15:54 /usr/bin/startkde*
-rwxr-xr-x 1 root root 4805 2013-01-23 21:45 /usr/bin/startx*
-rwxr-xr-x 1 root root 2968 2012-07-19 22:01 /usr/bin/startxfce4*
-rwxr-xr-x 1 root root 4913 2013-01-23 21:23 /usr/bin/startx~*
semoi@darkstar:~$
I'll try running one of these directly.
Last edited by stf92; 02-09-2013 at 12:20 AM.
|
|
|
|
02-09-2013, 08:53 AM
|
#2
|
|
Senior Member
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0
Posts: 4,634
|
In a command prompt, run the command 'xwmconfig' ( without the quotes ), and select the desktop of choice.
If you set the system up so you have to log in, there should be a choice to switch desktops at the log in screen. Exactly what it looks like depends whether you are using xdm or kdm on Slackware.
You can find more help here --> http://docs.slackware.com/slackware:beginners_guide
Hope this helps.
|
|
|
|
02-09-2013, 12:52 PM
|
#3
|
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 2,576
Original Poster
Rep:
|
Thanks, I knew about that xwmconfig. What I meant is to start KDE, for example, in an immediate way, with previously configuering anything.
|
|
|
|
02-09-2013, 01:39 PM
|
#4
|
|
Senior Member
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0
Posts: 4,634
|
Sorry, I don't understand what you are looking for.
The normal way to start any particular desktop is to run xwmconfig and set the desktop you want. Running startx from the startup scripts ( during the boot process ), or as a user if you go to run level 3 on a new install, are the ways I know of.
|
|
|
|
02-09-2013, 02:25 PM
|
#5
|
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 3,958
|
Try startx startkde
|
|
|
|
02-10-2013, 12:01 AM
|
#6
|
|
Senior Member
Registered: Apr 2006
Location: Glendale, AZ
Distribution: Distro-homeless. Lost.
Posts: 1,777
Rep:
|
The thread belongs in Linux General anyway (I just reported it to suggest it be moved there; hope the OP doesn't mind), but these kinds of posts/threads make it regrettable that we can't give reputation to posts in non-NIX General. I've had this question for a long time.
And can "startx start[name]" be used for any desktop, or does "startkde" work only for KDE? Can I boot into IceWM (my other desktop) with "startx starticewm"?
Last edited by newbiesforever; 02-10-2013 at 12:09 AM.
|
|
|
|
02-10-2013, 03:27 PM
|
#7
|
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 3,958
|
Quote:
Originally Posted by newbiesforever
...And can "startx start[name]" be used for any desktop, or does "startkde" work only for KDE? Can I boot into IceWM (my other desktop) with "startx starticewm"?
|
No, startkde is the name of the script that initrc script is to exec after the X-server is started. Each desktop will have it's own script, but the names have been quite idiosyncratic. Look at the scripts in (on my system) /etc/X11/init/ for details of the procedure, and, of course, the startx script itself. ( startx has a man page as well.)
|
|
|
1 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:08 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|