Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
faq [2013/05/20 11:50] mikefaq [2018/11/14 22:57] – [Misc] alexxcons
Line 1: Line 1:
 +----
 ====== Frequently Asked Questions ====== ====== Frequently Asked Questions ======
- +---- 
-===== Editable Menu Accelerators ===== +=== How to pronounce Xfce ? === 
- +“Ecks Eff See Eee” 
-A number of Xfce applications (Xfce Terminal and Thunar for example) support the standard GTK+ way of changing shortcuts: simply hover over the menu option with the mouse pointer and press the keyboard shortcut you want to rebind it to.+---- 
 +=== What does it mean ? === 
 +The name Xfce originally stood for XForms Common Environment, but since then, Xfce was rewritten twice and doesn't use XForms toolkit anymore. The name survived, but the F is no longer capitalized (not “XFce”, but “Xfce”). Currently the abbreviation doesn't stand for anything (suggestion: X Freakin' Cool Environment). It's not pronounced “X-Face”. There is no “a” in it. 
 +---- 
 +=== What does the logo mean ? === 
 +A mouse, obviously, for all kinds of reasons like world domination and monsters and such. 
 +---- 
 +=== On which platforms does Xfce run currently ? === 
 +Xfce is developed to be versatile. It is currently supported on Linux, Solaris and BSD, but has been known to run in some shape or form on IRIX, MacOS X, and Windows. 
 +---- 
 +=== Under which license is Xfce distributed ? === 
 +Xfce 4 components are licensed under free or open source licenses: GPL or BSDL for applications and LGPL or BSDL for libraries. Read the documentation, the source code, or the Xfce homepage for more information. 
 +---- 
 +=== How long between two official release ? === 
 +There is no set schedule, but there are goals the developers try to meet. That said, the creation of deadlines does not lend itself well to those working without compensation. So the overall goal is to release a new version as certain goals are reached. Unfortunately, that does not allow the advanced statement of any release schedule. Please check back often to read any news releases about the product. 
 +---- 
 +===== Keyboard related ===== 
 +---- 
 +=== How to configure Shortcuts / Hotkeys / Menu Accelerators ? === 
 +A number of Xfce applications (Thunarfor example) support the standard GTK2 way of changing shortcuts: simply hover over the menu option with the mouse pointer and press the keyboard shortcut you want to rebind it to.
  
 To delete a keyboard assignment, press the {key>Backspace} key while you are on the menu entry. To delete a keyboard assignment, press the {key>Backspace} key while you are on the menu entry.
Line 15: Line 35:
 <note warning>When ''xfsettingsd'' is running you must change the setting with the Xfce GUI, not through the ''.gtkrc-2.0'' file.</note> <note warning>When ''xfsettingsd'' is running you must change the setting with the Xfce GUI, not through the ''.gtkrc-2.0'' file.</note>
  
-<note tip>In the case of Xfce4-terminal, you have to open tabs to edit all the Alt+N entries.</note>+<note important>This functionality has been disabled since GTK3 which means that Xfce apps that have migrated to GTK3 (such as xfce4-terminal) do not support it.\\ 
 +Refer to specific app's documentation to learn how to configure its shortcuts.</note> 
 +---- 
 +=== Is there some way to call the menu with the keyboard in the xfce? === 
 +Assign a key with the Keyboard Settings -> Shortcuts to the command ''xfdesktop -menu''. (This does not work reliably since Linux Kernel is tickless, so xfdesktop -menu needs a fix) The menu will popup where your mouse is located. You can also use ''xfce4-popup-applicationsmenu'' to popup the panel menu (also provided by xfdesktop and make sure you have the plugin in your panel ^_~). 
 +---- 
 +=== Is it possible to focus the Verve plugin with a key? === 
 +Assign a key to the command ''verve-focus'' 
 +---- 
 +=== My windows button does not work in the Keyboard Settings > Shortcuts. === 
 +The windows button (also known as the superkey) not working as a modifier is related to the toolkit, GTK+ in the case of Xfce. If you want to have the windows-key working we recommend you to upgrade GTK+ to at least version 2.10.0.  
 +---- 
 +=== How do I get numlock to start on login? === 
 +There are two possibilities to achieve this. Or you should use a display manager that turns the numlock on (eg. gdmcheck the settings) or you can use a little program called [[http://freshmeat.net/projects/numlockx|numlockx]],  adding ''numlockx'' on in your .xinitrc will do the job. 
 +---- 
 +=== Is it possible to use Media keys in the Shortcut Editor? === 
 +Use xmodmap to assign keycodes to your Media keys to make them available for the Xfce shortcut editor: 
 + 
 +To determine keycodes of the multimedia keys use the program ''xev''. Create a ''.Xmodmap'' file in your $HOME directory containing those keycodes and assign keysyms to them. Example:  
 + 
 +   keycode 162 = XF86AudioPlay 
 +   keycode 164 = XF86AudioStop 
 +   keycode 160 = XF86AudioMute 
 +   keycode 144 = XF86AudioPrev 
 +   keycode 153 = XF86AudioNext 
 +   keycode 176 = XF86AudioRaiseVolume 
 +   keycode 174 = XF86AudioLowerVolume 
 +   keycode 237 = XF86AudioMedia 
 +   keycode 230 = XF86Favorites 
 +   keycode 236 = XF86Mail 
 +   keycode 178 = XF86WWW 
 + 
 +All possible keysyms can be found in /usr/lib/X11/XKeysymDB or /usr/share/X11/XKeysymDB. To ensure that the .Xmodmap file is loaded when you start Xfce add ''/usr/bin/xmodmap $HOME/.Xmodmap'' to your ''.xinitrc'' or ''.xprofile'' file. When you start the shortcut editor the assigned keysyms should show up when you press one of your multimedia keys. Now it is possible to assign a command to them. 
 +Note: Several problems with auto-loading of .Xmodmap files at xfce startup have been reported (also when issued as autostart command). Search the xfce bugzilla sites for current problems. As a workaround, run ''xmodmap ~/.Xmodmap'' by hand every time, or try out 
 +editing the somewhat less straightforward xkb configuration files. 
 +---- 
 +===How to determine keycodes with ''xev''=== 
 +All keyboards are different, keycodes can differ(eg. my keyboard with few keycodes above, not working) and of course not everyone has time to search XKeysymDB file. You can acquire keycodes from your keyboard with xev. 
 +In terminal type: 
 + 
 + 
 +    xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p' 
 +then press key of which keycode you need, eg. I press "Stop" and got output "174 XF86AudioStop"
 +---- 
 +===What should I do to change keyboard layout?=== 
 +There are several options. One is to use ''xfce4-xkb-plugin'', see http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin .  You can also use the ''setxkbmap'' command with the two letter keyboard code as argument; you can edit your X server configuration file to choose a different keyboard layout (change the value after ''Option "XkbLayout"'', e.g.: ''Option "XkbLayout" "dvorak"''). 
 +---- 
 +===Is it possible to change the default shortcut keys?=== 
 +Yes, of course... Keyboard shortcuts are defined on two locations. The shortcuts to handle the window manager are defined in the Settings Manager > Window Manager Settings > Keyboard. The ''Default'' theme can not be changed, but when you add a theme you can change that one. More global keyboard shortcuts, like volume adjustements, can be found in Settings Manager > Keyboard Preferences > Shortcuts. Again you need to add a new theme before you can start customizing it. 
 +---- 
 +===How can I see a list of all the shortcut keys?=== 
 +Use the following command, which will produce a nicely formatted text list to standard output: 
 +  xfconf-query -c xfce4-keyboard-shortcuts -l -v | cut -d'/' -f4 | awk '{printf "%30s", $2; print "\t" $1}' | sort | uniq 
 +If you want to put this list into a file, add ''> filename'' at the end of command. 
 +---- 
 +===How do I make a shortcut that doesn't steal focus?=== 
 +You can't. 
 +---- 
 +===== Application Menu ===== 
 +---- 
 +=== The left-click to get the menu on the title bar menu button seems a little slow. How do I change that? === 
 +The left-button single-click menu button display speed is linked to the double click speed. If one wants the menu to appear quicker, just change the double click speed in the Xfce 4 Settings Manager Mouse properties to be faster. Or, one can right click on the title bar to get the menu displayed almost instantly without adjusting the double-click speed. The menu will display both ways. 
 +---- 
 +=== How do I display a list of all windows? === 
 +There are two possibilities. The first is by middle clicking on the desktop (if you have xfdesktop running) or you can add the window list plugin to the panel (is provided with a ''xfce4-popup-windowlist'' command). 
 +---- 
 +=== How to edit the auto generated menu with the menu editor? === 
 +  cp ~/.cache/xfce4/desktop/menu-cache-name-of-the-generated-file.xml ~/.config/xfce4/desktop/menu2.xml 
 +  cd ~/.config/xfce4/desktop/ 
 +  cat menu.xml > menu3.xml 
 +  cat menu2.xml >> menu3.xml 
 +  mv menu.xml menu.orig.xml 
 +  mv menu3.xml menu.xml 
 + 
 +Now, you already have a menu with all the categories in the main tree with some duplicates, but you must first edit menu.xml with your favorite editor and remove the 4 following lines in the middle of the file, otherwise the menu editor will complain about a wrong format: 
 + 
 +  </xfdesktop-menu> 
 +  <?xml version="1.0" encoding="UTF-8"?> 
 +  <!DOCTYPE xfdesktop-menu> 
 +   
 +  <xfdesktop-menu> 
 + 
 +That's all. Now you can run the menu editor, remove the few duplicates and edit all as you like. 
 + 
 +Settings > Desktop > Menu > Menu Editor 
 + 
 +Notes: by removing the "system" line, you will remove all the duplicates menu entries from the auto generated file. So, if it is changed in this auto generated file, they don't appear anymore, but you will get rid of most of the duplicates. 
 + 
 +To restore the original menu, just do in a terminal: 
 + 
 +  mv menu.xml menu3.xml; mv menu.orig.xml menu.xml 
 + 
 +---- 
 +===What are the exact commands used when launching the 'Setting' applications?=== 
 +Please see [[https://wiki.xfce.org/mcs-manager_plugin_parameters|this wiki entry]]. 
 +---- 
 + 
 +===== Using a different Window Manager ===== 
 +---- 
 +Please refer to [[https://wiki.xfce.org/howto:other_window_manager|this manual page]] 
 +---- 
 + 
 +===== Desktop Manager ===== 
 +---- 
 +=== I want to disable the trash, home and filesystem icons on my desktop, is that possible? === 
 +Yes. In Settings > Desktop > Icons > Appearance, select 'None'
 +---- 
 +=== My Xfce Desktop doesn't have any shortcut icons, why? === 
 +You can adjust this via Settings > Desktop > Icons > Appearance. 
 +---- 
 +===== Panel ===== 
 +---- 
 +=== Is it possible to change the icon used by the icon box or task bar for a given application? === 
 +It's not possible. This setting has to be managed by the application itself. 
 +---- 
 +=== I've installed a plug-in for the panel, but the indicators don't use different colors. What can I do? === 
 +First, try another Gtk theme, since some themes override the color. If it doesn't solve the problem, you probably have an old ~/.gtkrc-2.0 : remove it and try again.  
 +---- 
 +=== How do I set the panel layer in Xfce 4.2 and 4.4? === 
 +In order to improve focus management this option was removed. 
 +---- 
 +=== Is there a world clock applet? === 
 +You need to add the Orage Clock to the panel. Then you can middle-click the clock to open the "Global Time" window, to which you can add any number of clocks. 
 +---- 
 +===== Themes ===== 
 +---- 
 +=== The gtk-xfce-engine themes do not appear in the "user interface" settings dialog === 
 +The gtk-xfce-engine-2 package has to be installed using same prefix as Gtk2 itself. When installed from sources, the engine is, by default, installed in /usr/local, while Gtk2 is often installed in /usr. Just install gtk-xfce-engine-2 again using ''./configure --prefix=/usr'', and the themes will hopefully become available. 
 +---- 
 +=== How can I customize my Xfce desktop environment === 
 +You can read everything about changing themes in the [[https://wiki.xfce.org/howto:install_new_themes|How to install new themes]] wiki page. 
 +---- 
 +===== Misc ===== 
 +---- 
 +=== Why the file chooser is very slow ? === 
 +It is more likely that the icon theme you are using renders too many SVGs making it very hard to scroll.  Switch to another icon theme. 
 +---- 
 +=== Why the response to Terminal application is slow? === 
 +For NVidia users, add this to your settings: 
 + 
 +  nvidia-settings -a InitialPixmapPlacement=0 -a GlyphCache=1 
 + 
 +For all users, your driver may not support argb visuals very well.  You can disable it for Terminal by exporting the environment variable XLIB_SKIP_ARGB_VISUALS=1.  To disable it for Terminal only, put the next lines inside ~/bin/Terminal for example (given you have a personal bin directory, you can also put it inside /usr/local/bin): 
 + 
 +  #!/bin/sh 
 +  XLIB_SKIP_ARGB_VISUALS=1 /usr/bin/Terminal 
 + 
 +---- 
 +=== How do I enable panel transparency and window shadows? === 
 +Enable the Composite extension in the X11 config file and make sure Xfwm4 is compiled with embedded compositor (''xfwm4 -V''). 
 + 
 +   Section "Extensions" 
 +     Option "Composite" "Enable" 
 +   EndSection 
 + 
 +Pay attention: recent versions of X.org turn composite on by default. If you experience speed problems or any other glitches you have to disable it explicitly: 
 + 
 +   Section "Extensions" 
 +     Option "Composite" "Disable" 
 +   EndSection 
 + 
 +If you have a reasonably new X.org (7.1, possibly 7.0) and your graphics card is listed as "supported" at [[http://www.x.org/wiki/ExaStatus|X.org's EXA status page]], you should also enable EXA by adding this line to the card's Device section in your xorg.conf: 
 + 
 +     Option "AccelMethod" "exa" 
 + 
 +Enabling EXA will normally provide a speed increase for compositing and font rendering, but may cause a small reduction in OpenGL rendering speed. 
 + 
 +Once the Composite extension is activated, go to ''Settings -> Panel'' and ''Settings -> Window Manager Tweaks''
 + 
 +== ATI users (X.org radeon driver) == 
 + 
 +ATI R3xx/R4xx (9500 to X850, X1050) users may also need this in the ''device'' section for the card: 
 + 
 +   Option "MigrationHeuristic" "greedy" 
 +   Option "AccelDFS" "true" # but see radeon(4) 
 +   Option "EnablePageFlip" "true" 
 +   Option "EnableDepthMoves" "true" 
 + 
 +== nVidia users == 
 + 
 +NVidia users may also need this in the ''device'' section for the card: 
 + 
 +   Option "RenderAccel" "true" 
 +   Option "AllowGLXWithComposite" "true" 
 + 
 +Read ''/usr/share/doc/nvidia-glx/README.txt.gz'' (and search for "RenderAccel" and "AllowGLXWithComposite") to see if they are recommended at all for your system. At least for recent NVidia GLX drivers, "AllowGLXWithComposite" "true" is only for X servers older than X11R6.9.0, and "RenderAccel" "true" is the default setting, and therefore not required. If you are running a recent NVidia driver and a recent xorg-server, you do not need these settings (and should not use the "AllowGLXWithComposite" "true" setting). 
 +---- 
 +=== Kiosk - I want to use Xfce in a corporate environment and not let users modify their menu. === 
 +Use [[https://wiki.xfce.org/howto/kiosk_mode|kiosk mode]] (see [[http://www.xfce.org/documentation/4.2/manuals/xfce4-session#xfsm-kiosk-mode|xfce4-session]]  and [[http://www.xfce.org/documentation/4.2/manuals/xfce4-panel#panel-kiosk|panel]] docs). 
 +---- 
 +=== Using a different Window Manager === 
 +Please refer to [[https://wiki.xfce.org/howto:other_window_manager|this manual page]] 
 +----