Set your own emoji shortcuts in Ubuntu / Pop_OS


How do you quickly insert a 💩 emoji when using your laptop? I just type ScrLck, p, o, o!

What is this 🧙‍♀️ craft?

In your keyboard settings, you should see an option like this:

Screenshot of the Type special characters setting.

You can set the "Compose" key to be anything you like. Personally, I use the otherwise-useless Scroll Lock button.

Now, once you press ScrLck you'll see this symbol A weird symbol..

The next few letters you type will be "absorbed" by that symbol and combined to make something new.

What's available

You can see the default symbols in /usr/share/X11/locale/en_US.UTF-8/Compose

List of symbols.

You can add your own, either in the file or in ~/.XCompose

Note!

The short-cuts you type are case-sensitive. Typing ScrLck, f, u does nothing, but typing ScrLck, F, U will get you 🖕!

Alternatives

There is a menu driven way of selecting emoji if you can't remember keyboard shortcuts.

Credit

I've shameless stolen this tip from:

Although, I've found that it does work in the browser on Wayland 🤷

🖖


Share this post on…

  • Mastodon
  • Facebook
  • LinkedIn
  • BlueSky
  • Threads
  • Reddit
  • HackerNews
  • Lobsters
  • WhatsApp
  • Telegram

What are your reckons?

All comments are moderated and may not be published immediately. Your email address will not be published.

Allowed HTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <p> <pre> <br> <img src="" alt="" title="" srcset="">