-1

What is the proper syntax for adding keyboard shortcuts in xfce4? From the existing shortcuts, I noticed that every shortcuts command is not the same. Different kind of syntax is used for different functions. Can anybody tell me the general rules?

echo -e "Version $(lsb_release -a)" && echo -e "Session: $DESKTOP_SESSION" && echo -e "Desktop: $XDG_CURRENT_DESKTOP"

No LSB modules are available. 
Version Distributor ID: Ubuntu 
Description: Ubuntu 18.04.1 LTS 
Release: 18.04 
Codename: bionic 
Session: xfce 
Desktop: XFCE
DK Bose
  • 42,548
  • 23
  • 127
  • 221
Niranjan
  • 257
  • What is the exact problem you're facing? And which distro are you using? What is the output of echo -e "Version $(lsb_release -a)" && echo -e "Session: $DESKTOP_SESSION" && echo -e "Desktop: $XDG_CURRENT_DESKTOP"? – DK Bose Jan 08 '19 at 16:52
  • No LSB modules are available. Version Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 Codename: bionic Session: xfce Desktop: XFCE – Niranjan Jan 08 '19 at 17:12
  • So what about your actual question? Which keyboard shortcut do you want to add/change? And what difficulty are you facing? – DK Bose Jan 09 '19 at 01:04
  • It is not actually a difficulty. I just wanted to know the general syntax to make a keyboard shortcut. Question is not specifically designed for a particular application. If it is very much complex, experts can share links from where I can learn it. – Niranjan Jan 09 '19 at 01:09

1 Answers1

0

There are several resources available and these can be found by searching the internet for xfce4 keyboard shortcuts or something more specific.

The primary source is the FAQ.

Another good resource is the XFCE forum. Search the site for what you need. Sign up and post questions there!

Obviously, searching Ask Ubuntu is useful as well! For example: Where does XFCE store the keyboard shortcuts?

More resources include other Stack Exchange sites and forums for distros that offer XFCE as a desktop environment and blogs or tech sites:

A caution is that you should keep in mind that XFCE, even though it's relatively stable, is evolving. Applications that used GTK2 in the past may now use GTK3. That can have consequences on how keyboard shortcuts work. So make sure you refer to sources that deal with your version of XFCE.

Also remember that XFCE, and other desktop environments, have separate graphical user interfaces to set shortcuts for applications and shortcuts for manipulating your window manager which, in XFCE, is xfwm4.


Most of the above deals with applications installed from the repositories or, in the case of Ubuntu and its flavors, from personal private archives.

However, we now have AppImages, snaps and flatpaks as well. Creating shortcuts to launch such applications maybe different. Again, asking questions about specific applications will probably get you the answers you need.

DK Bose
  • 42,548
  • 23
  • 127
  • 221