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 [2011/12/29 13:17] – [About Xfce] faergeekfaq [2017/03/11 08:01] killermoehre
Line 9: Line 9:
  
 === How to pronounce Xfce and what does it mean? === === How to pronounce Xfce and what does it mean? ===
-"Ecks Eff See Eee". 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 nolonger capitalized (not "XFce", but "Xfce"). Currently the acronym doesn't stand for anything (suggestion: X Freakin' Cool Environment).+"Ecks Eff See Eee". 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 nolonger capitalized (not "XFce", but "Xfce"). Currently the acronym 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? === === What does the logo mean? ===
Line 27: Line 27:
  
 ====== Installation ====== ====== Installation ======
-===== Installation Options ===== 
  
 Xfce can be installed in at least two different ways: Xfce can be installed in at least two different ways:
-  * [[http://www.xfce.org/download/building|From source code]] +  * From the package manager of your distro. It's preferred way, because you can go back, leaving no trace, if the environment Xfce is not for you (But is it possible?):
-  * From the package manager of your distro:+
     * [[http://wiki.archlinux.org/index.php/Xfce|Arch]]     * [[http://wiki.archlinux.org/index.php/Xfce|Arch]]
     * [[http://wiki.debian.org/Xfce|Debian]]     * [[http://wiki.debian.org/Xfce|Debian]]
Line 40: Line 38:
     * MidnightBSD: pkg_add -r xfce4     * MidnightBSD: pkg_add -r xfce4
     * Mythbuntu: sudo apt-get install mythbuntu-desktop     * Mythbuntu: sudo apt-get install mythbuntu-desktop
 +    * [[http://www.netbsd.org/docs/guide/en/chap-x.html#chap-x-other-window-managers|NetBSD]] (pkg_add xfce4)
     * Ubuntu: sudo apt-get install xubuntu-desktop ([[http://packages.ubuntu.com/search?keywords=xubuntu-desktop|package description]]; [[apt://xubuntu-desktop|direct install]])     * Ubuntu: sudo apt-get install xubuntu-desktop ([[http://packages.ubuntu.com/search?keywords=xubuntu-desktop|package description]]; [[apt://xubuntu-desktop|direct install]])
-===== Package manager ===== +  * [[http://www.xfce.org/download/building|From source code]]. Using this way you can build your own environment. Also you can try latest features and bug fixes.
-This is the ideal solution, if your distribution of permits. +
- +
-It also helps to go back, leaving no trace, if the environment Xfce is not for you (But is it possible?).+
  
 ====== Starting Xfce ====== ====== Starting Xfce ======
Line 118: Line 114:
 ===== Keyboard ===== ===== Keyboard =====
 === Is there some way to call the menu with the keyboard in the xfce? === === 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 reliable 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-menu'' to popup the panel menu (also provided by xfdesktop and make sure you have the plugin in your panel ^_~).+Assign a key with the Keyboard Settings -> Shortcuts to the command ''xfdesktop -menu''. (This does not work reliable 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? === === Is it possible to focus the Verve plugin with a key? ===
Line 150: Line 146:
 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 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. 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?=== ===What should I do to change keyboard layout?===
Line 157: Line 163:
 ===Is it possible to change the default shortcut keys?=== ===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. 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?=== ===How do I make a shortcut that doesn't steal focus?===
Line 215: Line 226:
  
 ===== File Manager ===== ===== File Manager =====
-You can find more information about Thunar on the [[http://thunar.xfce.org|homepage]] or in the [[http://thunar.xfce.org/pwiki/|wiki]].+You can find more information about Thunar in the [[http://docs.xfce.org/xfce/thunar/|Docs section]].
  
 === Can I disable the trash? === === Can I disable the trash? ===
Line 222: Line 233:
   - use 'SHIFT + del' to bypass the trash bin and immediately delete something for real.   - use 'SHIFT + del' to bypass the trash bin and immediately delete something for real.
   - use cron to clean the trash every now and then.   - use cron to clean the trash every now and then.
 +  - or create custom action for permanent delete(like in gnome) with action: ''rm %f'' then in context menu you'll have button "permanent delete"
  
 === I want to assign a keyboard shortcut in Thunar to "whatever action" in the menus === === I want to assign a keyboard shortcut in Thunar to "whatever action" in the menus ===
-Thunar allows you to edit menu accelerators by simply hovering over the chosen action and by clicking the new keyboard shortcut you want to assign.+Thunar allows you to edit menu accelerators by simply hovering over the chosen action and by pressing the new keyboard shortcut you want to assign.
 To activate the editable menu accelerators select the "Editable menu accelerators" entry in the User Interface Settings plugin. To activate the editable menu accelerators select the "Editable menu accelerators" entry in the User Interface Settings plugin.
  
Line 238: Line 250:
  
 === When will it support samba/network browsing? === === When will it support samba/network browsing? ===
-It already does! Just mount your shares and go to them with Thunar! Just kidding. +Thunar has had the ability to browse remote network shares (such as Samba and FTP) since Xfce 4.8/Thunar 1.2.
- +
-You are obviously asking about Thunar being able to discover remote machines on a network and mount/unmount shares from them. What you are asking for is nice, but there is no common framework for it yet that Thunar can build on. +
- +
-Thunar is designed to be a file manager, not a network file system manager. Once such a beast exists, Thunar and all other applications will be able to use it, and you can browse your samba or NFS shares in firefox or emacs, whatever. +
- +
-Short answer: not any time soon unless you write it yourself. +
- +
-For Linux users, and especially Xubuntu users, the following thread can help: Xubuntu How to: Thunar Native Windows Network BrowsingYou will need fusesmb. For me it worked like a charm with Feisty. You should read the post from EatMorePie, as it avoids unnecessary steps.+
  
 ===== Desktop Manager ===== ===== Desktop Manager =====
 === I want to disable the trash, home and filesystem icons on my desktop, is that possible? === === I want to disable the trash, home and filesystem icons on my desktop, is that possible? ===
  
-Yes, in Xfce 4.4 you can hide some of the desktop icons. You can read more about those hidden settings [[http://svn.xfce.org/svn/xfce/xfdesktop/branches/xfce_4_4/README|here]].+Yes. In Settings > Desktop > Icons > Appearanceselect 'None'. 
  
 === My Xfce Desktop doesn't have any shortcut icons, why? === === My Xfce Desktop doesn't have any shortcut icons, why? ===
-  * **Xfce 4.2**: You will need a third party program to provide you the icons. Suggestions are: pcmanfm, rox, nautilus etc etc... Beware that those programs will kill xfdesktop and the ability to use the right click menu. +  
-  * **Xfce 4.4**: You can enable the icons in : Settings > Desktop Preferences Behavior Desktop Icons. You will need to build xfdesktop with thunar-vfs and dbus support. (''./configure --enable-thunar-vfs --enable-exo'')+You can adjust this via Settings > Desktop > Icons Appearance.
  
-=== I have more questions about xfdesktop === 
-[[http://spuriousinterrupt.org/projects/xfce4#faq|Xfdesktop faq @ spuriousinterrupt]] 
  
 ===== Window Manager ===== ===== Window Manager =====
Line 267: Line 270:
     activate_action=bring|switch|none     activate_action=bring|switch|none
  
-For Xfce 4.6 you can go to //Xfce Menu > Settings > Window Manager Tweaks// and go to the tab Focus, or you need to use the //xfconf-query// tool to change the setting:+For Xfce 4.6 and 4.8 you can go to //Xfce Menu > Settings > Window Manager Tweaks// and go to the tab Focus, or you need to use the //xfconf-query// tool to change the setting:
  
     xfconf-query -c xfwm4 -p /general/activate_action -s bring|switch|none     xfconf-query -c xfwm4 -p /general/activate_action -s bring|switch|none
Line 273: Line 276:
 As the name suggests, the "bring" option moves the window requesting to be raised to the current As the name suggests, the "bring" option moves the window requesting to be raised to the current
 workspace, the "switch" option switches workspaces, and the "none" option takes no action. workspace, the "switch" option switches workspaces, and the "none" option takes no action.
 +
 +The above command edits the file "~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml" by adding or modifying this line:
 +   <property name="activate_action" type="string" value="switch"/>    "
  
 === Some of the windows are always centered, why? === === Some of the windows are always centered, why? ===
Line 290: Line 296:
 If display compositing is enabled, the Xfce Window Manager allows you to adjust the opacity of a window by hovering your mouse over the title bar, holding down the Alt key, and using the scroll wheel (down lowers the opacity, and up raises it). So use Alt+ScrollWheelUp to reset the transparency. If display compositing is enabled, the Xfce Window Manager allows you to adjust the opacity of a window by hovering your mouse over the title bar, holding down the Alt key, and using the scroll wheel (down lowers the opacity, and up raises it). So use Alt+ScrollWheelUp to reset the transparency.
  
 +=== I have only one desktop and can't move my windows anymore! HELP! ===
 +If you have no window borders anymore and can't focus windows, xfwm4 probably closed itself. This happens sometimes and due to the random nature of this annoying bug it's hard to track. But there are workarounds available.
 +== Start xfwm4 again ==
 +Sounds like the simpliest solution. You need a terminal and a command executioner (like xfrun4 (alt + f2)) with focus. In the terminal you enter following command:
 +<code>xfwm4 --sm-client-id=${SESSION_MANAGER##*/} & disown</code>
 +And you're done, xfwm4 should be now in your session again. If this doesn't work, stick with method 2 or 3 below.
 +== The easy solution for every xfce (not for people loving their sessions) ==
 +Because xfwm4 goes fishy most times at start up it isn't bad if you have to log out. You hadn't done anything important until than. So log out, remove ~/.cache/sessions/* (probably with <code>rm -rf ~/.cache/sessions/*</code> and login back again. Don't do this while you're logged in to xfce! Don't do this if you love the xfce session feature (because you delete all sessions, duh)!
 +== The cool new xfce4.10 solution (again, not for people loving their sessions) ==
 +If you already use xfce4.10 you have the possibility to use the GUI to delete the sessions cache (as you can see, the devs are annoyed, too). Open xfce4-sessions-settings → Session and click »Clear saved sessions«, than log out and in again. This should be all.
 ===== Session Manager ===== ===== Session Manager =====
  
Line 302: Line 318:
  
 == Using sudo == == Using sudo ==
-You have to allow the user(s) to execute ''$installdir/libexec/xfsm-shutdown-helper'' with sudo. Install sudo and run ''visudo'' (root) and add the following line (replace prefix with the correct path):+You have to allow the user(s) to execute ''<prefix>/libexec/xfsm-shutdown-helper'' with sudo. ''<prefix>/libexec/'' may be changed on your distribution, i.e. ''/usr/lib/xfce4/session/''. Install sudo and run ''visudo'' (root) and add the following line (replace prefix with the correct path):
  
    %users ALL = NOPASSWD:<prefix>/libexec/xfsm-shutdown-helper    %users ALL = NOPASSWD:<prefix>/libexec/xfsm-shutdown-helper
Line 309: Line 325:
  
    gpasswd -a <username> users    gpasswd -a <username> users
 +
 +Add the user to the ''power'' group:
 +
 +   gpasswd -a <username> power
  
 When you logout and login again, the shutdown and restart buttons should be sensitive. For more information you can referrer to the xfce4-session and sudo documentation. When you logout and login again, the shutdown and restart buttons should be sensitive. For more information you can referrer to the xfce4-session and sudo documentation.
Line 334: Line 354:
  
 ===== Panels ===== ===== Panels =====
 +
 === How do I disable the taskbar in Xfce 4.2? === === How do I disable the taskbar in Xfce 4.2? ===
 +
 Just don't run it at startup... Just don't run it at startup...
   * If you use the session manager, kill the taskbar, save your session on logout, and the taskbar will be gone when you'll log back in.   * If you use the session manager, kill the taskbar, save your session on logout, and the taskbar will be gone when you'll log back in.
   * If you don't use the session manager, comment out the ''xftaskbar4'' line in your ''$sysconfdir/xdg/xfce4/xinitrc'' or ''~/.config/xfce4/xinitrc''.   * If you don't use the session manager, comment out the ''xftaskbar4'' line in your ''$sysconfdir/xdg/xfce4/xinitrc'' or ''~/.config/xfce4/xinitrc''.
-  * If you use the session manager and want to remove the taskbar system-wide, comment out the taskbar line in the ''$sysconfdir/xgd/xfce4-session/xfce4-session.rc'' file.+ 
  
 === What is the "use startup notification" option? === === What is the "use startup notification" option? ===