Coder Social home page Coder Social logo

Ending the X-Session about dotfiles HOT 7 OPEN

avivace avatar avivace commented on May 20, 2024
Ending the X-Session

from dotfiles.

Comments (7)

popcorn9499 avatar popcorn9499 commented on May 20, 2024 2

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

from dotfiles.

se7kn8 avatar se7kn8 commented on May 20, 2024 1

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

from dotfiles.

casey-miller avatar casey-miller commented on May 20, 2024 1

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

from dotfiles.

avivace avatar avivace commented on May 20, 2024

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

from dotfiles.

avivace avatar avivace commented on May 20, 2024

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.

from dotfiles.

popcorn9499 avatar popcorn9499 commented on May 20, 2024

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

from dotfiles.

avivace avatar avivace commented on May 20, 2024

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

from dotfiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.