Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ending the X-Session #19

Open
se7kn8 opened this issue Jan 20, 2019 · 7 comments
Open

Ending the X-Session #19

se7kn8 opened this issue Jan 20, 2019 · 7 comments

Comments

@se7kn8
Copy link

se7kn8 commented Jan 20, 2019

(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?

@avivace
Copy link
Owner

avivace commented Jan 20, 2019

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

@se7kn8
Copy link
Author

se7kn8 commented Jan 21, 2019

Thanks for the fast answer!
killall plasmashell just kills the overlay of the kde-environment, but it doesn't stop the x-session.

@popcorn9499
Copy link

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

@avivace
Copy link
Owner

avivace commented Feb 9, 2019

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.

@popcorn9499
Copy link

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

@casey-miller
Copy link

I was able to end x (logout) using the following command which also closes i3:
qdbus org.kde.ksmserver /KSMServer logout 0 3 3

@avivace
Copy link
Owner

avivace commented Dec 17, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants