LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-20-2021, 01:15 AM   #1
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 676

Rep: Reputation: 7
Common hotkeys list


Hi there,


I am running Mint Debian with a Logitech wireless keyboard, it got volume control hot keys and worked on both windows and Linux. I understand the hotkeys are simply keys combinations I should be able to simulate on any keyboard. I tried few combinations I found on the internet but none worked, wonder if anyone knows how to go that, or if it is possible.
 
Old 08-20-2021, 11:26 AM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,150

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
You need to be a bit clearer. Are you saying that the keyboard actually has dedicated keys for volume which worked in one distro and don't work in Debian? If so, Debian has forgotten to set the shortcuts (they forget a lot of things!) and you need to do it yourself. If you are using the Gnome desktop, here are the instructions:
https://help.gnome.org/users/gnome-h...ts-set.html.en
 
Old 08-20-2021, 07:46 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,384
Blog Entries: 28

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
What desktop environment are you using? Hotkey configuration is normally managed by the desktop/environment/window manager.
 
Old 08-20-2021, 11:43 PM   #4
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 676

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by DavidMcCann View Post
You need to be a bit clearer. Are you saying that the keyboard actually has dedicated keys for volume which worked in one distro and don't work in Debian? If so, Debian has forgotten to set the shortcuts (they forget a lot of things!) and you need to do it yourself. If you are using the Gnome desktop, here are the instructions:
https://help.gnome.org/users/gnome-h...ts-set.html.en

No, I mean hotkeys are actually keys combination should be able to produce on any keyboard, unless there are codes not included on a standard keyboard. The keyboard I am using is a Logitech K400+, it got hotkeys for volume control and worked on both windows and Debian, so that if I know the keys combination I should be able to do the same thing on any keyboard, may be I need a s/w to read the hotkey codes on the Logitech.
 
Old 08-21-2021, 11:12 AM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,150

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I'm sorry, but I'm still sure I understand you! Are you asking how to get the equivalent of volume keys on a keyboard that doesn't have them? In that case, you would select suitable combinations (perhaps Super - and Super +) and use the keyboard shortcut editor to attach them to the commands
Code:
amixer set Master 10%+
amixer set Master 10%-
 
Old 08-21-2021, 11:53 PM   #6
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 676

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by DavidMcCann View Post
I'm sorry, but I'm still sure I understand you! Are you asking how to get the equivalent of volume keys on a keyboard that doesn't have them? In that case, you would select suitable combinations (perhaps Super - and Super +) and use the keyboard shortcut editor to attach them to the commands
Code:
amixer set Master 10%+
amixer set Master 10%-
Sorry can't get it, could you give more detail, I suppose no extra code needed if we know the right combinations, as the same volume control hotkeys are supported on both Windows and most Linux distro, just need the right combinations to trigger that, tnx !
 
Old 08-25-2021, 01:59 AM   #7
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 676

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by DavidMcCann View Post
I'm sorry, but I'm still sure I understand you! Are you asking how to get the equivalent of volume keys on a keyboard that doesn't have them? In that case, you would select suitable combinations (perhaps Super - and Super +) and use the keyboard shortcut editor to attach them to the commands
Code:
amixer set Master 10%+
amixer set Master 10%-

I found an app "key-mon" that can display the key press, but only the actual key press not the hex code of it, so that if I press volume up it shows "Vol+" that's not what I wanted, still trying to find one that will show the codes. I know I can customize Linux to use any keys combination for volume control, but it is best if I know the codes to the hotkeys so that I can do it with any keyboard on any supported distro, or the hotkeys are not available in combinations but a unique code to use.
 
Old 08-25-2021, 02:44 AM   #8
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 676

Original Poster
Rep: Reputation: 7
I found the answer ! there's a built in app "showkey" to display the "scancode" of a standard keyboard in hex mode, simply issue the command "showkey -a" on terminal and press some keys to see the codes, nothing shown when press the hotkeys, so we can't emulate the hotkeys with a standard keyboard they are not standard codes, full stop !

Last edited by joboy; 08-25-2021 at 02:45 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Hotkeys in gnumeric. Creating gnumeric/system hotkeys Alex McGregor Linux - Newbie 1 08-30-2014 12:20 PM
[SOLVED] Hotkeys in gnumeric. Creating gnumeric/system hotkeys Alex McGregor Linux - Software 2 08-30-2014 12:14 PM
RH 9.0 glibc rpm says it needs glibc-common, but glibc-common is installed whitshade Red Hat 2 04-28-2007 05:49 PM
BOGUS.common.04y -> /home/common/Mailbox jayakrishnan Linux - Networking 0 11-19-2005 04:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration