Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tips [2012/07/23 04:39] – nathanhawks | tips [2018/11/17 22:40] – moved to https://docs.xfce.org/xfce/thunar/custom-actions#adding_a_custom_action alexxcons | ||
---|---|---|---|
Line 3: | Line 3: | ||
- | ===== Customize the font in clock panel plugin ===== | ||
- | |||
- | You can use [[http:// | ||
- | |||
- | For example: | ||
- | * ''< | ||
- | * ''< | ||
===== Performance Tips ===== | ===== Performance Tips ===== | ||
Line 41: | Line 34: | ||
===== Gtkrc files ===== | ===== Gtkrc files ===== | ||
- | * A tutorial about the Gtkrc format can be found [[http:// | + | * A tutorial about the Gtkrc format can be found [[http:// |
* Xfce has also a couple of custom gtkrc settings for some of the applications: | * Xfce has also a couple of custom gtkrc settings for some of the applications: | ||
Line 205: | Line 198: | ||
action=/ | action=/ | ||
</ | </ | ||
- | ===== Use mnemonics to create Thunar Custom Actions ===== | ||
- | |||
- | When you create a [[http:// | ||
===== Accessing man pages through xfrun4 ===== | ===== Accessing man pages through xfrun4 ===== | ||
Use '#' | Use '#' | ||
- | ===== Other Unique Xfce Features | + | ===== Do maths with xfrun4/ |
+ | * What you get: input simple mathematical expression, like 5+5 or (5+5)/3 or .5*10, in xfrun4/ | ||
+ | * Requirement: | ||
+ | * Save this script as bcme.sh, in your home directory: | ||
- | ====== Add newlines to a panel ======= | + | #!/bin/sh |
+ | |||
+ | precision=2 # number of digit for floating value | ||
+ | notify_time=20000 # number of milisecond the notification show | ||
+ | |||
+ | res=`echo "scale=$precision; | ||
+ | notify-send -t $notify_time " | ||
- | Xfce allows full control over multi-line panel configuratinos, | + | *Add custom action to Application finder : |
+ | * Type : Regular Expression | ||
+ | * Pattern : ^([0-9]|\(|\.).* | ||
+ | * Command : /bin/sh ~/bcme.sh \0 | ||
+ | * (check) Save match in command history | ||
+ | |||
+ | |||
+ | ====== Xfconf ===== | ||
+ | |||
+ | ===== Toggle panel autohide ===== | ||
+ | |||
+ | Short Bash script | ||
+ | |||
+ | <code bash> | ||
+ | #!/bin/sh | ||
+ | |||
+ | test -z "$1" | ||
+ | test ! -z "`echo $1 | sed s/ | ||
+ | |||
+ | CHANNEL=xfce4-panel | ||
+ | PANELID=$1 | ||
+ | PROP=/ | ||
+ | |||
+ | if `xfconf-query -c $CHANNEL -p $PROP >/ | ||
+ | xfconf-query -c $CHANNEL -T -p $PROP | ||
+ | else | ||
+ | xfconf-query -c $CHANNEL -n -p $PROP -t bool -s false | ||
+ | fi | ||
+ | </ | ||
+ | ===== Control per-window transparency ===== | ||
+ | Xfce lets you control the transparency of any window by horizontal scrolling on the titlebar. Starting with 4.12 though, it has been disabled by default. To enable this, open **Settings Editor > xfwm4** and change '' |