[openbox] modification

This commit is contained in:
fhdk 2018-04-09 21:18:10 +02:00
parent 7de5c5c5bd
commit 30cea54a5e
5 changed files with 268 additions and 197 deletions

View File

@ -49,9 +49,9 @@ lxterminal
## filemanager
mc
pcmanfm-gtk3
spacefm
ranger
xarchiver
engrampa
## mail
sylpheed
@ -65,8 +65,7 @@ arandr # monitor layout
exo-gtk3 # open with default programs
lxappearance-gtk3 # openbox appearance manager
lxappearance-obconf-gtk3 # obconf plugin
lxinput-gtk3 # input manager
lxsession-gtk3 # session manager
lxsession-gtk3
## net tools
bind-tools #

View File

@ -0,0 +1,18 @@
# compton
sleep 1; manjaro-compositor --start &
# enable numlock, commented out for laptop users
#sleep 1; numlockx &
# restore wallpaper
sleep 1; nitrogen --restore &
sleep 1; manjaro-polybar-session &
# Openbox autostart
sleep 1; ob-autostart -d &
# PolicyKit authentication
lxpolkit &
# Side shortcuts for file managers
xdg-user-dirs-gtk-update &

View File

@ -0,0 +1,13 @@
# environment
# vim:ft=sh
# To set your language for displaying messages and time/date formats, use the following:
# LANG=en_US.UTF8
# GNOME Keyring
export "$(gnome-keyring-daemon --start --components=pkcs11,secrets)"
# dbus with openbox
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi

View File

@ -1,194 +1,212 @@
<?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/ file:///usr/share/openbox/menu.xsd">
<menu id="root-menu" label="Openbox 3">
<separator label="Manjaro Openbox"/>
<item label="Architect Installer">
<action name="Execute">
<command>termite --exec /usr/bin/setup</command>
</action>
</item>
<item label="Calamares Installer">
<action name="Execute">
<command>sudo calamares</command>
</action>
</item>
<separator></separator>
<item label="Terminal">
<action name="Execute">
<command>exo-open --launch TerminalEmulator</command>
</action>
</item>
<item label="Web Browser">
<action name="Execute">
<command>exo-open --launch WebBrowser</command>
</action>
</item>
<item label="File Manager">
<action name="Execute">
<command>exo-open --launch FileManager</command>
</action>
</item>
<item label="Text Editor">
<action name="Execute">
<command>l3afpad</command>
</action>
</item>
<separator/>
<menu id="accessories" label="Accessories">
<item label="Calculator">
<action name="Execute">
<command>galculator</command>
</action>
</item>
<item label="Archive Manager">
<action name="Execute">
<command>file-roller</command>
</action>
</item>
<item label="Picture Viewer">
<action name="Execute">
<command>gpicview</command>
</action>
</item>
</menu>
<menu id="screenshot" label="Screenshot">
<item label="Screenshot Now">
<action name="Execute">
<command>scrot 'screenshot_%Y%m%d-%H%M%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
</action>
</item>
<item label="Screenshot in 5">
<action name="Execute">
<command>scrot -d 5 'screenshot_%Y%m%d-%H%M%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
</action>
</item>
<item label="Screenshot in 10">
<action name="Execute">
<command>scrot -d 10 'screenshot_%Y%m%d-%H%M%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
</action>
</item>
<item label="Screenshot With Selection">
<action name="Execute">
<command>scrot -s 'screenshot_%Y%m%d-%H%M%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
</action>
</item>
</menu>
<separator/>
<menu execute="manjaro-places-pipemenu --recent ~/" id="pipe-placesmenu" label="Places"/>
<separator/>
<menu id="preferences" label="Preferences">
<menu id="obConfig" label="Openbox">
<item label="Settings Editor">
<action name="Execute">
<command>lxappearance</command>
</action>
</item>
<item label="Menu Editor">
<action name="Execute">
<command>kickshaw</command>
</action>
</item>
<item label="Keybind Editor">
<action name="Execute">
<command>obkey</command>
</action>
</item>
<item label="Autostart Editor">
<action name="Execute">
<command>ob-autostart</command>
</action>
</item>
<separator/>
<item label="Edit menu.xml">
<action name="Execute">
<command>exo-open ~/.config/openbox/menu.xml</command>
</action>
</item>
<item label="Edit rc.xml">
<action name="Execute">
<command>exo-open ~/.config/openbox/rc.xml</command>
</action>
</item>
<item label="Edit autostart">
<action name="Execute">
<command>exo-open ~/.config/openbox/autostart</command>
</action>
</item>
<separator/>
<item label="Openbox Reconfigure">
<action name="Reconfigure"/>
</item>
<item label="Openbox Restart">
<action name="Restart"/>
</item>
</menu>
<menu execute="manjaro-compositor" id="CompositingPipeMenu" label="Compositor"/>
<menu execute="manjaro-polybar-pipemenu" id="PolybarPipeMenu" label="Polybar"/>
<menu execute="manjaro-conky-pipemenu" id="ConkyPipeMenu" label="Conky"/>
<menu execute="manjaro-tint2-pipemenu" id="TintPipeMenu" label="Tint2"/>
<item label="Panel Chooser">
<action name="Execute">
<command>manjaro-panel-chooser</command>
</action>
</item>
<separator/>
<item label="Wallpaper">
<action name="Execute">
<command>nitrogen</command>
</action>
</item>
<item label="Rofi Theme">
<action name="Execute">
<command>rofi-theme-selector</command>
</action>
</item>
<separator/>
<item label="Session Autostart">
<action name="Execute">
<command>lxsession-edit</command>
</action>
</item>
<item label="Screen Layout">
<action name="Execute">
<command>lxrandr</command>
</action>
</item>
</menu>
<menu id="system-settings" label="System Settings">
<item label="Package Manager">
<action name="Execute">
<command>termite --exec=pacui</command>
</action>
</item>
<item label="Root File Manager">
<action name="Execute">
<command>gksu thunar</command>
</action>
</item>
<item label="GParted">
<action name="Execute">
<command>gksu gparted</command>
</action>
</item>
</menu>
<menu execute="manjaro-help-pipemenu" id="help" label="Help and Info"/>
<menu execute="manjaro-kb-pipemenu" id="keybinds" label="Keybinds"/>
<separator/>
<item label="Switch Menu">
<action name="Execute">
<command>switchmenu -dynamic</command>
</action>"
</item>
<separator/>
<item label="Lock Screen">
<action name="Execute">
<command>lock -- scrot</command>
</action>
</item>
<item label="Exit Openbox">
<action name="Execute">
<command>rofr.sh -l</command>
</action>
</item>
</menu>
</openbox_menu>
<openbox_menu>
<menu id="installer" label="Installation">
<item label="Calamares Installer">
<action name="Execute">
<command>sudo calamares</command>
</action>
</item>
<item label="Architect Installer">
<action name="Execute">
<command>sudo setup</command>
</action>
</item>
</menu>
<menu id="accessories" label="Accessories">
<item label="Calculator">
<action name="Execute">
<command>galculator</command>
</action>
</item>
<item label="Archive Manager">
<action name="Execute">
<command>engrampa</command>
</action>
</item>
<item label="PDF Viewer">
<action name="Execute">
<command>epdfview</command>
</action>
</item>
<item label="Picture Viewer">
<action name="Execute">
<command>gpicview</command>
</action>
</item>
<item label="File Search">
<action name="Execute">
<command>catfish</command>
</action>
</item>
</menu>
<menu id="screenshot" label="Screenshot">
<item label="Screenshot Now">
<action name="Execute">
<command>scrot &apos;screenshot_%Y%m%d-%H%M%S_$wx$h.png&apos; -e &apos;mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f&apos;</command>
</action>
</item>
<item label="Screenshot in 5">
<action name="Execute">
<command>scrot -d 5 &apos;screenshot_%Y%m%d-%H%M%S_$wx$h.png&apos; -e &apos;mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f&apos;</command>
</action>
</item>
<item label="Screenshot in 10">
<action name="Execute">
<command>scrot -d 10 &apos;screenshot_%Y%m%d-%H%M%S_$wx$h.png&apos; -e &apos;mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f&apos;</command>
</action>
</item>
<item label="Screenshot With Selection">
<action name="Execute">
<command>scrot -s &apos;screenshot_%Y%m%d-%H%M%S_$wx$h.png&apos; -e &apos;mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f&apos;</command>
</action>
</item>
</menu>
<menu id="preferences" label="Preferences">
<menu id="obConfig" label="Openbox">
<item label="Settings Editor">
<action name="Execute">
<command>lxappearance</command>
</action>
</item>
<item label="Menu Editor">
<action name="Execute">
<command>kickshaw</command>
</action>
</item>
<item label="Keybind Editor">
<action name="Execute">
<command>obkey</command>
</action>
</item>
<item label="Autostart Editor">
<action name="Execute">
<command>ob-autostart</command>
</action>
</item>
<separator/>
<item label="Edit menu.xml">
<action name="Execute">
<command>exo-open ~/.config/openbox/menu.xml</command>
</action>
</item>
<item label="Edit rc.xml">
<action name="Execute">
<command>exo-open ~/.config/openbox/rc.xml</command>
</action>
</item>
<item label="Edit autostart">
<action name="Execute">
<command>exo-open ~/.config/openbox/autostart</command>
</action>
</item>
<separator/>
<item label="Openbox Reconfigure">
<action name="Reconfigure"/>
</item>
<item label="Openbox Restart">
<action name="Restart"/>
</item>
</menu>
<menu id="CompositingPipeMenu" label="Compositor" execute="manjaro-compositor"/>
<menu id="PolybarPipeMenu" label="Polybar" execute="manjaro-polybar-pipemenu"/>
<menu id="ConkyPipeMenu" label="Conky" execute="manjaro-conky-pipemenu"/>
<menu id="TintPipeMenu" label="Tint2" execute="manjaro-tint2-pipemenu"/>
<item label="Panel Chooser">
<action name="Execute">
<command>manjaro-panel-chooser</command>
</action>
</item>
<separator/>
<item label="Wallpaper">
<action name="Execute">
<command>nitrogen</command>
</action>
</item>
<item label="Rofi Theme">
<action name="Execute">
<command>rofi-theme-selector</command>
</action>
</item>
<separator/>
<item label="Audio Settings">
<action name="Execute">
<command>pavucontrol</command>
</action>
</item>
<item label="Screen Layout">
<action name="Execute">
<command>arandr</command>
</action>
</item>
</menu>
<menu id="system-settings" label="System Settings">
<item label="Package Manager">
<action name="Execute">
<command>pamac-manager</command>
</action>
</item>
<item label="Root File Manager">
<action name="Execute">
<command>gksu thunar</command>
</action>
</item>
<item label="GParted">
<action name="Execute">
<command>gksu gparted</command>
</action>
</item>
</menu>
<menu id="root-menu" label="Openbox 3">
<separator label="Manjaro Openbox"/>
<item label="Terminal">
<action name="Execute">
<command>exo-open --launch TerminalEmulator</command>
</action>
</item>
<item label="File Manager">
<action name="Execute">
<command>exo-open --launch FileManager</command>
</action>
</item>
<item label="Web Browser">
<action name="Execute">
<command>exo-open --launch WebBrowser</command>
</action>
</item>
<item label="Text Editor">
<action name="Execute">
<command>scite</command>
</action>
</item>
<separator/>
<menu id="accessories"/>
<menu id="screenshot"/>
<separator/>
<menu id="pipe-placesmenu" label="Places" execute="manjaro-places-pipemenu --recent ~/"/>
<separator/>
<menu id="preferences"/>
<menu id="system-settings"/>
<menu id="help" label="Help and Info" execute="manjaro-help-pipemenu"/>
<menu id="keybinds" label="Keybinds" execute="manjaro-kb-pipemenu"/>
<separator/>
<item label="Switch Menu">
<action name="Execute">
<command>switchmenu -dynamic</command>
</action>
</item>
<separator/>
<item label="Lock Screen">
<action name="Execute">
<command>lockscreen -- scrot</command>
</action>
</item>
<item label="Exit Openbox">
<action name="Execute">
<command>rofr.sh -l</command>
</action>
</item>
</menu>
</openbox_menu>

View File

@ -0,0 +1,23 @@
---
componentName: manjaro
strings:
productName: Manjaro Linux
shortProductName: Manjaro
version: 18.0-alpha-1
shortVersion: 18.0a1
versionedName: Manjaro Linux 18.0-alpha-1 "Illyria"
shortVersionedName: Manjaro 18.0a1
bootloaderEntryName: Manjaro
images:
productLogo: "logo.png"
productIcon: "logo.png"
productWelcome: "languages.png"
slideshow: "show.qml"
style:
sidebarBackground: "#454948"
sidebarText: "#efefef"
sidebarTextSelect: "#9E4F5D"