Ending the X-Session
se7kn8 opened this issue ยท 7 comments
(first: I really like this project)
Problem:
If I exit i3 via mod+shift+e
it gets closed, but not the KDE-Environment. Is there any way to also close the KDE-Environment?
Thank you! Glad you are enjoying this!
I think you can rebind what $mod+Shift+e
does.
So
bindsym $mod+Shift+e exit
will exit i3. With ;
you can execute multiple commands. Something like this should work:
bindsym $mod+Shift+e exit; killall plasmashell
Thanks for the fast answer!
killall plasmashell
just kills the overlay of the kde-environment, but it doesn't stop the x-session.
Unsure if this has been resolved but i did this ;killall ksmserver
but im using the i3 nagbar so it may work slightly differently. but just killing plasmashell didnt do enough for me. Just figured id post what i found worked
Thank you for the contribution, @popcorn9499!
This isn't resolved because AFAIK the X Session must be stopped by whom started it (e.g. the login manager) so a general solution is very much appreciated.
Ya when i get a chance I will find a proper solution that is more graceful but that worked for the time being i figured. Better than getting stuck everytime in between closed and not closed. I will let you know what my solution ends up being
I was able to end x (logout) using the following command which also closes i3:
qdbus org.kde.ksmserver /KSMServer logout 0 3 3
I was able to end x (logout) using the following command which also closes i3:
qdbus org.kde.ksmserver /KSMServer logout 0 3 3
Does this fix it for you? @popcorn9499 @SE7-KN8