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
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.