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

Provide Support for Closing Window With Keyboard Shortcut #405

Closed
bliles opened this issue Nov 7, 2018 · 6 comments
Closed

Provide Support for Closing Window With Keyboard Shortcut #405

bliles opened this issue Nov 7, 2018 · 6 comments

Comments

@bliles
Copy link

bliles commented Nov 7, 2018

I would really appreciate providing support for a default keyboard shortcut to close the current window. Cmd+Q would seem to be a logical default.

@artemanufrij
Copy link

what about Alt+F4?

@bliles
Copy link
Author

bliles commented Nov 7, 2018

That works, but then my issue is that the keyboard shortcut cannot be customized (as far as I can tell) like the shortcuts for minimize, maximize, etc.

@eljefuri
Copy link

eljefuri commented Nov 8, 2018

Weird Windows shortcut keys are weird. 😊 On Mac, ⌘W closes nearly all windows. I want to express my strong support for this proposal instead of a one-size-fits-all approach.

@yellowgh0st
Copy link

yellowgh0st commented Nov 11, 2018

@bliles @eljefuri You can bind these commands to any shortcut you like in Keyboard settings:

Close/Quit
dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:15

Maximize
dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:2

Minimize
dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:3

You can bind any of Gala actions like switch to..., send to... etc.

Kinda workaround..

@bliles
Copy link
Author

bliles commented Nov 13, 2018

Very helpful though, thanks @4ugustin

@danirabbit
Copy link
Member

The window close shortcut can be customized in System Settings → Keyboard.

Closing since this shortcut exists and can be changed

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

5 participants