Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Starting plasma from CLI
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 896
Location: US-FL-EST

PostPosted: Tue May 03, 2016 11:16 am    Post subject: Starting plasma from CLI Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6871
Location: Austria

PostPosted: Tue May 03, 2016 2:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 683
Location: Tokyo, Japan

PostPosted: Sat May 07, 2016 3:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum