View previous topic :: View next topic |
Author |
Message |
dufeu l33t


Joined: 30 Aug 2002 Posts: 913 Location: US-FL-EST
|
Posted: Tue May 03, 2016 11:16 am Post subject: Starting plasma from CLI |
|
|
For a variety of personal reasons, I always start my windows manager from the command line.
Previously, I did this using the command: Code: | XSESSION="kde-4" startx |
The KDE4 to Plasma migration guide discusses migrating the graphical login manager to 'sddm' but says nothing whatsoever about starting plasma from the command line.
Googling this has not been helpful since most people seem only interested in restarting plasma-shell after their graphical shell has failed.
And, of course, the documentation for 'sddm' presumes a graphical login.
I know this is very old school, but I actually do prefer to start my windows manager manually. I will often have several graphical sessions using different windows manager simultaneously.
So ... how do I do this?
edit - Tue May 3 09:15:32 EDT 2016
I've been poking around.
I can invoke plasmashell directly with xinit: Code: | xinit /usr/bin/plasmashell |
For my regular accounts, I can do: Code: | XSESSION=plasmashell startx -- :1 |
I'm pretty sure this isn't the correct way to do this. _________________ People whom think M$ is mediocre, don't know the half of it. |
|
Back to top |
|
 |
asturm Developer


Joined: 05 Apr 2007 Posts: 8224 Location: Austria
|
Posted: Tue May 03, 2016 2:18 pm Post subject: |
|
|
As with KDE4, people usually do that within ~/.xinitrc using the /usr/bin/startkde script. The line should also involve at least ck-launch-session if you happen to use consolekit and want to have hotplug, but I can't recall all of the command right now. _________________ backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic |
|
Back to top |
|
 |
Budoka l33t

Joined: 03 Jun 2012 Posts: 749 Location: Tokyo, Japan
|
Posted: Sat May 07, 2016 3:08 am Post subject: |
|
|
Thank you dufeu! I like you prefer to start from CLI and this was driving me crazy as my research yielded the same results as you.
genstorm I am sorry but I don't understand what you are indicating. I was able to start KDE4 without an .xinitrc file no problem. Or at least I thought so.
So what command should I be using? xinit plasmashell? |
|
Back to top |
|
 |
|