3

I've been using Sublime Text 2 quit a bit lately and want to make it as easy to launch as Terminal.

I've done the following so far:

  1. I went into System Settings > Keyboard > Shortcuts > Windows and disabled the shortcut for Toggled Shaded (Ctrl + Alt + S).
  2. I used gconf-editor to add <Control><Primary><Alt>S under apps/metacity/global_keybindings/run_command_1 and pointed it to /usr/bin/sublime under apps/metacity/keybinding_commands/command_1.
  3. I went into dconf-editor and changed the Toggle Shadows shortcut to <Control><Super>S under org/gnome/desktop/wm/keybindings.

I am still unable to launch Sublime with the shortcut Ctrl + Alt + S, and normal windows still keep being toggled with the shortcut. I'm using Ubuntu 12.04, any suggestions on what I am doing wrong?

1
  • I went back into System Settings > Keyboard > Shortcuts > Windows and changed the shortcut for Toggled Shaded to Ctrl + Super + S. Now Ctrl + Super + S causes a toggle state, but Ctrl + Alt + S doesnt do anything. I am not sure if this has something to do with the location I put in gconf-editor. I ran the "which sublime" command, which gave me "/usr/bin/sublime" as the result. Jan 19, 2014 at 11:10

3 Answers 3

2

I solved this by going into the Shortcuts settings of Ubuntu (System Settings > Keyboard > Shortcuts) and simply creating a custom shortcut with the command /usr/bin/sublime, then double click on the "Disabled" area and pressing the Ctrl + Alt + S keys.

Changing anything in gconf-editor under both user & root access didn't change a thing.

1
  • Thanks for this. I couldn't figure out why an options dialog in Qt Creator was closing whenever I used Ctrl + Alt + S... I set "Toggle shaded state" to Ctrl + Alt + Shift + S to work around it.
    – Mitch
    Apr 28, 2017 at 13:05
0

Hard to say what is going on without a deep study of your configuration. BUT try using gconf-editor to look at /apps/metacity/window_keybindings for "toggle_shaded". That generally is set to Ctrl+Alt+S. If you're not using the metacity window manager then this change will do nothing.

0

For me worked like as in the post , but within a different record

$ sudo apt install dconf-editor
$ dconf-editor /org/gnome/shell/extensions/screenshot-window-sizer/cycle-screenshot-sizes

Turn off the "Use default value" toggle. Then replace the "Custom value" field with []. Then click the blue checkbox (save button) and close the window.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .