Brackets: Ctrl-Alt-S keyboard shortcut not working on Ubuntu 14.04

Created on 16 May 2014  ·  13Comments  ·  Source: adobe/brackets

I have been using Brackets for a few weeks just fine on OS X, but in a recent move to Ubuntu 14.04 on a different machine, the Ctrl-Alt-S keyboard shortcut is not saving my files. It seems to be ignored. The "Save All" menu item works fine, and the keyboard shortcut works on OS X but not Ubuntu 14.04. I have seen other issues referencing a related problem around internationalization and special characters, but I'm running in US English.

Linux only low priority

Most helpful comment

As far as I can see this has nothing to do with brackets...

On Ubuntu <Control><Alt>s is a default keybinding.

Listing all window manager key bindings in sorted order:

gsettings list-recursively org.gnome.desktop.wm.keybindings | sort

Filtering the the key binding for <Control><Alt>s:

gsettings list-recursively org.gnome.desktop.wm.keybindings | grep "<Control><Alt>s"

If you want to deactivate the Ubuntu key binding you can use:

gsettings set org.gnome.desktop.wm.keybindings toggle-shaded "['disabled']"

I don't know if there is a reliable platform independent way to check for system wide key bindings,
but I believe trying to fix possible key binding conflicts on all platforms would be a complete overkill.

@dlewanda therefore I think it is ok to close this issue.

All 13 comments

I have 14.04 will check

It does work for me on Ubuntu 14.04 x64 up-to-date with Sprint 39.
Could you please tell us more details about what version you are using?

Hi Marvin Roger,

I was running Sprint 38, but your email triggered me to check for updates and now I'm up to Sprint 39 - build 0.39.0-12914. Unfortunately, it is still not working for me. The indicators that a file has changed to the left of the file name in the "Working Files" section remains. I'm running Ubuntu 14.04 x64. Please let me know what other specific information you'd like.

 
Dave
On Sunday, May 18, 2014 2:44 PM, Marvin Roger [email protected] wrote:

It does work for me on Ubuntu 14.04 x64 up-to-date with Sprint 39.
Could you please tell us more details about what version you are using?

Reply to this email directly or view it on GitHub.

To @ingorichter to follow up, low priority since it doesn't seem like it affects everyone.

@dlewanda - do you have any extensions installed in Brackets?

I can also reproduce this issue (Ubuntu 14.04). It seems that the system-wide keyboard shortcut for 'Windows\Toggle shaded state' is also Ctrl-Alt-S. (http://askubuntu.com/questions/74041/how-do-i-disable-ctrlalts-to-minimize-a-window). Disabling this shortcut allows brackets to handle the keys instead, and 'save all' then works.

Not sure whether it would be best to change it / provide an alternative for Linux users, or perhaps there is a way to check if the shortcut is already registered as a system shortcut - I've not looked into the feasibility of this yet, may not event be possible?

Scott,

Thanks for confirming this issue. I have unable to investigate the issue further this week. I am okay with disabling the Ubuntu shortcut, but I agree that Ctrl-Alt-S may not be the most natural “Save All” option on Linux.

+1 to fixing the default!

Dave
On May 21, 2014, at 4:57 PM, scottg1989 [email protected] wrote:

I can also reproduce this issue (Ubuntu 14.04). It seems that the system-wide keyboard shortcut for 'Windows\Toggle shaded state' is also Ctrl-Alt-S. (http://askubuntu.com/questions/74041/how-do-i-disable-ctrlalts-to-minimize-a-window). Disabling this shortcut allows brackets to handle the keys instead, and 'save all' then works.

Not sure whether it would be best to change it / provide an alternative for Linux users, or perhaps there is a way to check if the shortcut is already registered as a system shortcut - I've not looked into the feasibility of this yet, may not event be possible?


Reply to this email directly or view it on GitHub.

Rlated to https://github.com/adobe/brackets/issues/8100
Can be also represented in Windows with non-US keyboard layout

"Ctrl-Alt-S" is not working for me in ubuntu-12.04.
Is it ok to add "Alt-S" key too for users who are facing this issue?

As far as I can see this has nothing to do with brackets...

On Ubuntu <Control><Alt>s is a default keybinding.

Listing all window manager key bindings in sorted order:

gsettings list-recursively org.gnome.desktop.wm.keybindings | sort

Filtering the the key binding for <Control><Alt>s:

gsettings list-recursively org.gnome.desktop.wm.keybindings | grep "<Control><Alt>s"

If you want to deactivate the Ubuntu key binding you can use:

gsettings set org.gnome.desktop.wm.keybindings toggle-shaded "['disabled']"

I don't know if there is a reliable platform independent way to check for system wide key bindings,
but I believe trying to fix possible key binding conflicts on all platforms would be a complete overkill.

@dlewanda therefore I think it is ok to close this issue.

@aelgru: Isn't Ctrl-Shift-S available as it is on Windows? It seems that for such a useful keyboard shortcut it wouldn't be that hard to find one that doesn't collide with a system keyboard binding.

Why we need shortcut for "Save All"? Brackets regilary asks me to save all before quit or git commit. In other editors also "Save All" do not have shortcuts at all. Just select from menu.

Try do not use Ctrl+Shift+<...> shortcuts, if only you want undo action:

  • Ctrl+<...> - used to do some action
  • Ctrl+Shift+<...> - used to undo some action

Example:

  • Ctrl+A - do select all
  • Ctrl+Shift+A - undo select all

+1

+1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

edlau picture edlau  ·  3Comments

TheHedge picture TheHedge  ·  3Comments

armandbancila picture armandbancila  ·  4Comments

asportnoy picture asportnoy  ·  3Comments

ghost picture ghost  ·  3Comments