Xfce Wiki

Sub domains
 

Site Tools


Differences

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

Link to this comparison view

tips [2010/11/11 19:25]
mike [Customize the font in clock panel plugin]
tips [2012/07/23 04:39] (current)
nathanhawks [Add newlines to a panel]
Line 73: Line 73:
   class "*tray*" style "panel-color"   class "*tray*" style "panel-color"
  
 +   * See also those threads in the forum : http://forum.xfce.org/viewtopic.php?id=6169 and http://forum.xfce.org/viewtopic.php?id=6196
  
 ===== How to add or remove applications in the system menu ===== ===== How to add or remove applications in the system menu =====
Line 110: Line 111:
  
   * Copy the file /etc/xdg/xfce4/xinitrc to ~/.config/xfce4/   * Copy the file /etc/xdg/xfce4/xinitrc to ~/.config/xfce4/
-  * Add your own code to the file. For example, you could start the unicode server:+  * Add your own code to the file. For example, you could start the rxvt-unicode server:
     * source $HOME/.bashrc     * source $HOME/.bashrc
     * # start rxvt-unicode server     * # start rxvt-unicode server
Line 129: Line 130:
  
 The margins are also useful if you have only one Xfce panel: the margin area leaves a clear space to pull up application or workspace menus. By default, right click on the desktop (the margin) to show the Xfce menu, or middle (left+right) click to show the workspace menu. The margins are also useful if you have only one Xfce panel: the margin area leaves a clear space to pull up application or workspace menus. By default, right click on the desktop (the margin) to show the Xfce menu, or middle (left+right) click to show the workspace menu.
 +
 +The size of the margins is in pixels, so, with a reasonably modern monitor, at a resolution of, say 1680 x 1050, a setting of '10' will give a margin of about 1/8 of an inch. Note that nothing will change on any open window until you minimize and re-maximize it again. Also note that these margins only apply to maximized windows -- you can manually resize any window right to the edge of the screen if you want to.
  
 ===== Handle acpi event for power button, show Xfce logout options ===== ===== Handle acpi event for power button, show Xfce logout options =====
Line 134: Line 137:
 If you would like the xfce logout menu to show up when you press your power button, and your machine has acpi support, then do the following: If you would like the xfce logout menu to show up when you press your power button, and your machine has acpi support, then do the following:
  
-  * ''/etc/acpi/events/powerbtn''+==== Solution 1 ==== 
 +   * ''/etc/acpi/events/powerbtn''
 <file> <file>
 # /etc/acpi/events/powerbtn # /etc/acpi/events/powerbtn
Line 185: Line 189:
   </file>   </file>
  
 +   * Make those scripts executable :
 +<code>
 +chmod +x /usr/local/sbin/xfce4-user-session-shutdown.sh /usr/local/sbin/xfce4-shutdown-as-user.sh
 +</code>
 +==== Solution 2 ====
 +   * Open Settings Manager (or by command : xfce4-settings-manager )
 +   * Open Power Manager settings
 +   * In General : set //When power button is pressed// to //Ask//
 +   * Close Power Manager settings
 +   * If you have ACPI scripts installed, deactivate or update the **power-button** script from **/etc/acpi/events/**, and change the //action// field to ///bin/true//:
 +<file>
 +# EXAMPLE
 +event=button/power.*
 +#action=/usr/lib/acpid/power_button
 +action=/bin/true
 +</file>
 ===== Use mnemonics to create Thunar Custom Actions ===== ===== Use mnemonics to create Thunar Custom Actions =====
  
 When you create a [[http://thunar.xfce.org/pwiki/documentation/custom_actions|Thunar Custom Action]] you can set the name with an underscore "_" before a letter to use it as mnemonic.  When you right click in a Thunar view, you can type the letter to access your custom action. When you create a [[http://thunar.xfce.org/pwiki/documentation/custom_actions|Thunar Custom Action]] you can set the name with an underscore "_" before a letter to use it as mnemonic.  When you right click in a Thunar view, you can type the letter to access your custom action.
 +
 +===== Accessing man pages through xfrun4 =====
 +Use '#' as a shortcut to open man pages using xfrun4. e.g. #man
 +
 +===== Other Unique Xfce Features =====
 +
 +====== Add newlines to a panel ======
 +
 +Xfce allows full control over multi-line panel configuratinos, via the Separator component.  Simply add a separator to your panel, move it to where you'd like a new line to begin, edit its properties, and change its "style" drop-down to "New Line."
 +
 +
tips.1289499909.txt.gz · Last modified: 2010/11/11 19:25 by mike