Trying to assign a lot of custom shortcuts to my keys. So, I want two key combinations which are unlikely to used by other websites/distros. I use MX Linux 21 xfce btw.

Also, is there a way to know what your systems current shortcuts are? I am pretty sure not many websites use Windows button + _____ shortcuts, so if I know what shortcuts to avoid, I can create many shortcuts as a combination of Windows Button

  • humanplayer2@lemmy.ml
    ·
    1 year ago

    Hyper + [whatever]

    If you are ready to use a bit of remapping (try keyd, it's awesome), then you can remap a key you rarely use to Hyper to get that as a direct modifier.

    You can also assign some key to activate a layer when held, but still return it's regular output when tapped. So e.g. holding A gives you a new layer, press-and-release just prints A.

    In the new layer, you can then set, say, f1 = f13... f12 = f24 and, say, esc = katakana etc., thereby getting access to a lot of keys not present on standard western keyboards, therefore not used as standard shortcuts. These you can then use directly, or in combination with standard modifiers like Ctrl, Shift...

    • 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.social
      ·
      edit-2
      1 year ago

      There's also kmonad, which is cross-platform. I think there's one more floating around out there.

      It got so that I had to use one of these, because I used an ErgoDox at my desktop. Once the muscle memory takes hold, it's hard to do without, so I run kmonad on my laptop, even though I don't really need it.

      Edit: map2 is the other one I was thinking of.

    • Yuumi@lemmy.ml
      ·
      edit-2
      1 year ago

      Wow this looks awesome.

      Do you by chance have any idea on how the special media keys are called on keyboards that have them? You know the standalone ones above the F keys (Looking to remap them)

  • CaptainJack42@discuss.tchncs.de
    ·
    1 year ago

    Alt/Ctrl+___ are usually used by applications and shortcuts containing Super+___ are usually "reserved" (it's no rule or anything but basically no application uses Super) for the DE. That's why Super is probably the best mod key for shortcuts. You can ofc use Alt+___ as well, in that case your DE/WM will just take preference over the application and the shortcut will be handled by the DE/WM instead of the application

  • frankfurt_schoolgirl [she/her]
    ·
    1 year ago

    there a way to know what your systems current shortcuts are

    Not really, besides just reading the manual. I think this is a problem for the Linux desktop actually. I would love a standard way (dbus API?) for the DE and various apps to declare their key shortcuts, and then I could view them in a pop up when I'm using the app.

  • PoisonedPrisonPanda@discuss.tchncs.de
    ·
    edit-2
    1 year ago

    shortcuts can be customized in almost any DE.

    like xfce.

    and websites use browser shortcuts, which again can be customized.

    i dont know if i understand your question well enough. but i would guess any 3 key combination of non standard shortcut combo (cmdctrl+alt) will lead to unique shortcuts.

    edit: ctrl not cmd. Im dumb.

    • starman@programming.dev
      ·
      edit-2
      1 year ago

      any 3 key combination of non standard shortcut combo (cmd+alt) will lead to unique shortcuts.

      It depends what OP is using their PC for. For example many IDEs and code editors use ctrl + alt + ... (Often even longer combinations).

  • starman@programming.dev
    ·
    edit-2
    1 year ago

    I don't know much about xfce, but there should be config file somewhere with all shortcuts, at least that's how it works in hyprland. And btw, I use super (windows) key for shortcuts related to my wayland compositor (like switch workspace, swap windows, close window, and so on). I've never run into any conflicts with this.