LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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



Reply
 
Search this Thread
Old 02-09-2013, 12:53 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,268

Rep: Reputation: 49
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 01:20 AM.
 
Old 02-09-2013, 09:53 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,869

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
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.
 
Old 02-09-2013, 01:52 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,268

Original Poster
Rep: Reputation: 49
Thanks, I knew about that xwmconfig. What I meant is to start KDE, for example, in an immediate way, with previously configuering anything.
 
Old 02-09-2013, 02:39 PM   #4
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,869

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
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.
 
Old 02-09-2013, 03:25 PM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,154

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Try startx startkde
 
Old 02-10-2013, 01:01 AM   #6
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Glendale, AZ
Distribution: Distro-homeless. Lost.
Posts: 1,884

Rep: Reputation: 62
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 01:09 AM.
 
Old 02-10-2013, 04:27 PM   #7
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,154

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Quote:
Originally Posted by newbiesforever View Post
...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.
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to login twice to start KDE with compiz and kde-window-decorator from kdm allend Slackware 3 06-16-2008 07:54 PM
Can't start KDE or run some KDE applications Per Mandriva 6 07-05-2006 12:34 PM
KDE crashes on start, so does any KDE app... asdfjkl Linux - Software 3 04-18-2006 04:19 AM
KDE start menu breaked on a self-compiled KDE kleag Mandriva 3 09-01-2005 09:17 AM
start/stop service on the fly zchoyt Linux - Software 3 04-14-2005 04:30 AM


All times are GMT -5. The time now is 05:57 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration