There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

pathief OP , (edited )
@pathief@lemmy.world avatar

I’m very happy to report that I found a solution to the problem: keyd. It’s amazing.

Instructions on the github project are crystal clear, but I’ll leave some instructions below for Arch Users

yay -S keyd

sudo systemctl enable keyd && sudo systemctl start keyd

Now you can configure the /etc/keyd/default.conf file to your hearts desire. keyd is very feature rich, check the man page to see everything you can do. You can even add layers to your keyboard. Very sweet.

My personal configuration so far (I will definitely expand it later when I bump into more problems)


<span style="color:#323232;">[ids]
</span><span style="color:#323232;">*
</span><span style="color:#323232;">
</span><span style="color:#323232;">[main]
</span><span style="color:#323232;">' = oneshotm(apostrophe, ')
</span><span style="color:#323232;">
</span><span style="color:#323232;">[apostrophe]
</span><span style="color:#323232;">a = a
</span><span style="color:#323232;">b = macro(space backspace apostrophe space b)
</span><span style="color:#323232;">c = macro(backspace G-,)
</span><span style="color:#323232;">d = macro(space backspace apostrophe space d)
</span><span style="color:#323232;">e = e
</span><span style="color:#323232;">f = macro(space backspace apostrophe space f)
</span><span style="color:#323232;">g = macro(backspace apostrophe space g)
</span><span style="color:#323232;">h = macro(space backspace apostrophe space h)
</span><span style="color:#323232;">i = i
</span><span style="color:#323232;">j = macro(space backspace apostrophe space j)
</span><span style="color:#323232;">k = macro(backspace apostrophe space k)
</span><span style="color:#323232;">l = macro(backspace apostrophe space l)
</span><span style="color:#323232;">m = macro(backspace apostrophe space m)
</span><span style="color:#323232;">n = macro(backspace apostrophe space n)
</span><span style="color:#323232;">o = o
</span><span style="color:#323232;">p = macro(space backspace apostrophe space p)
</span><span style="color:#323232;">q = macro(space backspace apostrophe space q)
</span><span style="color:#323232;">r = macro(backspace apostrophe space r)
</span><span style="color:#323232;">s = macro(backspace apostrophe space s)
</span><span style="color:#323232;">t = macro(backspace apostrophe space t)
</span><span style="color:#323232;">u = u
</span><span style="color:#323232;">v = macro(space backspace apostrophe space v)
</span><span style="color:#323232;">w = macro(backspace apostrophe space w)
</span><span style="color:#323232;">x = macro(space backspace apostrophe space x)
</span><span style="color:#323232;">y = macro(backspace apostrophe space y)
</span><span style="color:#323232;">z = macro(backspace apostrophe space z)
</span><span style="color:#323232;">
</span>

After editing /etc/keyd/default.conf make sure you run sudo keyd reload

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines