Make hotkeys reach max volume?

Hello everyone. My laptop volume is a bit too low at the maximum volume attainable with the hotkeys, but acceptable with the maximum volume attainable with the system tray volume slider. I’m tired of having to leave full-screen to adjust the volume. Is there any way to make my hotkeys reach the extra volume that the slider can reach? I wouldn’t mind mapping new hotkeys for it if I need to. Thanks for any help.

System:    Kernel: 5.10.41-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 
           info: xfce4-panel wm: xfwm4 dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux 
Machine:   Type: Laptop System: LENOVO product: 20AN009CUS v: ThinkPad T440p serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: LENOVO model: 20AN009CUS v: 0B98401 PRO serial: <filter> UEFI: LENOVO v: GLETA1WW (2.55 ) date: 04/20/2020 
Battery:   ID-1: BAT0 charge: 45.6 Wh (100.0%) condition: 45.6/56.2 Wh (81.2%) volts: 12.4 min: 10.8 model: LGC 45N1147 
           type: Li-ion serial: <filter> status: Full 
Memory:    RAM: total: 15.52 GiB used: 2.7 GiB (17.4%) 
           Array-1: capacity: 16 GiB slots: 2 EC: None max-module-size: 8 GiB note: est. 
           Device-1: ChannelA-DIMM0 size: 8 GiB speed: 1600 MT/s type: DDR3 detail: synchronous bus-width: 64 bits 
           total: 64 bits manufacturer: 1324 part-no: N/A serial: N/A 
           Device-2: ChannelB-DIMM0 size: 8 GiB speed: 1600 MT/s type: DDR3 detail: synchronous bus-width: 64 bits 
           total: 64 bits manufacturer: 0000 part-no: N/A serial: N/A 
CPU:       Info: Quad Core model: Intel Core i7-4700MQ bits: 64 type: MT MCP arch: Haswell rev: 3 cache: L1: 64 KiB L2: 6 MiB 
           L3: 6 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 38324 
           Speed: 2392 MHz min/max: 800/2400 MHz volts: 0.8 V ext-clock: 100 MHz Core speeds (MHz): 1: 2392 2: 2392 3: 2394 
           4: 2394 5: 2394 6: 2394 7: 2394 8: 2395 
Graphics:  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0 
           chip-ID: 8086:0416 class-ID: 0300 
           Device-2: NVIDIA GK208M [GeForce GT 730M] vendor: Lenovo driver: nvidia v: 465.31 bus-ID: 02:00.0 
           chip-ID: 10de:1290 class-ID: 0300 
           Device-3: Acer SunplusIT Integrated Camera type: USB driver: uvcvideo bus-ID: 2-12:8 chip-ID: 5986:0268 
           class-ID: 0e02 
           Display: server: X.Org 1.20.11 driver: loaded: modesetting,nvidia resolution: 1920x1080 s-dpi: 96 
           OpenGL: renderer: NVIDIA GeForce GT 730M/PCIe/SSE2 v: 4.6.0 NVIDIA 465.31 direct render: Yes 
Audio:     Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: Lenovo ThinkPad T440p driver: snd_hda_intel 
           v: kernel bus-ID: 00:03.0 chip-ID: 8086:0c0c class-ID: 0403 
           Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Lenovo ThinkPad T440p driver: snd_hda_intel 
           v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20 class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.41-1-MANJARO running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
           Sound Server-4: PipeWire v: 0.3.28 running: no 
Network:   Device-1: Intel Ethernet I217-LM vendor: Lenovo ThinkPad T440p driver: e1000e v: kernel port: 4080 bus-ID: 00:19.0 
           chip-ID: 8086:153a class-ID: 0200 
           IF: enp0s25 state: down mac: <filter> 
           Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: 3000 bus-ID: 04:00.0 chip-ID: 8086:08b2 
           class-ID: 0280 
           IF: wlp4s0 state: up mac: <filter> 
           Device-3: Qualcomm Atheros AR9271 802.11n type: USB driver: ath9k_htc bus-ID: 2-6:11 chip-ID: 0cf3:9271 
           class-ID: ff00 serial: <filter> 
           IF: wlp0s20u6 state: down mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 690.93 GiB (74.2%) 
           ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS721010A9E630 size: 931.51 GiB speed: 6.0 Gb/s rotation: 7200 rpm 
           serial: <filter> rev: A3U0 scheme: GPT 
Partition: ID-1: / size: 31.25 GiB used: 24.59 GiB (78.7%) fs: ext4 dev: /dev/sda2 
           ID-2: /boot/efi size: 98.4 MiB used: 422 KiB (0.4%) fs: vfat dev: /dev/sda1 
           ID-3: /home size: 789.8 GiB used: 666.34 GiB (84.4%) fs: ext4 dev: /dev/sda4 
Swap:      ID-1: swap-1 type: partition size: 32 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 54.0 C mobo: 0.0 C gpu: nvidia temp: 50 C 
           Fan Speeds (RPM): cpu: 0 
Info:      Processes: 246 Uptime: 4h 04m wakeups: 2 Init: systemd v: 247 Compilers: gcc: 11.1.0 alt: 6 Packages: pacman: 1561 
           Shell: Bash (sudo) v: 5.1.8 running-in: terminator inxi: 3.3.04

Have you tried changing your keyboard layout ? Specifying the right brand/model may allow you to handle its multimedia keys.
https://docs.xfce.org/xfce/xfce4-settings/keyboard#layout

1 Like

I see a few IBM Thinkpad layouts, but no Lenovos. I saw where it mentioned I may need other packages to get the proper layout, so I did pamac searches for lenovo, t440, and thinkpad and found some cool stuff to look at. Thank you.

tpkbdctl-git                                                                                                                                                                 20150819-1           AUR 
    A tool that can be used to control features of the "Lenovo ThinkPad USB Keyboard with TrackPoint"
tpfand-git
tpb                                                                                                                                                                          0.6.4-2              AUR 
    Access the special buttons on a ThinkPad-Laptop using xosd

and much more not pertaining to keyboard, but a grep for keyboard reveals only 4 entries and none look like a keyboard layout except maybe the one for the USB and the one for Brazilian keyboards.

[user@laptop ~]$ pamac search thinkpad | grep -i keyboard
    the "Lenovo ThinkPad USB Keyboard with
    Auto toggle keyboard back-lighting on Thinkpads
    Keyboard backlight switcher for Thinkpad X1
    Brazilian ABNT-2 Thinkpad keyboard layout for
[user@laptop ~]$

so, I’m hoping for another answer. I will try the IBM Thinkpad layouts though.

I got this one figured out…

  1. I installed pamixer from community repo:
    pamac install pamixer

  2. In Settings > Keyboard > Application Shortcuts Tab I mapped these commands to the Super Button plus my usual volume keys (but you can map them wherever you want).

a.) To raise volume:
pamixer --allow-boost -i 5

b.) To lower volume:
pamixer --allow-boost -d 5

c.) To toggle mute:
pamixer -t

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.