Created
September 16, 2011 12:42
-
-
Save sunng87/1222043 to your computer and use it in GitHub Desktop.
My OpenBox Desktop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# conky configuration | |
# edited by [email protected] | |
# set to yes if you want Conky to be forked in the background | |
background no | |
# X font when Xft is disabled, you can pick one with program xfontsel | |
#font 5x7 | |
#font 6x10 | |
#font 7x13 | |
#font 8x13 | |
#font 9x15 | |
#font *mintsmild.se* | |
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-* | |
# Use Xft? | |
use_xft yes | |
# Xft font when Xft is enabled | |
#xftfont wenquanyi zenhei mono:size=8 | |
xftfont Sans:size=8 | |
# Text alpha when using Xft | |
xftalpha 0.8 | |
# Print everything to console? | |
# out_to_console no | |
# mail spool | |
#mail_spool $MAIL | |
# Update interval in seconds | |
update_interval 2.0 | |
# This is the number of times Conky will update before quitting. | |
# Set to zero to run forever. | |
total_run_times 0 | |
# Create own window instead of using desktop (required in nautilus) | |
own_window yes | |
#own_window_transparent yes | |
own_window_type desktop | |
# Use double buffering (reduces flicker, may not work for everyone) | |
double_buffer yes | |
# Minimum size of text area | |
minimum_size 250 5 | |
# Draw shades? | |
draw_shades yes | |
# Draw outlines? | |
draw_outline no | |
# Draw borders around text | |
draw_borders no | |
# Stippled borders? | |
stippled_borders 8 | |
# border margins | |
border_margin 4 | |
# border width | |
border_width 1 | |
# Default colors and also border colors | |
default_color white | |
default_shade_color black | |
default_outline_color white | |
# Text alignment, other possible values are commented | |
alignment top_left | |
#alignment top_right | |
#alignment bottom_left | |
#alignment bottom_right | |
# Gap between borders of screen and text | |
# same thing as passing -x at command line | |
gap_x 40 | |
gap_y 20 | |
# Subtract file system buffers from used memory? | |
no_buffers yes | |
# set to yes if you want all text to be in uppercase | |
uppercase no | |
# number of cpu samples to average | |
# set to 1 to disable averaging | |
cpu_avg_samples 2 | |
# number of net samples to average | |
# set to 1 to disable averaging | |
net_avg_samples 2 | |
# Force UTF8? note that UTF8 support required XFT | |
override_utf8_locale yes | |
# Add spaces to keep things from moving about? This only affects certain objects. | |
use_spacer yes | |
#Note: doesn't work in conky 1.2 =( | |
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost | |
# mldonkey_port Mldonkey port, 4001 default | |
# mldonkey_login Mldonkey login, default none | |
# mldonkey_password Mldonkey password, default none | |
# Possible variables to be used: | |
# | |
# Variable Arguments Description | |
# addr (interface) IP address for an interface | |
# acpiacadapter ACPI ac adapter state. | |
# acpifan ACPI fan state | |
# acpitemp ACPI temperature. | |
# adt746xcpu CPU temperature from therm_adt746x | |
# adt746xfan Fan speed from therm_adt746x | |
# alignr (num) Right-justify text, with space of N | |
# alignc Align text to centre | |
# battery (num) Remaining capasity in ACPI or APM | |
# battery. ACPI battery number can be | |
# given as argument (default is BAT0). | |
# buffers Amount of memory buffered | |
# cached Amount of memory cached | |
# color (color) Change drawing color to color | |
# cpu CPU usage in percents | |
# cpubar (height) Bar that shows CPU usage, height is | |
# bar's height in pixels | |
# cpugraph (height),(width) (gradient colour 1) (gradient colour 2) | |
# CPU usage graph, with optional colours in hex, | |
# minus the #. | |
# downspeed net Download speed in kilobytes | |
# downspeedf net Download speed in kilobytes with one | |
# decimal | |
# downspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2) | |
# Download speed graph, colours defined in | |
# hex, minus the #. | |
# exec shell command Executes a shell command and displays | |
# the output in conky. warning: this | |
# takes a lot more resources than other | |
# variables. I'd recommend coding wanted | |
# behaviour in C and posting a patch :-). | |
# execbar shell command Same as exec, except if the first value | |
# return is a value between 0-100, it | |
# will use that number for a bar. | |
# The size for the bar is currently fixed, | |
# but that may change in the future. | |
# execgraph shell command Same as execbar, but graphs values | |
# execi interval, shell command | |
# Same as exec but with specific interval. | |
# Interval can't be less than | |
# update_interval in configuration. | |
# font font Specify a different font. Only applies | |
# to one line. | |
# fs_bar (height), (fs)Bar that shows how much space is used on | |
# a file system. height is the height in | |
# pixels. fs is any file on that file | |
# system. | |
# fs_free (fs) Free space on a file system available | |
# for users. | |
# fs_free_perc (fs) Free percentage of space on a file | |
# system available for users. | |
# fs_size (fs) File system size | |
# fs_used (fs) File system used space | |
# hr (height) Horizontal line, height is the height in | |
# pixels | |
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev | |
# may be omitted if you have only one I2C | |
# device. type is either in (or vol) | |
# meaning voltage, fan meaning fan or | |
# temp/tempf (first in C, second in F) | |
# meaning temperature. n is number of the | |
# sensor. See /sys/bus/i2c/devices/ on | |
# your local computer. | |
# if_running (process) if PROCESS is running, display | |
# everything if_running and the matching $endif | |
# if_existing (file) if FILE exists, display everything between | |
# if_existing and the matching $endif | |
# if_mounted (mountpoint) if MOUNTPOINT is mounted, display everything between | |
# if_mounted and the matching $endif | |
# else Text to show if any of the above are not true | |
# kernel Kernel version | |
# linkstatus (interface) Get the link status for wireless connections | |
# loadavg (1), (2), (3) System load average, 1 is for past 1 | |
# minute, 2 for past 5 minutes and 3 for | |
# past 15 minutes. | |
# machine Machine, i686 for example | |
# mails Mail count in mail spool. You can use | |
# program like fetchmail to get mails from | |
# some server using your favourite | |
# protocol. See also new_mails. | |
# mem Amount of memory in use | |
# membar (height) Bar that shows amount of memory in use | |
# memmax Total amount of memory | |
# memperc Percentage of memory in use | |
# | |
# metar_ob_time | |
# metar_temp | |
# metar_tempf Temp in F | |
# metar_windchill | |
# metar_dew_point There are a bunch of these | |
# metar_rh and they are self-explanatory | |
# metar_windspeed | |
# metar_winddir | |
# metar_swinddir | |
# metar_cloud | |
# metar_u2d_time | |
# | |
# ml_upload_counter total session upload in mb | |
# ml_download_counter total session download in mb | |
# ml_nshared_files number of shared files | |
# ml_shared_counter total session shared in mb, buggy | |
# in some mldonkey versions | |
# ml_tcp_upload_rate tcp upload rate in kb/s | |
# ml_tcp_download_rate tcp download rate in kb/s | |
# ml_udp_upload_rate udp upload rate in kb/s | |
# ml_udp_download_rate udp download rate in kb/s | |
# ml_ndownloaded_files number of completed files | |
# ml_ndownloading_files number of downloading files | |
# | |
# mpd_artist Artist in current MPD song | |
# (must be enabled at compile) | |
# mpd_album Album in current MPD song | |
# mpd_bar (height) Bar of mpd's progress | |
# mpd_bitrate Bitrate of current song | |
# mpd_status Playing, stopped, et cetera. | |
# mpd_title Title of current MPD song | |
# mpd_vol MPD's volume | |
# mpd_elapsed Song's elapsed time | |
# mpd_length Song's length | |
# mpd_percent Percent of song's progress | |
# new_mails Unread mail count in mail spool. | |
# nodename Hostname | |
# outlinecolor (color) Change outline color | |
# pre_exec shell command Executes a shell command one time before | |
# conky displays anything and puts output | |
# as text. | |
# processes Total processes (sleeping and running) | |
# running_processes Running processes (not sleeping), | |
# requires Linux 2.6 | |
# shadecolor (color) Change shading color | |
# stippled_hr (space), Stippled (dashed) horizontal line | |
# (height) | |
# swapbar (height) Bar that shows amount of swap in use | |
# swap Amount of swap in use | |
# swapmax Total amount of swap | |
# swapperc Percentage of swap in use | |
# sysname System name, Linux for example | |
# offset pixels Move text over by N pixels | |
# tail logfile, lines (interval) | |
# Displays last N lines of supplied text | |
# text file. If interval is not supplied, | |
# Conky assumes 2x Conky's interval. | |
# Max of 30 lines. | |
# Max of 30 lines can be displayed. | |
# time (format) Local time, see man strftime to get more | |
# information about format | |
# totaldown net Total download, overflows at 4 GB on | |
# Linux with 32-bit arch and there doesn't | |
# seem to be a way to know how many times | |
# it has already done that before conky | |
# has started. | |
# top type, num This takes arguments in the form: | |
# top <name> <number> | |
# Basically, processes are ranked from | |
# highest to lowest in terms of cpu | |
# usage, which is what <num> represents. | |
# The types are: "name", "pid", "cpu", and | |
# "mem". | |
# There can be a max of 10 processes listed. | |
# top_mem type, num Same as top, except sorted by mem usage | |
# instead of cpu | |
# totalup net Total upload, this one too, may overflow | |
# updates Number of updates (for debugging) | |
# upspeed net Upload speed in kilobytes | |
# upspeedf net Upload speed in kilobytes with one | |
# decimal | |
# upspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2) | |
# Upload speed graph, colours defined in | |
# hex, minus the #. | |
# uptime Uptime | |
# uptime_short Uptime in a shorter format | |
# | |
# seti_prog Seti@home current progress | |
# seti_progbar (height) Seti@home current progress bar | |
# seti_credit Seti@hoome total user credit | |
# variable is given either in format $variable or in ${variable}. Latter | |
# allows characters right after the variable and must be used in network | |
# stuff because of an argument | |
# stuff after 'TEXT' will be formatted on screen | |
TEXT | |
$nodename | |
$sysname $kernel | |
${color slate grey}${time %a, } ${color }${time %e %B %G} | |
${color slate grey}${time %Z, }${color }${time %H:%M:%S} | |
${color slate grey}UpTime: ${color }$uptime | |
${color slate grey}CPU:${color } $cpu% ${acpitemp}C | |
${cpugraph 20,130 000000 ffffff} | |
${color slate grey}Load: ${color }$loadavg | |
${color slate grey}Processes: ${color }$processes | |
${color slate grey}Running: ${color }$running_processes | |
${color slate grey}Highest CPU: | |
${color #ddaa00} ${top name 1}${top_mem cpu 1} | |
${color lightgrey} ${top name 2}${top cpu 2} | |
${color lightgrey} ${top name 3}${top cpu 3} | |
${color lightgrey} ${top name 4}${top cpu 4} | |
${color lightgrey} ${top name 5}${top cpu 5} | |
${color slate grey}Highest MEM: | |
${color #ddaa00} ${top_mem name 1}${top_mem mem 1} | |
${color lightgrey} ${top_mem name 2}${top_mem mem 2} | |
${color lightgrey} ${top_mem name 3}${top_mem mem 3} | |
${color lightgrey} ${top_mem name 4}${top_mem mem 4} | |
${color lightgrey} ${top_mem name 5}${top_mem mem 5} | |
${color slate grey}MEM: ${color } $memperc% $mem/$memmax ${membar 3,100} | |
${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax ${swapbar 3,100} | |
${color slate grey}ROOT: ${color }${fs_free /}/${fs_size /} ${fs_bar 3,100 /} | |
${color slate grey}HOME: ${color }${fs_free /home}/${fs_size /home} ${fs_bar 3,100 /home} | |
${if_up eth0} | |
${color slate grey}NET eth0 ${addr eth0} | |
${color}Up: ${color }${upspeed eth0} k/s ${color}Down: ${color }${downspeed eth0}k/s${color} | |
${upspeedgraph eth0 20,130 000000 ffffff} ${downspeedgraph eth0 20,130 000000 ffffff} | |
${endif}${if_up wlan0} | |
${color slate grey}NET wlan0 ${addr wlan0} | |
${color}Up: ${color }${upspeed wlan0} k/s ${color}Down: ${color }${downspeed wlan0}k/s${color} | |
${upspeedgraph wlan0 20,130 000000 ffffff} ${downspeedgraph wlan0 20,130 000000 ffffff} | |
${endif} | |
${color slate grey}Location: | |
${color }${exec curl -s "http://api.hostip.info" | xpath -e "//gml:featureMember/Hostip/gml:name/text()" -q} ${exec curl -s "http://api.hostip.info" | xpath -e "//gml:featureMember/Hostip//gml:coordinates/text()" -q} | |
${color slate grey}Weather: | |
#${color}Weather: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ ZSPD cloud_over} | |
${color}Temp: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ ZSPD temperature}°C | |
${color}Humidity: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ ZSPD humidity}% | |
${color}Wind: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ ZSPD wind_speed}m/s, ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ ZSPD wind_dir} | |
#${color}${execi 60 weather | tail -n 3 | fold -w60 -s} | |
${if_running mpd} | |
${color slate grey}MPD: | |
${color }${mpd_status} ${font wenquanyi bitmap song:size=9}${mpd_title}-${mpd_artist}${font } ${mpd_elapsed}/${mpd_length} | |
${mpd_bar 3,200} | |
${endif} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Do not edit this file, it will be overwritten on install. | |
Copy the file to $HOME/.config/openbox/ instead. --> | |
<openbox_config xmlns="http://openbox.org/3.4/rc"> | |
<resistance> | |
<strength>10</strength> | |
<screen_edge_strength>20</screen_edge_strength> | |
</resistance> | |
<focus> | |
<focusNew>yes</focusNew> | |
<!-- always try to focus new windows when they appear. other rules do | |
apply --> | |
<followMouse>no</followMouse> | |
<!-- move focus to a window when you move the mouse into it --> | |
<focusLast>yes</focusLast> | |
<!-- focus the last used window when changing desktops, instead of the one | |
under the mouse pointer. when followMouse is enabled --> | |
<underMouse>no</underMouse> | |
<!-- move focus under the mouse, even when the mouse is not moving --> | |
<focusDelay>200</focusDelay> | |
<!-- when followMouse is enabled, the mouse must be inside the window for | |
this many milliseconds (1000 = 1 sec) before moving focus to it --> | |
<raiseOnFocus>no</raiseOnFocus> | |
<!-- when followMouse is enabled, and a window is given focus by moving the | |
mouse into it, also raise the window --> | |
</focus> | |
<placement> | |
<policy>Smart</policy> | |
<!-- 'Smart' or 'UnderMouse' --> | |
<center>yes</center> | |
<!-- whether to place windows in the center of the free area found or | |
the top left corner --> | |
<monitor>Any</monitor> | |
<!-- with Smart placement on a multi-monitor system, try to place new windows | |
on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where | |
the active window is --> | |
</placement> | |
<theme> | |
<name>Mint</name> | |
<titleLayout>NLIMC</titleLayout> | |
<!-- | |
available characters are NDSLIMC, each can occur at most once. | |
N: window icon | |
L: window label (AKA title). | |
I: iconify | |
M: maximize | |
C: close | |
S: shade (roll up/down) | |
D: omnipresent (on all desktops). | |
--> | |
<keepBorder>yes</keepBorder> | |
<animateIconify>yes</animateIconify> | |
<font place="ActiveWindow"> | |
<name>Lucida Sans</name> | |
<size>8</size> | |
<!-- font size in points --> | |
<weight>Bold</weight> | |
<!-- 'bold' or 'normal' --> | |
<slant>Normal</slant> | |
<!-- 'italic' or 'normal' --> | |
</font> | |
<font place="InactiveWindow"> | |
<name>Lucida Sans</name> | |
<size>8</size> | |
<!-- font size in points --> | |
<weight>Bold</weight> | |
<!-- 'bold' or 'normal' --> | |
<slant>Normal</slant> | |
<!-- 'italic' or 'normal' --> | |
</font> | |
<font place="MenuHeader"> | |
<name>Lucida Sans</name> | |
<size>9</size> | |
<!-- font size in points --> | |
<weight>Normal</weight> | |
<!-- 'bold' or 'normal' --> | |
<slant>Normal</slant> | |
<!-- 'italic' or 'normal' --> | |
</font> | |
<font place="MenuItem"> | |
<name>Lucida Sans</name> | |
<size>9</size> | |
<!-- font size in points --> | |
<weight>Normal</weight> | |
<!-- 'bold' or 'normal' --> | |
<slant>Normal</slant> | |
<!-- 'italic' or 'normal' --> | |
</font> | |
<font place="OnScreenDisplay"> | |
<name>Lucida Sans</name> | |
<size>9</size> | |
<!-- font size in points --> | |
<weight>Normal</weight> | |
<!-- 'bold' or 'normal' --> | |
<slant>Normal</slant> | |
<!-- 'italic' or 'normal' --> | |
</font> | |
</theme> | |
<desktops> | |
<!-- this stuff is only used at startup, pagers allow you to change them | |
during a session | |
these are default values to use when other ones are not already set | |
by other applications, or saved in your session | |
use obconf if you want to change these without having to log out | |
and back in --> | |
<number>4</number> | |
<firstdesk>1</firstdesk> | |
<names> | |
<name>D1</name> | |
<name>D2</name> | |
<name>D3</name> | |
<name>D4</name> | |
</names> | |
<popupTime>875</popupTime> | |
<!-- The number of milliseconds to show the popup for when switching | |
desktops. Set this to 0 to disable the popup. --> | |
</desktops> | |
<resize> | |
<drawContents>yes</drawContents> | |
<popupShow>Nonpixel</popupShow> | |
<!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) --> | |
<popupPosition>Center</popupPosition> | |
<!-- 'Center', 'Top', or 'Fixed' --> | |
<popupFixedPosition> | |
<!-- these are used if popupPosition is set to 'Fixed' --> | |
<x>10</x> | |
<!-- positive number for distance from left edge, negative number for | |
distance from right edge, or 'Center' --> | |
<y>10</y> | |
<!-- positive number for distance from top edge, negative number for | |
distance from bottom edge, or 'Center' --> | |
</popupFixedPosition> | |
</resize> | |
<!-- You can reserve a portion of your screen where windows will not cover when | |
they are maximized, or when they are initially placed. | |
Many programs reserve space automatically, but you can use this in other | |
cases. --> | |
<margins> | |
<top>10</top> | |
<bottom>10</bottom> | |
<left>10</left> | |
<right>10</right> | |
</margins> | |
<dock> | |
<position>TopLeft</position> | |
<!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating --> | |
<floatingX>0</floatingX> | |
<floatingY>0</floatingY> | |
<noStrut>no</noStrut> | |
<stacking>Above</stacking> | |
<!-- 'Above', 'Normal', or 'Below' --> | |
<direction>Vertical</direction> | |
<!-- 'Vertical' or 'Horizontal' --> | |
<autoHide>no</autoHide> | |
<hideDelay>300</hideDelay> | |
<!-- in milliseconds (1000 = 1 second) --> | |
<showDelay>300</showDelay> | |
<!-- in milliseconds (1000 = 1 second) --> | |
<moveButton>Middle</moveButton> | |
<!-- 'Left', 'Middle', 'Right' --> | |
</dock> | |
<keyboard> | |
<chainQuitKey>C-g</chainQuitKey> | |
<!-- Keybindings for desktop switching --> | |
<keybind key="C-A-Left"> | |
<action name="DesktopLeft"> | |
<dialog>no</dialog> | |
<wrap>no</wrap> | |
</action> | |
</keybind> | |
<keybind key="C-A-Right"> | |
<action name="DesktopRight"> | |
<dialog>no</dialog> | |
<wrap>no</wrap> | |
</action> | |
</keybind> | |
<keybind key="C-A-Up"> | |
<action name="DesktopUp"> | |
<dialog>no</dialog> | |
<wrap>no</wrap> | |
</action> | |
</keybind> | |
<keybind key="C-A-Down"> | |
<action name="DesktopDown"> | |
<dialog>no</dialog> | |
<wrap>no</wrap> | |
</action> | |
</keybind> | |
<keybind key="S-A-Left"> | |
<action name="SendToDesktopLeft"> | |
<dialog>no</dialog> | |
<wrap>no</wrap> | |
</action> | |
</keybind> | |
<keybind key="S-A-Right"> | |
<action name="SendToDesktopRight"> | |
<dialog>no</dialog> | |
<wrap>no</wrap> | |
</action> | |
</keybind> | |
<keybind key="S-A-Up"> | |
<action name="SendToDesktopUp"> | |
<dialog>no</dialog> | |
<wrap>no</wrap> | |
</action> | |
</keybind> | |
<keybind key="S-A-Down"> | |
<action name="SendToDesktopDown"> | |
<dialog>no</dialog> | |
<wrap>no</wrap> | |
</action> | |
</keybind> | |
<keybind key="W-F1"> | |
<action name="Desktop"> | |
<desktop>1</desktop> | |
</action> | |
</keybind> | |
<keybind key="W-F2"> | |
<action name="Desktop"> | |
<desktop>2</desktop> | |
</action> | |
</keybind> | |
<keybind key="W-F3"> | |
<action name="Desktop"> | |
<desktop>3</desktop> | |
</action> | |
</keybind> | |
<keybind key="W-F4"> | |
<action name="Desktop"> | |
<desktop>4</desktop> | |
</action> | |
</keybind> | |
<keybind key="W-d"> | |
<action name="ToggleShowDesktop"/> | |
</keybind> | |
<!-- Keybindings for windows --> | |
<keybind key="A-F4"> | |
<action name="Close"/> | |
</keybind> | |
<keybind key="A-Escape"> | |
<action name="Lower"/> | |
<action name="FocusToBottom"/> | |
<action name="Unfocus"/> | |
</keybind> | |
<keybind key="A-space"> | |
<action name="ShowMenu"> | |
<menu>client-menu</menu> | |
</action> | |
</keybind> | |
<keybind key="Print"> | |
<action name="Execute"> | |
<execute>gnome-screenshot</execute> | |
</action> | |
</keybind> | |
<keybind key="A-Print"> | |
<action name="Execute"> | |
<execute>gnome-screenshot -w</execute> | |
</action> | |
</keybind> | |
<!-- Keybindings for window switching --> | |
<keybind key="A-Tab"> | |
<action name="NextWindow"/> | |
</keybind> | |
<keybind key="A-S-Tab"> | |
<action name="PreviousWindow"/> | |
</keybind> | |
<keybind key="C-A-Tab"> | |
<action name="NextWindow"> | |
<panels>yes</panels> | |
<desktop>yes</desktop> | |
</action> | |
</keybind> | |
<!-- Keybindings for running applications --> | |
<keybind key="W-e"> | |
<action name="Execute"> | |
<startupnotify> | |
<enabled>true</enabled> | |
<name>pcmanfm</name> | |
</startupnotify> | |
<command>pcmanfm</command> | |
</action> | |
</keybind> | |
<keybind key="W-space"> | |
<action name="Execute"> | |
<command>gmrun</command> | |
</action> | |
</keybind> | |
<keybind key="A-F2"> | |
<action name="Execute"> | |
<command>gmrun</command> | |
</action> | |
</keybind> | |
<keybind key="W-l"> | |
<action name="Execute"> | |
<command>xscreensaver-command -lock</command> | |
</action> | |
</keybind> | |
<keybind key="W-t"> | |
<action name="Execute"> | |
<command>evilvte</command> | |
</action> | |
</keybind> | |
</keyboard> | |
<mouse> | |
<dragThreshold>8</dragThreshold> | |
<!-- number of pixels the mouse must move before a drag begins --> | |
<doubleClickTime>200</doubleClickTime> | |
<!-- in milliseconds (1000 = 1 second) --> | |
<screenEdgeWarpTime>400</screenEdgeWarpTime> | |
<!-- Time before changing desktops when the pointer touches the edge of the | |
screen while moving a window, in milliseconds (1000 = 1 second). | |
Set this to 0 to disable warping --> | |
<context name="Frame"> | |
<mousebind button="A-Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
</mousebind> | |
<mousebind button="A-Left" action="Click"> | |
<action name="Unshade"/> | |
</mousebind> | |
<mousebind button="A-Left" action="Drag"> | |
<action name="Move"/> | |
</mousebind> | |
<mousebind button="A-Right" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
<action name="Unshade"/> | |
</mousebind> | |
<mousebind button="A-Right" action="Drag"> | |
<action name="Resize"/> | |
</mousebind> | |
<mousebind button="A-Middle" action="Press"> | |
<action name="Lower"/> | |
<action name="FocusToBottom"/> | |
<action name="Unfocus"/> | |
</mousebind> | |
<mousebind button="A-Up" action="Click"> | |
<action name="DesktopPrevious"/> | |
</mousebind> | |
<mousebind button="A-Down" action="Click"> | |
<action name="DesktopNext"/> | |
</mousebind> | |
<mousebind button="C-A-Up" action="Click"> | |
<action name="DesktopPrevious"/> | |
</mousebind> | |
<mousebind button="C-A-Down" action="Click"> | |
<action name="DesktopNext"/> | |
</mousebind> | |
<mousebind button="A-S-Up" action="Click"> | |
<action name="SendToDesktopPrevious"/> | |
</mousebind> | |
<mousebind button="A-S-Down" action="Click"> | |
<action name="SendToDesktopNext"/> | |
</mousebind> | |
</context> | |
<context name="Titlebar"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
</mousebind> | |
<mousebind button="Left" action="Drag"> | |
<action name="Move"/> | |
</mousebind> | |
<mousebind button="Left" action="DoubleClick"> | |
<action name="ToggleMaximizeFull"/> | |
</mousebind> | |
<mousebind button="Middle" action="Press"> | |
<action name="Lower"/> | |
<action name="FocusToBottom"/> | |
<action name="Unfocus"/> | |
</mousebind> | |
<mousebind button="Up" action="Click"> | |
<action name="Shade"/> | |
<action name="FocusToBottom"/> | |
<action name="Unfocus"/> | |
<action name="Lower"/> | |
</mousebind> | |
<mousebind button="Down" action="Click"> | |
<action name="Unshade"/> | |
<action name="Raise"/> | |
</mousebind> | |
<mousebind button="Right" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
<action name="ShowMenu"> | |
<menu>client-menu</menu> | |
</action> | |
</mousebind> | |
</context> | |
<context name="Top"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
<action name="Unshade"/> | |
</mousebind> | |
<mousebind button="Left" action="Drag"> | |
<action name="Resize"> | |
<edge>top</edge> | |
</action> | |
</mousebind> | |
</context> | |
<context name="Left"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
</mousebind> | |
<mousebind button="Left" action="Drag"> | |
<action name="Resize"> | |
<edge>left</edge> | |
</action> | |
</mousebind> | |
</context> | |
<context name="Right"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
</mousebind> | |
<mousebind button="Left" action="Drag"> | |
<action name="Resize"> | |
<edge>right</edge> | |
</action> | |
</mousebind> | |
</context> | |
<context name="Bottom"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
</mousebind> | |
<mousebind button="Left" action="Drag"> | |
<action name="Resize"> | |
<edge>bottom</edge> | |
</action> | |
</mousebind> | |
<mousebind button="Middle" action="Press"> | |
<action name="Lower"/> | |
<action name="FocusToBottom"/> | |
<action name="Unfocus"/> | |
</mousebind> | |
<mousebind button="Right" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
<action name="ShowMenu"> | |
<menu>client-menu</menu> | |
</action> | |
</mousebind> | |
</context> | |
<context name="BLCorner"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
</mousebind> | |
<mousebind button="Left" action="Drag"> | |
<action name="Resize"/> | |
</mousebind> | |
</context> | |
<context name="BRCorner"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
</mousebind> | |
<mousebind button="Left" action="Drag"> | |
<action name="Resize"/> | |
</mousebind> | |
</context> | |
<context name="TLCorner"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
<action name="Unshade"/> | |
</mousebind> | |
<mousebind button="Left" action="Drag"> | |
<action name="Resize"/> | |
</mousebind> | |
</context> | |
<context name="TRCorner"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
<action name="Unshade"/> | |
</mousebind> | |
<mousebind button="Left" action="Drag"> | |
<action name="Resize"/> | |
</mousebind> | |
</context> | |
<context name="Client"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
</mousebind> | |
<mousebind button="Middle" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
</mousebind> | |
<mousebind button="Right" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
</mousebind> | |
</context> | |
<context name="Icon"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
<action name="Unshade"/> | |
<action name="ShowMenu"> | |
<menu>client-menu</menu> | |
</action> | |
</mousebind> | |
<mousebind button="Right" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
<action name="ShowMenu"> | |
<menu>client-menu</menu> | |
</action> | |
</mousebind> | |
</context> | |
<context name="AllDesktops"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
<action name="Unshade"/> | |
</mousebind> | |
<mousebind button="Left" action="Click"> | |
<action name="ToggleOmnipresent"/> | |
</mousebind> | |
</context> | |
<context name="Shade"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
</mousebind> | |
<mousebind button="Left" action="Click"> | |
<action name="ToggleShade"/> | |
</mousebind> | |
</context> | |
<context name="Iconify"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
</mousebind> | |
<mousebind button="Left" action="Click"> | |
<action name="Iconify"/> | |
</mousebind> | |
</context> | |
<context name="Maximize"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
<action name="Unshade"/> | |
</mousebind> | |
<mousebind button="Middle" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
<action name="Unshade"/> | |
</mousebind> | |
<mousebind button="Right" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
<action name="Unshade"/> | |
</mousebind> | |
<mousebind button="Left" action="Click"> | |
<action name="ToggleMaximizeFull"/> | |
</mousebind> | |
<mousebind button="Middle" action="Click"> | |
<action name="ToggleMaximizeVert"/> | |
</mousebind> | |
<mousebind button="Right" action="Click"> | |
<action name="ToggleMaximizeHorz"/> | |
</mousebind> | |
</context> | |
<context name="Close"> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
<action name="Unshade"/> | |
</mousebind> | |
<mousebind button="Left" action="Click"> | |
<action name="Close"/> | |
</mousebind> | |
</context> | |
<context name="Desktop"> | |
<mousebind button="Up" action="Click"> | |
<action name="DesktopPrevious"/> | |
</mousebind> | |
<mousebind button="Down" action="Click"> | |
<action name="DesktopNext"/> | |
</mousebind> | |
<mousebind button="A-Up" action="Click"> | |
<action name="DesktopPrevious"/> | |
</mousebind> | |
<mousebind button="A-Down" action="Click"> | |
<action name="DesktopNext"/> | |
</mousebind> | |
<mousebind button="C-A-Up" action="Click"> | |
<action name="DesktopPrevious"/> | |
</mousebind> | |
<mousebind button="C-A-Down" action="Click"> | |
<action name="DesktopNext"/> | |
</mousebind> | |
<mousebind button="Left" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
</mousebind> | |
<mousebind button="Right" action="Press"> | |
<action name="Focus"/> | |
<action name="Raise"/> | |
</mousebind> | |
</context> | |
<context name="Root"> | |
<!-- Menus --> | |
<mousebind button="Middle" action="Press"> | |
<action name="ShowMenu"> | |
<menu>client-list-combined-menu</menu> | |
</action> | |
</mousebind> | |
<mousebind button="Right" action="Press"> | |
<action name="ShowMenu"> | |
<menu>root-menu</menu> | |
</action> | |
</mousebind> | |
</context> | |
<context name="MoveResize"> | |
<mousebind button="Up" action="Click"> | |
<action name="DesktopPrevious"/> | |
</mousebind> | |
<mousebind button="Down" action="Click"> | |
<action name="DesktopNext"/> | |
</mousebind> | |
<mousebind button="A-Up" action="Click"> | |
<action name="DesktopPrevious"/> | |
</mousebind> | |
<mousebind button="A-Down" action="Click"> | |
<action name="DesktopNext"/> | |
</mousebind> | |
</context> | |
</mouse> | |
<menu> | |
<!-- You can specify more than one menu file in here and they are all loaded, | |
just don't make menu ids clash or, well, it'll be kind of pointless --> | |
<!-- default menu file (or custom one in $HOME/.config/openbox/) --> | |
<!-- system menu files on Debian systems --> | |
<file>/var/lib/openbox/debian-menu.xml</file> | |
<file>debian-menu.xml</file> | |
<file>menu.xml</file> | |
<hideDelay>200</hideDelay> | |
<!-- if a press-release lasts longer than this setting (in milliseconds), the | |
menu is hidden again --> | |
<middle>no</middle> | |
<!-- center submenus vertically about the parent entry --> | |
<submenuShowDelay>100</submenuShowDelay> | |
<!-- this one is easy, time to delay before showing a submenu after hovering | |
over the parent entry --> | |
<applicationIcons>yes</applicationIcons> | |
<!-- controls if icons appear in the client-list-(combined-)menu --> | |
<manageDesktops>yes</manageDesktops> | |
<!-- show the manage desktops section in the client-list-(combined-)menu --> | |
</menu> | |
<applications> | |
<!-- | |
# this is an example with comments through out. use these to make your | |
# own rules, but without the comments of course. | |
<application name="first element of window's WM_CLASS property (see xprop)" | |
class="second element of window's WM_CLASS property (see xprop)" | |
role="the window's WM_WINDOW_ROLE property (see xprop)" | |
type="the window's _NET_WM_WINDOW_TYPE (if unspecified, then | |
it is dialog for child windows)"> | |
# the name or the class can be set, or both. this is used to match | |
# windows when they appear. role can optionally be set as well, to | |
# further restrict your matches. | |
# the name, class, and role use simple wildcard matching such as those | |
# used by a shell. you can use * to match any characters and ? to match | |
# any single character. | |
# the type is one of: normal, dialog, splash, utility, menu, toolbar, dock, | |
# or desktop | |
# when multiple rules match a window, they will all be applied, in the | |
# order that they appear in this list | |
# each element can be left out or set to 'default' to specify to not | |
# change that attribute of the window | |
<decor>yes</decor> | |
# enable or disable window decorations | |
<shade>no</shade> | |
# make the window shaded when it appears, or not | |
<position force="no"> | |
# the position is only used if both an x and y coordinate are provided | |
# (and not set to 'default') | |
# when force is "yes", then the window will be placed here even if it | |
# says you want it placed elsewhere. this is to override buggy | |
# applications who refuse to behave | |
<x>center</x> | |
# a number like 50, or 'center' to center on screen. use a negative number | |
# to start from the right (or bottom for <y>), ie -50 is 50 pixels from the | |
# right edge (or bottom). | |
<y>200</y> | |
<monitor>1</monitor> | |
# specifies the monitor in a xinerama setup. | |
# 1 is the first head, or 'mouse' for wherever the mouse is | |
</position> | |
<focus>yes</focus> | |
# if the window should try be given focus when it appears. if this is set | |
# to yes it doesn't guarantee the window will be given focus. some | |
# restrictions may apply, but Openbox will try to | |
<desktop>1</desktop> | |
# 1 is the first desktop, 'all' for all desktops | |
<layer>normal</layer> | |
# 'above', 'normal', or 'below' | |
<iconic>no</iconic> | |
# make the window iconified when it appears, or not | |
<skip_pager>no</skip_pager> | |
# asks to not be shown in pagers | |
<skip_taskbar>no</skip_taskbar> | |
# asks to not be shown in taskbars. window cycling actions will also | |
# skip past such windows | |
<fullscreen>yes</fullscreen> | |
# make the window in fullscreen mode when it appears | |
<maximized>true</maximized> | |
# 'Horizontal', 'Vertical' or boolean (yes/no) | |
</application> | |
# end of the example | |
--> | |
</applications> | |
</openbox_config> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tilda_config_version = "0.9.6" | |
# image = "" | |
# command = "" | |
font = "Monospace 9" | |
key = "F1" | |
title = "Tilda" | |
background_color = "grey" | |
# working_dir = "" | |
web_browser = "firefox" | |
lines = 100 | |
max_width = 896 | |
max_height = 720 | |
min_width = 1 | |
min_height = 1 | |
transparency = 75 | |
x_pos = 350 | |
y_pos = 15 | |
tab_pos = 0 | |
backspace_key = 0 | |
delete_key = 1 | |
d_set_title = 3 | |
command_exit = 2 | |
scheme = 3 | |
slide_sleep_usec = 15000 | |
animation_orientation = 0 | |
scrollbar_pos = 2 | |
back_red = 0 | |
back_green = 0 | |
back_blue = 0 | |
text_red = 65535 | |
text_green = 65535 | |
text_blue = 65535 | |
scroll_background = true | |
scroll_on_output = false | |
notebook_border = false | |
antialias = true | |
scrollbar = false | |
use_image = false | |
grab_focus = true | |
above = false | |
notaskbar = true | |
bold = true | |
blinks = true | |
scroll_on_key = true | |
bell = false | |
run_command = false | |
pinned = true | |
animation = false | |
hidden = true | |
centered_horizontally = false | |
centered_vertically = false | |
enable_transparency = true | |
double_buffer = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#--------------------------------------------- | |
# TINT2 CONFIG FILE | |
#--------------------------------------------- | |
#--------------------------------------------- | |
# BACKGROUND AND BORDER | |
#--------------------------------------------- | |
rounded = 0 | |
border_width = 0 | |
background_color = #000000 60 | |
border_color = #ffffff 18 | |
rounded = 0 | |
border_width = 0 | |
background_color = #ffffff 0 | |
border_color = #ffffff 0 | |
rounded = 0 | |
border_width = 0 | |
background_color = #000000 80 | |
border_color = #ffffff 30 | |
rounded = 0 | |
border_width = 0 | |
background_color = #ffffff 30 | |
border_color = #ffffff 45 | |
#--------------------------------------------- | |
# PANEL | |
#--------------------------------------------- | |
panel_monitor = all | |
panel_position = bottom center | |
panel_size = 80% 38 | |
panel_margin = 0 0 | |
panel_padding = 0 0 15 | |
font_shadow = 0 | |
panel_background_id = 2 | |
wm_menu = 1 | |
panel_dock = 0 | |
panel_layer = bottom | |
#--------------------------------------------- | |
# TASKBAR | |
#--------------------------------------------- | |
taskbar_mode = multi_desktop | |
#taskbar_mode = single_desktop | |
taskbar_padding = 4 2 2 | |
taskbar_background_id = 1 | |
taskbar_active_background_id = 3 | |
#--------------------------------------------- | |
# TASKS | |
#--------------------------------------------- | |
task_icon = 1 | |
task_text = 0 | |
task_maximum_size = 40 35 | |
task_centered = 1 | |
task_padding = 3 3 | |
task_font = sans 8 | |
task_font_color = #ffffff 70 | |
task_background_id = 1 | |
task_icon_asb = 100 0 0 | |
# replace STATUS by 'urgent', 'active' or 'iconified' | |
#task_STATUS_background_id = 2 | |
#task_STATUS_font_color = #ffffff 85 | |
#task_STATUS_icon_asb = 100 0 0 | |
# example: | |
task_active_background_id = 4 | |
task_active_font_color = #ffffff 85 | |
task_active_icon_asb = 100 0 0 | |
urgent_nb_of_blink = 8 | |
#--------------------------------------------- | |
# SYSTRAYBAR | |
#--------------------------------------------- | |
systray = 1 | |
systray_padding = 4 4 5 | |
systray_background_id = 1 | |
systray_sort = left2right | |
systray_icon_size = 16 | |
systray_icon_asb = 100 0 0 | |
#--------------------------------------------- | |
# CLOCK | |
#--------------------------------------------- | |
time1_format = %H:%M | |
time1_font = sans 8 | |
time2_format = %A %d %B | |
time2_font = sans 7 | |
clock_font_color = #ffffff 76 | |
clock_padding = 4 0 | |
clock_background_id = 1 | |
#clock_lclick_command = xclock | |
clock_rclick_command = orage | |
#clock_tooltip = %A %d %B | |
#time1_timezone = :US/Hawaii | |
#time2_timezone = :Europe/Berlin | |
#clock_tooltip_timezone = :/usr/share/zoneinfo/Europe/Paris | |
#--------------------------------------------- | |
# BATTERY | |
#--------------------------------------------- | |
battery = 1 | |
battery_hide = 98 | |
battery_low_status = 10 | |
battery_low_cmd = notify-send "battery low" | |
bat1_font = sans 8 | |
bat2_font = sans 7 | |
battery_font_color = #ffffff 76 | |
battery_padding = 1 0 | |
battery_background_id = 3 | |
#--------------------------------------------- | |
# TOOLTIP | |
#--------------------------------------------- | |
tooltip = 1 | |
tooltip_padding = 2 2 | |
tooltip_show_timeout = 0.7 | |
tooltip_hide_timeout = 0.3 | |
tooltip_background_id = 1 | |
tooltip_font_color = #FFFFFF 80 | |
tooltip_font = sans 10 | |
#--------------------------------------------- | |
# MOUSE ACTION ON TASK | |
#--------------------------------------------- | |
mouse_middle = none | |
mouse_right = close | |
mouse_scroll_up = toggle | |
mouse_scroll_down = iconify | |
#--------------------------------------------- | |
# AUTOHIDE OPTIONS | |
#--------------------------------------------- | |
autohide = 0 | |
autohide_show_timeout = 0.3 | |
autohide_hide_timeout = 2 | |
autohide_height = 4 | |
strut_policy = minimum |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://i.imgur.com/ykiYK.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment