Browse Source

initial commit

master
Rinaldus 7 years ago
commit
0a5fdd05b1
  1. 29
      dunst/dunstrc
  2. 456
      fbpanel/default
  3. BIN
      obmenu-generator/cache.db
  4. 97
      obmenu-generator/config.pl
  5. BIN
      obmenu-generator/icons.db
  6. 113
      obmenu-generator/schema.pl
  7. 46
      openbox/autostart
  8. 6
      openbox/menu.xml
  9. 394
      openbox/menu.xml.bak
  10. 816
      openbox/rc.xml
  11. 20
      sets/openbox-de

29
dunst/dunstrc

@ -0,0 +1,29 @@ @@ -0,0 +1,29 @@
[global]
font = Droid Sans 14
padding = 5
horizontal_padding = 8
geometry = "1000x5-0+100"
shrink = yes
transparency = 80
# format = "<u>%s</u>\n%b"
allow_markup = yes
icon_position = left
# icon_folders = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/48x48/devices/:/usr/share/icons/gnome/48x48/mimetypes
history_length = 20
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#ececec"
foreground = "#000000"
timeout = 10
[urgency_normal]
background = "#ececec"
foreground = "#000000"
timeout = 10
[urgency_critical]
background = "#ececec"
foreground = "#000000"
timeout = 10

456
fbpanel/default

@ -0,0 +1,456 @@ @@ -0,0 +1,456 @@
########################################
## fbpanel configuration file ##
########################################
# DESCRIPTION
# Configuration file consists of mandatory 'Global' block that MUST come first,
# and optionally one or more 'Plugin' block.
# Lines having '#' as first non-blank char or blank lines are ignored
# Keywords are not case-sensitive
# Values are case-sensitive
# Value of variable is a text from first non-blank char after '='
# till the last non-blank char. '#' is NOT treated as coment in this context
# 'Global' block describes global parameters like position, size and
# some NETWM settings
# Global {
# # screen edge
# # legal values are: left, right, top, bottom
# edge = bottom
# # allignment of a panel
# # legal values are: left, right, center
# allign = left
# # length of margin (in pixels)
# # legal values are numbers
# margin = 0
# # widthtype specifies how panel width is calculated
# # legal values are: request, pixel, percent
# # request - follow widgets' size requests. can shrink or grow dynamically
# # pixel - occupy fixed number of pixels, then 'width' variable holds a number
# # percent - be 'width' precent of an edge.
# widthType = percent
# # numerical value of width (not applicable for 'request' widthtype)
# # legal values are numbers
# width = 80
# # heighttype specifies how panel height is calculated
# # legal values are: pixel
# # pixel - ocupy fixed number of pixels, then 'height' variable holds a number
# heightType = pixel
# # numerical value of height (if applicable)
# # legal values are numbers
# height = 28
# # Identify panel window type as dock
# # legal values are boolean
# setDockType = true
# # Reserve panel's space so that it will not be covered by maximazied windows
# # legal values are boolean
# # setPartialStrut = true
# # Transparency stuff:
# # tintColor is a color to composite on root background given as #RRGGBB or as name
# # alpha is transparency of the tint color.
# # transparent = true
# # tintColor = #FFFFFF
# or
# # tintColor = white
# # alpha = 127
# # Autohide
# # autoHide = false
# # heightWhenHidden = 2
# }
# 'Plugin' block specifies a plugin to load. It has same syntax for both
# builtin and external plugins.
# First parameter is 'type'. It's mandatory and must come first
# Legal values are plugin names. Names of builtin plugins are:
# separator - visual separator
# wincmd - 'show desktop' button
# taskbar - lists all opened windows (tasks)
# launchbar - bar with launch button
# image - just shows an image
# dclock - digital clock
# space - just seize space
# pager - thumbnailed view of the desktop
# tray - tray for XEMBED icons (aka docklets)
# expand - specifies if plugin can accomodate extra space or not [optional]
# padding - extra padding around plugin [optional]
# config {} - block of plugin's private configuration.
# This part is plugin dependant
#
# Plugin {
# type = wincmd
# config {
# image = ~/.fbpanel/images/Desktop2.png
# tooltip = Left click to iconify all windows. Middle click to shade them.
# }
# }
Global {
edge = bottom
allign = center
margin = 0
widthtype = percent
width = 100
height = 24
transparent = false
tintcolor = ffffff
alpha = 28
setdocktype = true
setpartialstrut = true
autohide = false
heightWhenHidden = 2
roundcorners = false
roundcornersradius = 7
layer = none
MaxElemHeight = 32
}
Plugin {
type = space
config {
size = 2
}
}
Plugin {
type = menu
config {
IconSize = 22
#icon = start-here
image = ~/Icons/tux.png
systemmenu {
}
separator {
}
menu {
name = Computer
icon = computer
item {
name = Lock Display
icon = gnome-lockscreen
action = slock
}
separator {
}
item {
name = logout
icon = gnome-session-logout
action = /usr/libexec/fbpanel/xlogout
}
item {
name = Reboot
icon = gnome-session-reboot
action = sudo reboot
}
item {
name = Shutdown
icon = gnome-session-halt
action = sudo shutdown -h now
}
}
}
}
Plugin {
type = space
config {
size = 15
}
}
Plugin {
type = launchbar
config {
button {
icon = file-manager
tooltip = Caja
action = caja
}
button {
icon = claws-mail
tooltip = Claws Mail
action = claws-mail
}
button {
image = /opt/google/chrome/product_logo_256.png
tooltip = Chrome
action = google-chrome-stable
}
button {
image = ~/Icons/battle_net.png
tooltip = Battle.net
action = "/home/rinaldus/Games/Blizzard/launch"
}
button {
icon = steam
tooltip = Steam
action = steam
}
button {
Image = ~/Icons/system-monitor.png
tooltip = System Monitor
action = mate-system-monitor
}
button {
Image = ~/Icons/keepassx.png
tooltip = Личная
action = keepassx "/home/rinaldus/Seafile/KeepassX/private.kdbx"
}
button {
Image = ~/Icons/nuclear.png
tooltip = НИЦ
action = keepassx "/home/rinaldus/Seafile/KeepassX/nits.kdbx"
}
button {
Image = ~/Icons/plane.png
tooltip = Александр
action = keepassx "/home/rinaldus/Seafile/KeepassX/alexander.kdbx"
}
button {
icon = terminator
tooltip = Terminator
action = terminator
}
}
}
#Plugin {
# type = space
# config {
# size = 15
# }
#}
#Plugin {
# type = wincmd
# config {
# icon = gnome-fs-desktop
# tooltip = Left click to iconify all windows. Middle click to shade them.
# }
#}
Plugin {
type = space
config {
size = 15
}
}
Plugin {
type = pager
config {
showwallpaper = true
}
}
Plugin {
type = taskbar
expand = true
config {
ShowIconified = true
ShowMapped = true
ShowAllDesks = false
tooltips = true
IconsOnly = false
MaxTaskWidth = 180
}
}
Plugin {
type = space
config {
size = 15
}
}
Plugin {
type = space
config {
size = 10
}
}
#Plugin {
# type = mem
# expand = false
# padding = 2
# config {
# ShowSwap = false
# }
#}
#Plugin {
# type = cpu
# config {
# Color = green
# }
#}
Plugin {
type = net
expand = false
padding = 0
config {
#interface = ppp0
interface = ppp0
# set connection limits to make traffic graph more accurate
TxLimit = 20
RxLimit = 190
TxColor = green
RxColor = red
}
}
Plugin {
type = space
config {
size = 10
}
}
#plugin {
# type = volume
#}
#plugin {
# type = battery
#}
Plugin {
type = tray
}
Plugin {
type = space
config {
size = 10
}
}
# Digital Clock
#Plugin {
# type = dclock
# config {
# ShowSeconds = true
# HoursView = 24
# TooltipFmt = %D.%M.%Y %H:%m%:s
# #Action = xmessage Please define some command &
# }
#}
# Text Clock
# ClockFmt: (string) Clock format string. May contain strftime conversion
# specifications and Pango markup information.
# TooltipFmt: (string) Tooltip format string.
# Action: (string) Shell command to execute when clock is clicked.
# ShowCalendar: (boolean) Show a GTK calendar widget when the clock is
# clicked. Only valid if Action is unset.
# ShowTooltip: (boolean) Show tooltip for clock.
Plugin {
type = tclock
config {
ClockFmt = <b>%a %x %H:%M:%S</b>
# 2 line view, time in bold above and date below
# ClockFmt = <span font="Sans 8"><b>%-l:%M</b> %P&#xA;%a %B %-e</span>
TooltipFmt = %A %x
#Action = xmessage Please define some command &
ShowCalendar = true
ShowTooltip = true
}
}
Plugin {
type = space
config {
size = 5
}
}
Plugin {
type = launchbar
config {
button {
icon = gnome-lockscreen
tooltip = Lock
action = slock
}
}
# 'icons' plugin lets you customize window icons.
# these changes apply to entire desktop
Plugin {
type = icons
config {
DefaultIcon = /usr/share/fbpanel/images/default.xpm
application {
icon = gnome-terminal
ClassName = XTerm
}
application {
icon = gnome-terminal
ClassName = mlterm
}
application {
icon = gnome-terminal
ClassName = URxvt
}
application {
icon = gnome-emacs
ClassName = Emacs
}
application {
icon = mozilla-firefox
ClassName = Firefox-bin
}
application {
icon = mozilla-firefox
ClassName = Firefox
}
}
}

BIN
obmenu-generator/cache.db

Binary file not shown.

97
obmenu-generator/config.pl

@ -0,0 +1,97 @@ @@ -0,0 +1,97 @@
#!/usr/bin/perl
# obmenu-generator - configuration file
# This file will be updated automatically.
# Any additional comment and/or indentation will be lost.
=for comment
|| FILTERING
| skip_filename_re : Skip a .desktop file if its name matches the regex.
Name is from the last slash to the end. (filename.desktop)
Example: qr/^(?:gimp|xterm)\b/, # skips 'gimp' and 'xterm'
| skip_entry : Skip a destkop file if the value from a given key matches the regex.
Example: [
{key => 'Name', re => qr/(?:about|terminal)/i},
{key => 'Exec', re => qr/^xterm/},
],
| substitutions : Substitute, by using a regex, in the values of the desktop files.
Example: [
{key => 'Exec', re => qr/xterm/, value => 'sakura'},
{key => 'Exec', re => qr/\\\\/, value => '\\', global => 1}, # for wine apps
],
|| ICON SETTINGS
| icon_dirs_first : When looking for icons, look in this directories first,
before looking in the directories of the current icon theme.
Example: [
"$ENV{HOME}/My icons",
],
| icon_dirs_second : Look in this directories after looked in the directories of the
current icon theme. (Before /usr/share/pixmaps)
Example: [
"/usr/share/icons/gnome",
],
| icon_dirs_last : Look in this directories at the very last, after looked in
/usr/share/pixmaps, /usr/share/icons/hicolor and some other
directories.
Example: [
"/usr/share/icons/Tango",
],
| strict_icon_dirs : A true value will make the script to look only inside the directories
specified by you in either one of the above three options.
| gtk_rc_filename : Absolute path to the GTK configuration file.
| missing_image : Use this icon for missing icons (default: gtk-missing-image)
|| KEYS
| name_keys : Valid keys for the item names.
Example: ['Name[fr]', 'GenericName[fr]', 'Name'], # french menu
|| PATHS
| desktop_files_paths : Absolute paths which contain .desktop files.
Example: [
'/usr/share/applications',
"$ENV{HOME}/.local/share/applications",
glob("$ENV{HOME}/.local/share/applications/wine/Programs/*"),
],
|| NOTES
| Regular expressions:
* use qr/RE/ instead of 'RE'
* use qr/RE/i for case insensitive mode
=cut
our $CONFIG = {
"editor" => "geany",
"Linux::DesktopFiles" => {
desktop_files_paths => ["/usr/share/applications", "/usr/local/share/applications"],
gtk_rc_filename => "/home/rinaldus/.gtkrc-2.0",
icon_dirs_first => undef,
icon_dirs_last => undef,
icon_dirs_second => undef,
keep_unknown_categories => 1,
skip_entry => undef,
skip_filename_re => undef,
skip_svg_icons => 0,
strict_icon_dirs => undef,
substitutions => undef,
terminalization_format => "%s -e '%s'",
terminalize => 1,
unknown_category_key => "other",
},
"missing_icon" => "gtk-missing-image",
"name_keys" => ["Name"],
"terminal" => "terminator",
"VERSION" => 0.66,
}

BIN
obmenu-generator/icons.db

Binary file not shown.

113
obmenu-generator/schema.pl

@ -0,0 +1,113 @@ @@ -0,0 +1,113 @@
#!/usr/bin/perl
# obmenu-generator - schema file
=for comment
item: add an item inside the menu {item => ["command", "label", "icon"]},
cat: add a category inside the menu {cat => ["name", "label", "icon"]},
sep: horizontal line separator {sep => undef}, {sep => "label"},
pipe: a pipe menu entry {pipe => ["command", "label", "icon"]},
raw: any valid Openbox XML string {raw => q(xml string)},
begin_cat: begin of a category {begin_cat => ["name", "icon"]},
end_cat: end of a category {end_cat => undef},
obgenmenu: generic menu settings {obgenmenu => ["label", "icon"]},
exit: default "Exit" action {exit => ["label", "icon"]},
=cut
# NOTE:
# * Keys and values are case sensitive. Keep all keys lowercase.
# * ICON can be a either a direct path to an icon or a valid icon name
# * Category names are case insensitive. (X-XFCE and x_xfce are equivalent)
require "$ENV{HOME}/.config/obmenu-generator/config.pl";
## Text editor
my $editor = $CONFIG->{editor};
our $SCHEMA = [
# COMMAND LABEL ICON
# {item => ['xdg-open .', 'File Manager', 'file-manager']},
# {item => ['xterm', 'Terminal', 'terminal']},
# {item => ['xdg-open http://', 'Web Browser', 'web-browser']},
# {item => ['gmrun', 'Run command', 'system-run']},
{sep => 'Categories'},
# NAME LABEL ICON
{cat => ['utility', 'Accessories', 'applications-utilities']},
{cat => ['development', 'Development', 'applications-development']},
{cat => ['education', 'Education', 'applications-science']},
{cat => ['game', 'Games', 'applications-games']},
{cat => ['graphics', 'Graphics', 'applications-graphics']},
{cat => ['audiovideo', 'Multimedia', 'applications-multimedia']},
{cat => ['network', 'Network', 'applications-internet']},
{cat => ['office', 'Office', 'applications-office']},
# {cat => ['other', 'Other', 'applications-other']},
{cat => ['settings', 'Settings', 'applications-accessories']},
{cat => ['system', 'System', 'applications-system']},
#{cat => ['qt', 'QT Applications', 'qt4logo']},
#{cat => ['gtk', 'GTK Applications', 'gnome-applications']},
#{cat => ['x_xfce', 'XFCE Applications', 'applications-other']},
#{cat => ['gnome', 'GNOME Applications', 'gnome-applications']},
#{cat => ['consoleonly', 'CLI Applications', 'applications-utilities']},
# LABEL ICON
#{begin_cat => ['My category', 'cat-icon']},
# ... some items ...
#{end_cat => undef},
# COMMAND LABEL ICON
#{pipe => ['obbrowser', 'Disk', 'drive-harddisk']},
## Generic advanced settings
#{sep => undef},
#{obgenmenu => ['Openbox Settings', 'openbox']},
#{sep => undef},
## Custom advanced settings
{sep => undef},
{begin_cat => ['Advanced Settings', 'gnome-settings']},
# Configuration files
# {item => ["$editor ~/.conkyrc", 'Conky RC', 'text-x-source']},
# {item => ["$editor ~/.config/tint2/tint2rc", 'Tint2 Panel', 'text-x-source']},
# obmenu-generator category
{begin_cat => ['Obmenu-Generator', 'menu-editor']},
# {item => ["$editor ~/.config/obmenu-generator/schema.pl", 'Menu Schema', 'text-x-source']},
# {item => ["$editor ~/.config/obmenu-generator/config.pl", 'Menu Config', 'text-x-source']},
{sep => undef},
{item => ['obmenu-generator -p', 'Generate a pipe menu', 'menu-editor']},
{item => ['obmenu-generator -s -c', 'Generate a static menu', 'menu-editor']},
{item => ['obmenu-generator -p -i', 'Generate a pipe menu with icons', 'menu-editor']},
{item => ['obmenu-generator -s -i -c', 'Generate a static menu with icons', 'menu-editor']},
{sep => undef},
{item => ['obmenu-generator -d', 'Refresh Icon Set', 'gtk-refresh']},
{end_cat => undef},
# Openbox category
{begin_cat => ['Openbox', 'openbox']},
{item => ['openbox --reconfigure', 'Reconfigure Openbox', 'openbox']},
{item => ["$editor ~/.config/openbox/autostart", 'Openbox Autostart', 'shellscript']},
{item => ["$editor ~/.config/openbox/rc.xml", 'Openbox RC', 'text-xml']},
{item => ["$editor ~/.config/openbox/menu.xml", 'Openbox Menu', 'text-xml']},
{end_cat => undef},
{end_cat => undef},
{sep => undef},
## The xscreensaver lock command
{item => ['slock', 'Lock', 'lock']},
# This option uses the default Openbox's action "Exit"
{exit => ['Exit', 'exit']},
# This uses the 'oblogout' menu
# {item => ['oblogout', 'Exit', 'exit']},
]

46
openbox/autostart

@ -0,0 +1,46 @@ @@ -0,0 +1,46 @@
# Set Russian layout
setxkbmap -layout us,ru -option "grp:ctrl_shift_toggle,grp_led:scroll" -variant ",winkeys" &
# Set keyboard repeat delay
xset r rate 150 20 &
# Disable screen blanking
xset s noblank &
xset s off &
# Generate Openbox menu
obmenu-generator -p -i
# Load panel
fbpanel &
# Set background image
feh --bg-scale ~/wallpapers/amazingdrawings_1920x1080.jpg
# Load layout indicator
xxkb &
# Load Skype
/opt/bin/skype &
# Load Pidgin
pidgin &
# Load volumeicon
volumeicon &
# Load Seafile
/usr/local/bin/seafile-applet &
# Load polkit-agent for mount drives
/usr/libexec/polkit-gnome-authentication-agent-1 &
# Load Mail Notifier
mail-notifier &
# Load Eventlist
eventlist &
# Load Conky
conky_start &

6
openbox/menu.xml

@ -0,0 +1,6 @@ @@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<openbox_menu xmlns="http://openbox.org/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://openbox.org/">
<menu id="root-menu" label="obmenu-generator" execute="/usr/bin/perl /usr/bin/obmenu-generator -i" />
</openbox_menu>

394
openbox/menu.xml.bak

@ -0,0 +1,394 @@ @@ -0,0 +1,394 @@
<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu xmlns="http://openbox.org/3.4/menu">
<menu id="apps-accessories-menu" label="Accessories">
<item label="Calculator">
<action name="Execute">
<command>gnome-calculator</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Character Map">
<action name="Execute">
<command>gnome-character-map</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Ark File Archiver">
<action name="Execute">
<command>ark</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
</menu>
<menu id="apps-editors-menu" label="Editors">
<item label="GVim">
<action name="Execute">
<command>gvim</command>
<startupnotify>
<enabled>yes</enabled>
<wmclass>GVim</wmclass>
</startupnotify>
</action>
</item>
<item label="Emacs">
<action name="Execute">
<command>emacs</command>
<startupnotify>
<enabled>yes</enabled>
<wmclass>Emacs</wmclass>
</startupnotify>
</action>
</item>
<item label="GEdit">
<action name="Execute">
<command>gedit</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Kate">
<action name="Execute">
<command>kate</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Kwrite">
<action name="Execute">
<command>kwrite</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
</menu>
<menu id="apps-term-menu" label="Terminals">
<item label="Terminator">
<action name="Execute">
<command>terminator</command>
</action>
</item>
<item label="Gnome Terminal">
<action name="Execute">
<command>gnome-terminal</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Xfce Terminal">
<action name="Execute">
<command>xfce4-terminal</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Konsole">
<action name="Execute">
<command>konsole</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Xterm">
<action name="Execute"><command>xterm</command></action>
</item>
</menu>
<menu id="apps-net-menu" label="Internet">
<item label="Firefox">
<action name="Execute">
<command>firefox</command>
<startupnotify>
<enabled>yes</enabled>
<wmclass>Firefox</wmclass>
</startupnotify>
</action>
</item>
<item label="Chromium">
<action name="Execute">
<command>chromium</command>
<startupnotify>
<enabled>yes</enabled>
<wmclass>Chromium</wmclass>
</startupnotify>
</action>
</item>
<item label="Konqueror">
<action name="Execute">
<command>konqueror</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Skype">
<action name="Execute">
<command>skype</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Pidgin Instant Messenger">
<action name="Execute">
<command>pidgin</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Kopete Instant Messenger">
<action name="Execute">
<command>kopete</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="XChat">
<action name="Execute">
<command>xchat</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
</menu>
<menu id="apps-office-menu" label="Office">
<item label="OpenOffice Base">
<action name="Execute">
<command>ooffice -base</command>
</action>
</item>
<item label="OpenOffice Calc">
<action name="Execute">
<command>ooffice -calc</command>
</action>
</item>
<item label="OpenOffice Draw">
<action name="Execute">
<command>ooffice -draw</command>
</action>
</item>
<item label="OpenOffice Impress">
<action name="Execute">
<command>ooffice -impress</command>
</action>
</item>
<item label="OpenOffice Math">
<action name="Execute">
<command>ooffice -math</command>
</action>
</item>
<item label="OpenOffice Printer Administration">
<action name="Execute">
<command>ooffice-printeradmin</command>
</action>
</item>
<item label="OpenOffice Writer">
<action name="Execute">
<command>ooffice -writer</command>
</action>
</item>
</menu>
<menu id="apps-multimedia-menu" label="Multimedia">
<item label="Amarok">
<action name="Execute">
<command>amarok</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Rhythmbox">
<action name="Execute">
<command>rhythmbox</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="K3b">
<action name="Execute">
<command>k3b</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="MPlayer">
<action name="Execute">
<command>gmplayer</command>
<startupnotify>
<enabled>yes</enabled>
<wmclass>MPlayer</wmclass>
</startupnotify>
</action>
</item>
<item label="Totem">
<action name="Execute">
<command>totem</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
</menu>
<menu id="apps-fileman-menu" label="File Managers">
<item label="Nautilus">
<action name="Execute">
<command>nautilus --no-desktop --browser</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Thunar">
<action name="Execute">
<command>Thunar</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="KDE File Manager">
<action name="Execute">
<command>kfmclient openURL ~</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Rox">
<action name="Execute">
<command>rox</command>
<startupnotify>
<enabled>yes</enabled>
<wmclass>ROX-Filer</wmclass>
</startupnotify>
</action>
</item>
<item label="PCMan File Manager">
<action name="Execute">
<command>pcmanfm</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
</menu>
<menu id="apps-graphics-menu" label="Graphics">
<item label="Gimp">
<action name="Execute">
<command>gimp</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Gwenview">
<action name="Execute">
<command>gwenview</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Dia Diagram Editor">
<action name="Execute">
<command>dia</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
<item label="Inkscape">
<action name="Execute">
<command>inkscape</command>
<startupnotify>
<enabled>yes</enabled>
</startupnotify>
</action>
</item>
</menu>
<menu id="system-menu" label="System">
<item label="Openbox Configuration Manager">
<action name="Execute">
<command>obconf</command>
<startupnotify><enabled>yes</enabled></startupnotify>
</action>
</item>
<item label="Gnome Control Center">
<action name="Execute">
<command>gnome-control-center</command>
<startupnotify><enabled>yes</enabled></startupnotify>
</action>
</item>
<item label="KDE Control Center">
<action name="Execute">
<command>kcontrol</command>
<startupnotify><enabled>yes</enabled></startupnotify>
</action>
</item>
<item label="Xfce Settings">
<action name="Execute">
<command>xfce-setting-show</command>
<startupnotify><enabled>yes</enabled></startupnotify>
</action>
</item>
<item label="Manage Cups Printers">
<action name="Execute">
<command>xdg-open http://localhost:631/</command>
<startupnotify>
<enabled>no</enabled>
<icon>cups</icon>
</startupnotify>
</action>
</item>
<separator />
<item label="Reconfigure Openbox">
<action name="Reconfigure" />
</item>
</menu>
<menu id="root-menu" label="Openbox 3">
<separator label="Applications" />
<menu id="apps-accessories-menu"/>
<menu id="apps-editors-menu"/>
<menu id="apps-graphics-menu"/>
<menu id="apps-net-menu"/>
<menu id="apps-office-menu"/>
<menu id="apps-multimedia-menu"/>
<menu id="apps-term-menu"/>
<menu id="apps-fileman-menu"/>
<separator label="System" />
<menu id="system-menu"/>
<separator />
<item label="Log Out">
<action name="Exit">
<prompt>yes</prompt>
</action>
</item>
</menu>
</openbox_menu>

816
openbox/rc.xml

@ -0,0 +1,816 @@ @@ -0,0 +1,816 @@
<?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" xmlns:xi="http://www.w3.org/2001/XInclude">
<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>Primary</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, 'Primary' - only on the primary monitor -->
<primaryMonitor>1</primaryMonitor>
<!-- The monitor where Openbox should place popup dialogs such as the
focus cycling popup, or the desktop switch popup. It can be an index
from 1, specifying a particular monitor. Or it can be one of the
following: 'Mouse' - where the mouse is, or
'Active' - where the active window is -->
</placement>
<theme>
<name>Bear2</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>Droid Sans</name>
<size>12</size>
<!-- font size in points -->
<weight>Normal</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="InactiveWindow">
<name>Droid Sans</name>
<size>12</size>
<!-- font size in points -->
<weight>Normal</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="MenuHeader">
<name>Droid Sans</name>
<size>10</size>
<!-- font size in points -->
<weight>Normal</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="MenuItem">
<name>Droid Sans</name>
<size>10</size>
<!-- font size in points -->
<weight>Normal</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="ActiveOnScreenDisplay">
<name>Droid Sans</name>
<size>10</size>
<!-- font size in points -->
<weight>Normal</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="InactiveOnScreenDisplay">
<name>Droid Sans</name>
<size>10</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>2</number>
<firstdesk>1</firstdesk>
<names>
<!-- set names up here if you want to, like this:
<name>desktop 1</name>
<name>desktop 2</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>0</top>
<bottom>0</bottom>
<left>0</left>
<right>0</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="GoToDesktop">
<to>left</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Right">
<action name="GoToDesktop">
<to>right</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Up">
<action name="GoToDesktop">
<to>up</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Down">
<action name="GoToDesktop">
<to>down</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Left">
<action name="SendToDesktop">
<to>left</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Right">
<action name="SendToDesktop">
<to>right</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Up">
<action name="SendToDesktop">
<to>up</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Down">
<action name="SendToDesktop">
<to>down</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="W-F1">
<action name="GoToDesktop">
<to>1</to>
</action>
</keybind>
<keybind key="W-F2">
<action name="GoToDesktop">
<to>2</to>
</action>
</keybind>
<keybind key="W-F3">
<action name="GoToDesktop">
<to>3</to>
</action>
</keybind>
<keybind key="W-F4">
<action name="GoToDesktop">
<to>4</to>
</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>
<!-- Keybindings for window switching -->
<keybind key="A-Tab">
<action name="NextWindow">
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<keybind key="A-S-Tab">
<action name="PreviousWindow">
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<keybind key="C-A-Tab">
<action name="NextWindow">
<panels>yes</panels>
<desktop>yes</desktop>
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<!-- Keybindings for window switching with the arrow keys -->
<keybind key="W-S-Right">
<action name="DirectionalCycleWindows">
<direction>right</direction>
</action>
</keybind>
<keybind key="W-S-Left">
<action name="DirectionalCycleWindows">
<direction>left</direction>
</action>
</keybind>
<keybind key="W-S-Up">
<action name="DirectionalCycleWindows">
<direction>up</direction>
</action>
</keybind>
<keybind key="W-S-Down">
<action name="DirectionalCycleWindows">
<direction>down</direction>
</action>
</keybind>
<!-- Keybindings for running applications -->
<keybind key="A-F2">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>GMRun</name>
</startupnotify>
<command>gmrun</command>
</action>
</keybind>
<keybind key="C-A-Escape">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>XKill</name>
</startupnotify>
<command>xkill</command>
</action>
</keybind>
<keybind key="Print">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Screenshot</name>
</startupnotify>
<command>screengrab</command>
</action>
</keybind>
</keyboard>
<mouse>
<dragThreshold>1</dragThreshold>
<!-- number of pixels the mouse must move before a drag begins -->
<doubleClickTime>500</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 -->
<screenEdgeWarpMouse>false</screenEdgeWarpMouse>
<!-- Set this to TRUE to move the mouse pointer across the desktop when
switching due to hitting the edge of the screen -->
<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="GoToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind button="A-Down" action="Click">
<action name="GoToDesktop">
<to>next</to>
</action>
</mousebind>
<mousebind button="C-A-Up" action="Click">
<action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind button="C-A-Down" action="Click">
<action name="GoToDesktop">
<to>next</to>
</action>
</mousebind>
<mousebind button="A-S-Up" action="Click">
<action name="SendToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind button="A-S-Down" action="Click">
<action name="SendToDesktop">
<to>next</to>
</action>
</mousebind>
</context>
<context name="Titlebar">
<mousebind button="Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="Left" action="DoubleClick">
<action name="ToggleMaximize"/>
</mousebind>
<mousebind button="Up" action="Click">
<action name="if">
<shaded>no</shaded>
<then>
<action name="Shade"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
<action name="Lower"/>
</then>
</action>
</mousebind>
<mousebind button="Down" action="Click">
<action name="if">
<shaded>yes</shaded>
<then>
<action name="Unshade"/>
<action name="Raise"/>
</then>
</action>
</mousebind>
</context>
<context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</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="Top">
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>top</edge>
</action>
</mousebind>
</context>
<context name="Left">
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>left</edge>
</action>
</mousebind>
</context>
<context name="Right">
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>right</edge>
</action>
</mousebind>
</context>
<context name="Bottom">
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>bottom</edge>
</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="TRCorner BRCorner TLCorner BLCorner">
<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"/>