Keyboard Custom Shortcuts...quick shortcut

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
motoryzen
Level 10
Level 10
Posts: 3474
Joined: Sun Dec 08, 2019 12:25 am

Keyboard Custom Shortcuts...quick shortcut

Post by motoryzen »

Code: Select all

nemo 5.6.4
System:
  Kernel: 6.1.8-060108-generic x86_64 bits: 64 compiler: N/A
    Desktop: Cinnamon 5.6.8 tk: GTK 3.24.33 wm: muffin dm: LightDM
    Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop Mobo: ASRock model: X570 Taichi serial: <superuser required>
    BIOS: American Megatrends v: P5.00 date: 10/19/2022
Memory:
  RAM: total: 125.71 GiB used: 7.24 GiB (5.8%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: 12-core model: AMD Ryzen 9 5900X bits: 64 type: MT MCP arch: Zen 3
    rev: 0 cache: L1: 768 KiB L2: 6 MiB L3: 64 MiB
  Speed (MHz): avg: 2941 high: 3700 min/max: 2200/4950 boost: enabled
    cores: 1: 3700 2: 2200 3: 3700 4: 2200 5: 3598 6: 2878 7: 2880 8: 2200
    9: 2878 10: 2970 11: 2879 12: 3600 13: 3597 14: 3700 15: 2200 16: 2879
    17: 3700 18: 2200 19: 2880 20: 2880 21: 2880 22: 2200 23: 2200 24: 3591
    bogomips: 177609
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD driver: amdgpu v: kernel pcie: speed: 16 GT/s lanes: 16
    ports: active: DP-1 empty: DP-2,DP-3,HDMI-A-1 bus-ID: 0e:00.0
    chip-ID: 1002:744c
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu
    gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96
  Monitor-1: DisplayPort-0 mapped: DP-1 model: ViewSonic VSC XG320U
    res: 3840x2160 dpi: 102 diag: 484mm (19.1")
  OpenGL:
    renderer: GFX1100 (gfx1100 LLVM 15.0.7 DRM 3.49 6.1.8-060108-generic)
    v: 4.6 Mesa 23.0.1 - kisak-mesa PPA direct render: Yes
Audio:
  Device-1: AMD driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
    lanes: 16 bus-ID: 0e:00.1 chip-ID: 1002:ab30
  Device-2: AMD Starship/Matisse HD Audio vendor: ASRock
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 10:00.4 chip-ID: 1022:1487
  Sound Server-1: ALSA v: k6.1.8-060108-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel I211 Gigabit Network vendor: ASRock driver: igb v: kernel
    pcie: speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 06:00.0
    chip-ID: 8086:1539
  IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 3-2:2 chip-ID: 8087:0029
  Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: <filter>
Drives:
  Local Storage: total: 23.65 TiB used: 14.09 TiB (59.6%)
  ID-1: /dev/nvme0n1 vendor: Corsair model: Corsair MP600 PRO XT
    size: 3.64 TiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 30.9 C
  ID-2: /dev/sda vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-3: /dev/sdb vendor: Samsung model: SSD 860 EVO 4TB size: 3.64 TiB
    speed: 6.0 Gb/s serial: <filter>
  ID-4: /dev/sdc vendor: Toshiba model: HDWR31G size: 14.55 TiB
    speed: 6.0 Gb/s serial: <filter>
  ID-5: /dev/sdd type: USB vendor: Samsung model: SSD 860 EVO 1TB
    size: 931.51 GiB serial: <filter>
Partition:
  ID-1: / size: 97.87 GiB used: 39.46 GiB (40.3%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 510 MiB used: 31.4 MiB (6.2%) fs: vfat
    dev: /dev/nvme0n1p4
  ID-3: /home size: 3.48 TiB used: 1.08 TiB (30.9%) fs: ext4
    dev: /dev/nvme0n1p3
  ID-4: /media/tpcs/USB STICK size: 915.82 GiB used: 30.29 GiB (3.3%)
    fs: ext4 dev: /dev/sdd1
  ID-5: /mnt/16TB Toshiba hdd size: 14.44 TiB used: 11.82 TiB (81.9%)
    fs: ext4 dev: /dev/sdc
  ID-6: /mnt/GoPro 1TB Backup size: 915.82 GiB used: 53.61 GiB (5.9%)
    fs: ext4 dev: /dev/sda1
  ID-7: /mnt/sdb1 rsyncbackup size: 3.58 TiB used: 1.07 TiB (30.0%)
    fs: ext4 dev: /dev/sdb1
Swap:
  ID-1: swap-1 type: file size: 10 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 56.0 C
    mem: 76.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 509
Repos:
  Packages: 2900 apt: 2871 flatpak: 29
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/cappelikan-ppa-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/cappelikan-ppa-jammy.gpg] https://ppa.launchpadcontent.net/cappelikan/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/ernstp-mesarc-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/ernstp-mesarc-jammy.gpg] https://ppa.launchpadcontent.net/ernstp/mesarc/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/kisak-kisak-mesa-jammy.list
    1: deb [arch=amd64,i386 signed-by=/etc/apt/keyrings/kisak-kisak-mesa-jammy.gpg] https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/lunarg-vulkan-1.3.236-jammy.list
    1: deb https://packages.lunarg.com/vulkan/1.3.236 jammy main
    2: deb-src https://packages.lunarg.com/vulkan/1.3.236 jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com vera main upstream import backport
    2: deb http://mirror.brightridge.com/ubuntuarchive jammy main restricted universe multiverse
    3: deb http://mirror.brightridge.com/ubuntuarchive jammy-updates main restricted universe multiverse
    4: deb http://mirror.brightridge.com/ubuntuarchive jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/openshot_developers-ppa-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/openshot_developers-ppa-jammy.gpg] https://ppa.launchpadcontent.net/openshot.developers/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/pcsx2-team-pcsx2-daily-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/pcsx2-team-pcsx2-daily-jammy.gpg] https://ppa.launchpadcontent.net/pcsx2-team/pcsx2-daily/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
    1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/teejee2008-ppa-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/teejee2008-ppa-jammy.gpg] https://ppa.launchpadcontent.net/teejee2008/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/winehq-focal.sources
    1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/winehq-jammy.sources
    1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu jammy main
Info:
  Processes: 470 Uptime: 8h 29m Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.3.0 alt: 11/12 Shell: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.13
Currently the best I've figured out how to access the " Custom Shorcuts" tab via two key combo is the following below in LM 21.1 Cinnamon

1. Create two key combo to launch cinnamon-settings keyboard . I chose super+F12 for this
2. I use xdotool and created the command below

xdotool key super+F12 sleep 0.2 key "Control_L+Tab" sleep 0.18 key "Return" sleep 0.15 key "Shift+Tab" key "End" key "Alt+F10" and assigned the hotkey combo of super+k

The problem is regardless of the . sleep ...number... If it's been a good while ( say easily more than 10 minutes) since the last time I used super+k together. It will launch cinnamon-settings keyboard, but it will only maximize aka perform the ALT+F10 function at the end instead of all the in between keystrikes == ctrl+tab, pressing Return and Shift+Tab and End

Now if I close it regardless of how, and then try super+k again..It works as it should

I'd like to know if there is a better way to do this...such as maybe some extended version of the command cinnamon-settings keyboard

I've tried :

cinnamon-settings keyboard shortcuts
cinnamon-settings keyboard;shortcuts
cinnamon-settings keyboard; shortcuts

cinnamon-settings keyboard:shortcuts
cinnamon-settings keyboard: shortcuts
cinnamon-settings keyboard :shortcuts

cinnamon-settings keyboard,shortcuts
cinnamon-settings keyboard, shortcuts
cinnamon-settings keyboard ,shortcuts

cinnamon-settings keyboard-shortcuts
cinnamon-settings keyboard- shortcuts
cinnamon-settings keyboard -shortcuts
cinnamon-settings keyboard - shortcuts

and of course all of those combinations with the word " shortcuts" capitalized with first letter..no dice

Is there a simpler way I'm missing here? An internet search only yields how to create keyboard shortcuts...not a way to directly launch straight to accessing Custom Shortcuts within the Keyboard Shortcuts ...then Shortcuts button at top and then Custom Shortcuts tab on the left with my xdotool idea
Last edited by LockBot on Sun Oct 01, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
Locked

Return to “Software & Applications”