Page 3 of 4

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Sat Dec 08, 2012 4:00 pm
by cpsully69
Thank you electrickite!!!

I've been trying for a week to replace Ctrl-Alt-T from launching terminal to launching terminator (my fav!)

Cinnamon settings wouldn't let me deleted the "Launch Terminal" binding, I could disable it (no effect), and even redefined it to /usr/bin/terminator (no effect).

I REALLY appreciate your contribution!

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Fri Dec 14, 2012 10:31 pm
by Redsandro
aelfinn wrote:It doesn’t seem to resolve my particular problem of trying to assign shortcuts using the Windows, or Super, key. In LM13’s Cinnamon edition, that was still possible. Or is it something about your workaround that prevents that from happening?
I have the same problem. It looks like no one uses the windows/super/mod5 key except us.

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Fri Dec 14, 2012 10:47 pm
by captainmorgan
I have the same problem. It looks like no one uses the windows/super/mod5 key except us.
I used to use it for all my custom shortcuts, but I switched to an IBM Type-M keyboard on my Mint 14 machine and it doesn't have a Super key. I kinda miss it (now I'm stuck with the few unused function keys) but my keys are so clicky that I guess it's worth it. :lol:

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Wed Jan 02, 2013 11:58 pm
by rafi
Hi,

I can confirm that the windows key can not be used for a user-defined keyboard shortcut on a fresh install of Linux Mint 14 Nadia (and did not work on Mint 13 Maya either). Also, the above-mentioned workaround does not work.

However, on Linux Mint 13 Maya, the following workaround worked:

Code: Select all

sudo apt-get install gconf-editor
start it up, and then in the tabs navigate to

Code: Select all

apps->metacity->global_keybindings and keybinding_commands
The two parameters did the trick together with the windows key written as <Super>. Well, so I tried this again in Mint 14, but alas, there is no metacity key anymore in gconf-editor. Is there a way to get this key back?

Also, I tried using

Code: Select all

xfce4-keyboard-settings
which had been suggested elsewhere but that, too, did not work for me to assign a keyboard shortcut to the windows key.

Any ideas?

Cheers,
rafi

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Thu Jan 03, 2013 12:08 am
by rafi
ah, and I also tried to use xbindkeys but with no success. Seems some nasty gnome catches the pressed keys and uses it for its purposes... rats!

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Sun Jan 06, 2013 7:49 am
by asobczak
This seams to be wider problem. It is not only Super-D and other custom keys disappeared. My keyboard, after upgrade, behave unpredictably. I use Super-E to start terminal. Now I need to stroke it twice. Custom shortcuts works 'at their own discretion'.
In Pluma or Gedit, my favourite function Ctr-F is disabled. While in Gedit, Super-E result is added 'e' in code - what a nice experience at next run.
Something definitly not defined in keyboard....hope gurus will fix it

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Fri Jan 11, 2013 10:04 pm
by llogg
Garvan wrote:xkb has a cache, and it does not like to clean it. Try deleting everything in this folder.

Code: Select all

/var/lib/xkb
Garvan
Forgive my noobishness, but what are the potential ill effects of deleting files from this folder?

I am using the workaround posted by electrickite to create custom shortcuts, but none of my keyboard shortcuts (default pre-defined or custom) work consistently. Ctrl-Alt-T launches terminal 1 out of 10 times. Ctrl-Alt-Backspace logs out 1 out of 3 times at best. Custom Ctrl-Shift-X for xkill is probably 1 out of 10 times as well. (Luckily Mint seems to be pretty stable overall so I haven't need xkill -- all 10 attempts were simply testing.)

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Thu Jan 17, 2013 8:54 pm
by llogg
So I deleted the files in /var/lib/xkb/ and restarted to no avail. Most shortcuts seem to work, but no custom shortcuts and none of the default "launcher" shortcuts. I really just want to be able to open a terminal and use xkill with shortcuts. Has anybody had success recently? I think I'm using the alternate keyboard in electrickite's workaround, however I got it from here before finding this thread. The only difference I can see is in the version I'm using the second instance of

Code: Select all

Name=
says Keyboard Alternate instead of just Keyboard and at the end of the file electrickite's version has this

Code: Select all

# Translators: those are keywords for the keyboard control-center panel
Keywords=Shortcut;Repeat;Blink;
X-Ubuntu-Gettext-Domain=gnome-control-center-2.0
# Translators: those are keywords for the keyboard control-center panel
Keywords=Shortcut;Repeat;Blink;
X-Ubuntu-Gettext-Domain=gnome-control-center-2.0
while the version I'm using just has this

Code: Select all

Keywords=Shortcut;Repeat;Blink;
X-Ubuntu-Gettext-Domain=gnome-control-center-2.0
Everything else seems the same. If anyone has any suggestions I'd really appreciate it. Thanks.

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Fri Jan 18, 2013 7:25 pm
by llogg
https://bbs.archlinux.org/viewtopic.php?id=150587&p=3

Anyone know if this patch would help? If so, how would I install this patch?

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Sat Jan 19, 2013 8:55 am
by llogg
Okay, after using the electrickite workaround, there are at least four ways I can think of to set up keyboard shortcuts. None of them are consistently working for me.
1. Cinnamon settings -- keyboard
2. Preferences -- keyboard
2.1. Preferences -- keyboard alternate
3. $ gsettings
4. dconf

Is there something else I can try to get shortcuts for launching a terminal and for xkill working? Thanks.

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Sun Jan 20, 2013 6:33 pm
by llogg
Since xkbmap sets the ctrl-alt-backspace that always works, is there any xkbmp option/command I can use to reliably start other shortcuts?

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Tue Jan 29, 2013 6:39 pm
by kiweegie
Hey electrickite - you have *no* idea how thankful I am to have found your workaround for keybindings under Cinnamon. I use shutter constantly and love Mint Cinnamon but until today had no way of getting the keybindings to play nice. Your workaround... worked!

I have added your solution (crediting you of course with link back to this post) to http://shutter-project.org/faq-help/set ... nshot-tool where there are keybinding how-tos for Gnome, Unity, KDE, XFCE and LXDE but oddly (given Mints status as number one on distrowatch) none for either Mate nor Cinnamon.

I'm hoping your workaround helps out other Cinnamon shutter users.

Thanks again.

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Wed Jan 30, 2013 7:43 pm
by llogg
And now my screen cap shortcuts don't work. Help?

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Sat Feb 16, 2013 11:07 am
by barcinka
Thank you, electrickite! Good job :)

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Wed Feb 20, 2013 2:27 pm
by Redsandro
Pull request was merged and closed over two months ago, but I haven't received a working update yet. Still need this trickery.

Anyone got the fix yet?

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Sat Feb 23, 2013 2:22 pm
by aelfinn
Redsandro wrote:Pull request was merged and closed over two months ago
Do you have a link for that?

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Wed Apr 03, 2013 1:20 pm
by dyfet
This bug hit me too. I am starting a package of tiny x11 helper apps (http://dev.gnutelephony.org/gitweb/?p=p ... ;a=summary) to do some window management functions that are currently missing in muffin and sometimes elsewhere, starting with one to simply "rotate" workspaces, since the built-in ones for muffin only has options to go left/right, rather than going back to ws 0 after reaching the end of the list. On xfce4 (xfwm has this feature) I normally bind this functionality to super-tab (and rotate back to super-backtab), and really the choice was from kde which uses super-tab to rotate activities...

Anyway yes, creating new custom shortcuts from cinnamon's keyboard control do not seem to work as noted here, though any of the existing built-in muffin/cinnamon shortcuts can be re-pogrammed. New custom keyboard entries can be created instead from gnome control center keyboard control, also as noted in this thread, but they behave strangely if you assign super as part of the sequence. At best, if I hold down super, and press tab twice, it worked, and then kept jumping as expected so long as I kept holding down super and hit tab again after... I decided to assign to control-tab instead :), and that works fine...

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Sun May 12, 2013 1:50 am
by phredbull
Redsandro wrote:
aelfinn wrote:It doesn’t seem to resolve my particular problem of trying to assign shortcuts using the Windows, or Super, key. In LM13’s Cinnamon edition, that was still possible. Or is it something about your workaround that prevents that from happening?
I have the same problem. It looks like no one uses the windows/super/mod5 key except us.
I'm using an Apple keyboard & was able to rectify some weirdness here:
System Settings>Keyboard, then on the bottom right is a button that says "Layout Settings"
Under the "Layouts" tab, you can make sure you have the correct keyboard selected, and test all of the keys, w/visual feedback. Then from there, if you click "Options..." on the bottom right, there are a LOT of settings regarding Command, Super, Alt, Ctrl, etc.

Although my Command key still seems to not work in combination with any letter keys or Space.

But I'm STILL having key command issues as well. They work in a way that any tech hates to hear, "intermittently". Usually, the pre-defined ones seem ok, and the ones I set up w/arrow & number keys for workspace & window management seem ok. But for example, I have Alt + w to launch Firefox, and sometimes, it doesn't work. Sometimes, it works after a few tries. And sometimes, it works when I hold the keys for a bit. I can't make any sense out of it, & hope it'll get fixed in an update.

Re: Keyboard shortcuts not working ( mint 14 cinnamon )

Posted: Mon May 20, 2013 3:09 pm
by cipri_tom
Very interesting is that the shortcut for 'Home Folder' appears not to work ... unless you're insistent haha.
What I mean by that is that a normal press of "Super + E" has no effect, but if you double press it a bit fast, like a double click, that the home folder will pop up. Or if you press it for a bit longer.

EDIT: Cinnamon 1.6.7

Re: Keyboard shortcuts not working ( mint 14 cinnamon ) [SOL

Posted: Fri May 31, 2013 9:55 am
by goinglinux
It's fixed in Mint 15 Cinnamon. Thankyou Mint development team!
  • Cinnamon Settings>Switch to Advanced Mode>Keyboard>Keyboard shortcuts>Custom Shortcuts>Add custom shortcut
  • Enter a name and choose a command to run
  • Click "unassigned" twice
  • Press the key combination you want to assign to your shortcut