You are not logged in.

#1 2025-08-04 11:50

theasmitkid
Member
From: NCT of Delhi
Registered: 2025-01-26
Posts: 345

TDE: Configure Win Key to Allow Win+<Key> Combinations

This guide shows how to bind the Win key to open the Start menu using xcape, and how to automate it using Trinity Desktop’s tools.

Step 1: Install xcape 
Open a terminal and run:

sudo apt-get install xcape -y

Step 2: Set fallback shortcut via Control Panel

  • Open Control Panel

  • Go to Regional & Accessibility

  • Click on Keyboard Shortcuts

  • Save your current scheme as DEFAULT (for backup)

  • Find Popup Launch Menu

  • Click the button next to Custom

  • In Primary Shortcut, click Clear, then enter a new key combination 
    (e.g. Win+Ctrl+Z)

  • Click Apply, then OK

Step 3: Bind the Win key with xcape

Open a terminal and run:

xcape -e 'Super_L=Control_L|Super_L|Z'

Note: Replace `Control_L|Super_L|Z` with the key combo you set in Step 2.

Note: This command must be run every time you boot into Q4OS

Step 4: Automate with Trinity Autostart Manager

  1. Install the autostart manager:

    sudo apt-get install kcontrol-autostart-trinity -y
  2. Open Control PanelTDE ComponentsAutostart Manager

  3. Click Add, check Run in terminal, and enter:

    xcape -e 'Super_L=Control_L|Super_L|Z'
  4. Press Enter, name it something like startmenubind, then confirm

Step 5: Test it! 
Press and release the Win key — the Start menu should appear.

Bug Notice: 
In rare cases, with autohiding kicker, the menu may appear over the panel. Moving your mouse to the panel may cause panel to hide partially behind the menu.
Can be fixed by moving the cursor to panel to show it and then pressing win key.

Extra: Create Custom Shortcuts (e.g., Win+D to Suspend)
  • Open Control PanelRegional & AccessibilityInput Actions

  • Click New Group, name it something like My Shortcuts

  • Click New Action, name it Suspend

  • Set Action Type to: Keyboard Shortcut → Command/URL (simple)

  • Go to the Keyboard Shortcut tab and set your shortcut (e.g., Win+D)

  • In Command/URL Settings, enter:

    systemctl suspend
  • Click OK

________________

You're done!

 
Your Win key should now launch the Start menu, and you can add powerful keyboard automation easily~ Feel free to reply or share your setup tweaks!

cool

Last edited by theasmitkid (2025-08-04 11:51)


Coding & Robotics Enthusiast | Brave & Spck Editor @ Lenovo Tab 4 8 · Android 8.1 · 2GB · 16GB

Offline

#2 2025-08-12 12:41

seb3773
Member
From: France
Registered: 2023-11-01
Posts: 228

Re: TDE: Configure Win Key to Allow Win+<Key> Combinations

Thanks for this ! Very usefull, the windows key behavior was something that always bothered me, as I like to have consistent and similar keyboard shortcuts configuration between windows and q4os (for example I like to use win+R to execute a command rather than alt+F2), very good solution smile


Debian & Q4OS (TDE!!), low-level C, ASM (z80/68k/x86/ARM64), embedded systems, CPU architectures (RISC-V, binary formats, assembly), retro-computing, metal music, guitar and sci-fi.

Offline

#3 2026-04-03 05:02

GNU2Linux
Member
Registered: 2023-06-19
Posts: 5

Re: TDE: Configure Win Key to Allow Win+<Key> Combinations

This was a fantastic tutorial. I was trying to figure out something similar when I found it. I'm very particular about my keyboard shortcuts from decades of muscle memory and quite accustomed to being able to use the Windows key as a start menu opener and app launcher on other operating systems as well as also using the Windows key in combination with other keys for more frequently used keybindings.

Offline

Board footer

Powered by FluxBB