first attempt for debian10 Slax
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
[StatusIcon]
|
||||
stepsize=5
|
||||
lmb_slider=false
|
||||
mmb_mute=false
|
||||
use_horizontal_slider=false
|
||||
show_sound_level=false
|
||||
onclick=xterm -e 'alsamixer'
|
||||
theme=White Gnome
|
||||
|
||||
[Hotkeys]
|
||||
up_enabled=true
|
||||
down_enabled=true
|
||||
mute_enabled=true
|
||||
up=XF86AudioRaiseVolume
|
||||
down=XF86AudioLowerVolume
|
||||
mute=XF86AudioMute
|
||||
|
||||
[Alsa]
|
||||
card=default
|
||||
@@ -0,0 +1,20 @@
|
||||
[xarchiver]
|
||||
preferred_format=0
|
||||
confirm_deletion=true
|
||||
sort_filename_content=false
|
||||
store_output=false
|
||||
icon_size=0
|
||||
show_archive_comment=false
|
||||
show_sidebar=false
|
||||
show_location_bar=false
|
||||
preferred_temp_dir=/tmp
|
||||
allow_sub_dir=0
|
||||
overwrite=false
|
||||
full_path=true
|
||||
touch=false
|
||||
freshen=false
|
||||
update=false
|
||||
store_path=false
|
||||
recurse=true
|
||||
solid_archive=false
|
||||
remove_files=false
|
||||
@@ -0,0 +1,18 @@
|
||||
[app] (name=fbrun)
|
||||
[Position] (WINCENTER) {0 0}
|
||||
[Layer] {2}
|
||||
[end]
|
||||
|
||||
[app] (name=gtkdialog)
|
||||
[Position] (WINCENTER) {0 0}
|
||||
[Layer] {2}
|
||||
[end]
|
||||
|
||||
[app] (name=xlunch)
|
||||
[DECO] {NONE}
|
||||
[IconHidden] {yes}
|
||||
[end]
|
||||
|
||||
[app] (name=xterm) {1}
|
||||
[Position] (WINCENTER) {0 0}
|
||||
[end]
|
||||
@@ -0,0 +1,76 @@
|
||||
session.screen0.slit.maxOver: false
|
||||
session.screen0.slit.placement: TopLeft
|
||||
session.screen0.slit.layer: Dock
|
||||
session.screen0.slit.onhead: 0
|
||||
session.screen0.slit.acceptKdeDockapps: true
|
||||
session.screen0.slit.alpha: 255
|
||||
session.screen0.slit.autoHide: false
|
||||
session.screen0.menu.alpha: 255
|
||||
session.screen0.clientMenu.usePixmap: true
|
||||
session.screen0.tab.placement: TopLeft
|
||||
session.screen0.tab.width: 64
|
||||
session.screen0.toolbar.maxOver: false
|
||||
session.screen0.toolbar.tools: RootMenu, iconbar, systemtray, clock
|
||||
session.screen0.toolbar.autoHide: false
|
||||
session.screen0.toolbar.widthPercent: 100
|
||||
session.screen0.toolbar.alpha: 255
|
||||
session.screen0.toolbar.visible: true
|
||||
session.screen0.toolbar.placement: BottomCenter
|
||||
session.screen0.toolbar.layer: Dock
|
||||
session.screen0.toolbar.height: 0
|
||||
session.screen0.toolbar.onhead: 1
|
||||
session.screen0.tabs.usePixmap: true
|
||||
session.screen0.tabs.maxOver: true
|
||||
session.screen0.tabs.intitlebar: true
|
||||
session.screen0.window.focus.alpha: 255
|
||||
session.screen0.window.unfocus.alpha: 255
|
||||
session.screen0.iconbar.usePixmap: true
|
||||
session.screen0.iconbar.alignment: Left
|
||||
session.screen0.iconbar.iconTextPadding: 10
|
||||
session.screen0.iconbar.mode: {static groups} (workspace)
|
||||
session.screen0.iconbar.iconWidth: 128
|
||||
session.screen0.titlebar.left:
|
||||
session.screen0.titlebar.right: Minimize Maximize Close
|
||||
session.screen0.clickRaises: true
|
||||
session.screen0.maxIgnoreIncrement: false
|
||||
session.screen0.workspacewarping: true
|
||||
session.screen0.colPlacementDirection: TopToBottom
|
||||
session.screen0.maxDisableMove: false
|
||||
session.screen0.rowPlacementDirection: LeftToRight
|
||||
session.screen0.focusNewWindows: true
|
||||
session.screen0.autoRaise: true
|
||||
session.screen0.opaqueMove: true
|
||||
session.screen0.maxDisableResize: false
|
||||
session.screen0.tabFocusModel: ClickToTabFocus
|
||||
session.screen0.tooltipDelay: 500
|
||||
session.screen0.fullMaximization: false
|
||||
session.screen0.noFocusWhileTypingDelay: 0
|
||||
session.screen0.strftimeFormat: %H:%M
|
||||
session.screen0.workspaces: 4
|
||||
session.screen0.allowRemoteActions: false
|
||||
session.screen0.focusModel: ClickFocus
|
||||
session.screen0.windowMenu: /root/.fluxbox/windowmenu
|
||||
session.screen0.workspaceNames: Workspace 1 Ctrl+F1,Workspace 2 Ctrl+F2,Workspace 3 Ctrl+F3,Workspace 4 Ctrl+F4,
|
||||
session.screen0.edgeSnapThreshold: 10
|
||||
session.screen0.showwindowposition: false
|
||||
session.screen0.defaultDeco: NORMAL
|
||||
session.screen0.menuDelay: 200
|
||||
session.screen0.windowPlacement: RowMinOverlapPlacement
|
||||
session.screen0.focusSameHead: false
|
||||
session.screen0.workspacewarping: false
|
||||
session.keyFile: ~/.fluxbox/keys
|
||||
session.menuFile: ~/.fluxbox/menu
|
||||
session.styleFile: /usr/share/fluxbox/styles/Slax
|
||||
session.colorsPerChannel: 4
|
||||
session.forcePseudoTransparency: true
|
||||
session.ignoreBorder: false
|
||||
session.doubleClickInterval: 250
|
||||
session.appsFile: /root/.fluxbox/apps
|
||||
session.tabPadding: 0
|
||||
session.cacheLife: 5
|
||||
session.cacheMax: 200
|
||||
session.styleOverlay: /root/.fluxbox/overlay
|
||||
session.autoRaiseDelay: 250
|
||||
session.slitlistFile: /root/.fluxbox/slitlist
|
||||
session.tabsAttachArea: Window
|
||||
session.configVersion: 13
|
||||
@@ -0,0 +1 @@
|
||||
en
|
||||
@@ -0,0 +1,139 @@
|
||||
# click on the desktop to get menus
|
||||
OnDesktop Mouse1 :MacroCmd {WindowMenu} {HideMenus}
|
||||
OnDesktop Mouse2 :WorkspaceMenu
|
||||
OnDesktop Mouse3 :RootMenu
|
||||
|
||||
# scroll on the desktop to change workspaces
|
||||
#OnDesktop Mouse4 :PrevWorkspace
|
||||
#OnDesktop Mouse5 :NextWorkspace
|
||||
|
||||
# scroll on the toolbar to change current window
|
||||
#OnToolbar Mouse4 :PrevWindow {static groups} (iconhidden=no)
|
||||
#OnToolbar Mouse5 :NextWindow {static groups} (iconhidden=no)
|
||||
|
||||
# alt + left/right click to move/resize a window
|
||||
OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
|
||||
OnWindowBorder Move1 :StartMoving
|
||||
|
||||
OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
|
||||
OnLeftGrip Move1 :StartResizing bottomleft
|
||||
OnRightGrip Move1 :StartResizing bottomright
|
||||
|
||||
# alt + middle click to lower the window
|
||||
OnWindow Mod1 Mouse2 :Lower
|
||||
|
||||
# control-click a window's titlebar and drag to attach windows
|
||||
OnTitlebar Control Mouse1 :StartTabbing
|
||||
|
||||
# double click on the titlebar to shade
|
||||
OnTitlebar Double Mouse1 :Maximize
|
||||
|
||||
# left click on the titlebar to move the window
|
||||
OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab} {StartMoving}
|
||||
OnTitlebar Move1 :StartMoving
|
||||
|
||||
# middle click on the titlebar to lower
|
||||
OnTitlebar Mouse2 :Lower
|
||||
|
||||
# right click on the titlebar for a menu of options
|
||||
OnTitlebar Mouse3 :WindowMenu
|
||||
|
||||
# alt-tab
|
||||
Mod1 Tab :NextWindow {groups} (workspace=[current])
|
||||
Mod1 Shift Tab :PrevWindow {groups} (workspace=[current])
|
||||
|
||||
# cycle through tabs in the current window
|
||||
Mod4 Tab :NextTab
|
||||
Mod4 Shift Tab :PrevTab
|
||||
|
||||
# go to a specific tab in the current window
|
||||
Mod4 1 :Tab 1
|
||||
Mod4 2 :Tab 2
|
||||
Mod4 3 :Tab 3
|
||||
Mod4 4 :Tab 4
|
||||
Mod4 5 :Tab 5
|
||||
Mod4 6 :Tab 6
|
||||
Mod4 7 :Tab 7
|
||||
Mod4 8 :Tab 8
|
||||
Mod4 9 :Tab 9
|
||||
|
||||
# open a terminal
|
||||
Mod1 F1 :Exec xterm
|
||||
|
||||
# open a dialog to run programs
|
||||
Mod1 F2 :Exec fbappselect
|
||||
|
||||
# volume settings, using common keycodes
|
||||
# if these don't work, use xev to find out your real keycodes
|
||||
176 :Exec amixer sset Master,0 1+
|
||||
174 :Exec amixer sset Master,0 1-
|
||||
160 :Exec amixer sset Master,0 toggle
|
||||
|
||||
# current window commands
|
||||
Mod1 F4 :Close
|
||||
Mod1 F5 :Kill
|
||||
Mod1 F9 :Minimize
|
||||
Mod1 F10 :Maximize
|
||||
Mod1 F11 :Fullscreen
|
||||
|
||||
# open the window menu
|
||||
Mod1 space :WindowMenu
|
||||
|
||||
# exit fluxbox
|
||||
Control Mod1 Delete :Exit
|
||||
|
||||
# change to previous/next workspace
|
||||
Control Mod1 Left :PrevWorkspace
|
||||
Control Mod1 Right :NextWorkspace
|
||||
|
||||
# send the current window to previous/next workspace
|
||||
Mod4 Left :SendToPrevWorkspace
|
||||
Mod4 Right :SendToNextWorkspace
|
||||
|
||||
# send the current window and follow it to previous/next workspace
|
||||
Control Mod4 Left :TakeToPrevWorkspace
|
||||
Control Mod4 Right :TakeToNextWorkspace
|
||||
|
||||
# change to a specific workspace
|
||||
Control F1 :Workspace 1
|
||||
Control F2 :Workspace 2
|
||||
Control F3 :Workspace 3
|
||||
Control F4 :Workspace 4
|
||||
Control F5 :Workspace 5
|
||||
Control F6 :Workspace 6
|
||||
Control F7 :Workspace 7
|
||||
Control F8 :Workspace 8
|
||||
Control F9 :Workspace 9
|
||||
Control F10 :Workspace 10
|
||||
Control F11 :Workspace 11
|
||||
Control F12 :Workspace 12
|
||||
|
||||
# send the current window to a specific workspace
|
||||
Mod4 F1 :SendToWorkspace 1
|
||||
Mod4 F2 :SendToWorkspace 2
|
||||
Mod4 F3 :SendToWorkspace 3
|
||||
Mod4 F4 :SendToWorkspace 4
|
||||
Mod4 F5 :SendToWorkspace 5
|
||||
Mod4 F6 :SendToWorkspace 6
|
||||
Mod4 F7 :SendToWorkspace 7
|
||||
Mod4 F8 :SendToWorkspace 8
|
||||
Mod4 F9 :SendToWorkspace 9
|
||||
Mod4 F10 :SendToWorkspace 10
|
||||
Mod4 F11 :SendToWorkspace 11
|
||||
Mod4 F12 :SendToWorkspace 12
|
||||
|
||||
# send the current window and change to a specific workspace
|
||||
Control Mod4 F1 :TakeToWorkspace 1
|
||||
Control Mod4 F2 :TakeToWorkspace 2
|
||||
Control Mod4 F3 :TakeToWorkspace 3
|
||||
Control Mod4 F4 :TakeToWorkspace 4
|
||||
Control Mod4 F5 :TakeToWorkspace 5
|
||||
Control Mod4 F6 :TakeToWorkspace 6
|
||||
Control Mod4 F7 :TakeToWorkspace 7
|
||||
Control Mod4 F8 :TakeToWorkspace 8
|
||||
Control Mod4 F9 :TakeToWorkspace 9
|
||||
Control Mod4 F10 :TakeToWorkspace 10
|
||||
Control Mod4 F11 :TakeToWorkspace 11
|
||||
Control Mod4 F12 :TakeToWorkspace 12
|
||||
|
||||
Print :Exec fbprintscreen
|
||||
@@ -0,0 +1 @@
|
||||
fbsetroot|-foreground #7790aa -solid #7790aa|style|:0.0
|
||||
@@ -0,0 +1,68 @@
|
||||
[begin] (Desktop menu)
|
||||
[exec] (Terminal) { fbstartupnotify && xterm -ls }
|
||||
[exec] (File Manager) { fbstartupnotify && pcmanfm }
|
||||
[exec] (Web Browser) { fbstartupnotify && fbliveapp chromium }
|
||||
[exec] (Text Editor) { fbstartupnotify && leafpad }
|
||||
[exec] (Calculator) { fbstartupnotify && qalculate }
|
||||
[exec] (Network Manager) { fbstartupnotify && wicd-manager }
|
||||
[exec] (Run) { fbappselect }
|
||||
[separator]
|
||||
[workspaces] (Workspaces ...)
|
||||
[submenu] (Screen resolution ...) {}
|
||||
[include] (~/.fluxbox/menu_resolution)
|
||||
[end]
|
||||
[submenu] (Keyboard layout ...) {}
|
||||
[exec] (Czech) { fbsetkb cz } </usr/share/icons/locolor/16x16/flags/flag_czech_republic.png>
|
||||
[exec] (English) { fbsetkb us } </usr/share/icons/locolor/16x16/flags/flag_usa.png>
|
||||
[exec] (French) { fbsetkb fr } </usr/share/icons/locolor/16x16/flags/flag_france.png>
|
||||
[exec] (German) { fbsetkb de } </usr/share/icons/locolor/16x16/flags/flag_germany.png>
|
||||
[exec] (Italian) { fbsetkb it } </usr/share/icons/locolor/16x16/flags/flag_italy.png>
|
||||
[exec] (Polish) { fbsetkb pl } </usr/share/icons/locolor/16x16/flags/flag_poland.png>
|
||||
[exec] (Portuguese) { fbsetkb pt } </usr/share/icons/locolor/16x16/flags/flag_portugal.png>
|
||||
[exec] (Russian) { fbsetkb ru } </usr/share/icons/locolor/16x16/flags/flag_russia.png>
|
||||
[exec] (Slovak) { fbsetkb sk } </usr/share/icons/locolor/16x16/flags/flag_slovakia.png>
|
||||
[exec] (Spanish) { fbsetkb es } </usr/share/icons/locolor/16x16/flags/flag_spain.png>
|
||||
[exec] (Ukrainian) { fbsetkb ua } </usr/share/icons/locolor/16x16/flags/flag_ukraine.png>
|
||||
[submenu] (Other ...) {}
|
||||
[exec] (Afghani) { fbsetkb af }
|
||||
[exec] (Albanian) { fbsetkb al }
|
||||
[exec] (Arabic [Morocco]) { fbsetkb ma }
|
||||
[exec] (Arabic) { fbsetkb ara }
|
||||
[exec] (Armenian) { fbsetkb am }
|
||||
[exec] (Azerbaijani) { fbsetkb az }
|
||||
[exec] (Belarusian) { fbsetkb by }
|
||||
[exec] (Belgian) { fbsetkb be }
|
||||
[exec] (Berber [Algeria]) { fbsetkb dz }
|
||||
[exec] (Bosnian) { fbsetkb ba }
|
||||
[exec] (Brasil) { fbsetkb br }
|
||||
[exec] (Bulgarian) { fbsetkb bg }
|
||||
[exec] (Croatian) { fbsetkb hr }
|
||||
[exec] (Danish) { fbsetkb dk }
|
||||
[exec] (Dutch) { fbsetkb nl }
|
||||
[exec] (English [Australian]) { fbsetkb au }
|
||||
[exec] (Estonian) { fbsetkb ee }
|
||||
[exec] (Finnish) { fbsetkb fi }
|
||||
[exec] (French [Canada]) { fbsetkb ca }
|
||||
[exec] (German [Austria]) { fbsetkb at }
|
||||
[exec] (German [Switzerland]) { fbsetkb ch }
|
||||
[exec] (Greek) { fbsetkb gr }
|
||||
[exec] (Hebrew) { fbsetkb il }
|
||||
[exec] (Hungarian) { fbsetkb hu }
|
||||
[exec] (Icelandic) { fbsetkb is }
|
||||
[exec] (Indian) { fbsetkb in }
|
||||
[exec] (Iraqi) { fbsetkb iq }
|
||||
[exec] (Irish) { fbsetkb ie }
|
||||
[exec] (Latvian) { fbsetkb lv }
|
||||
[exec] (Lithuanian) { fbsetkb lt }
|
||||
[exec] (Norwegian) { fbsetkb no }
|
||||
[exec] (Persian) { fbsetkb ir }
|
||||
[exec] (Romanian) { fbsetkb ro }
|
||||
[exec] (Serbian) { fbsetkb rs }
|
||||
[exec] (Slovenian) { fbsetkb si }
|
||||
[exec] (Swedish) { fbsetkb se }
|
||||
[exec] (Turkish) { fbsetkb tr }
|
||||
[end]
|
||||
[end]
|
||||
[exec] (Exit / Logout) { fblogout }
|
||||
|
||||
[end]
|
||||
@@ -0,0 +1,2 @@
|
||||
! The following line will prevent styles from setting the background.
|
||||
! background: none
|
||||
@@ -0,0 +1,111 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# fluxbox startup-script:
|
||||
#
|
||||
# Lines starting with a '#' are ignored.
|
||||
|
||||
# Change your keymap:
|
||||
xmodmap "/root/.Xmodmap"
|
||||
|
||||
# merge xresource settings
|
||||
xrdb -merge ~/.Xresources
|
||||
|
||||
# set keyboard layout
|
||||
fbsetkb $(cat ~/.fluxbox/kblayout)
|
||||
|
||||
# setup bookmarks for file manager
|
||||
gtk-bookmarks-update
|
||||
|
||||
# Share common directories with guest user. This is necessary
|
||||
# because some apps like chromium must be running under guest
|
||||
for dir in Desktop Documents Downloads Music Pictures Public Templates Videos; do
|
||||
if ! mountpoint /root/$dir; then
|
||||
mount --bind /home/guest/$dir /root/$dir
|
||||
fi
|
||||
done
|
||||
|
||||
# set background color and big wait mouse cursor
|
||||
xsetroot -solid '#111111'
|
||||
xsetroot -xcf /usr/share/icons/breeze_cursors/cursors/watch 37
|
||||
|
||||
# disable screen blanking
|
||||
xset s off
|
||||
xset -dpms
|
||||
|
||||
# volume icon in system tray. Can fail if no soundcard is detected
|
||||
volumeicon &
|
||||
|
||||
# preload compton and fluxbox to cache
|
||||
(compton --help; fluxbox --help) >/dev/null 2>&1
|
||||
|
||||
# Keep black screen for first second while the sound plays.
|
||||
# This slows startup a little, but it is nicer effect.
|
||||
SND=/usr/share/sounds/startup.wav
|
||||
if [ -r $SND ]; then
|
||||
cat $SND > /dev/null # preload
|
||||
aplay $SND &
|
||||
sleep 1 &
|
||||
SOUNDPID=$!
|
||||
fi
|
||||
|
||||
# Debian-local change:
|
||||
# - fbautostart has been added with a quick hack to check to see if it
|
||||
# exists. If it does, we'll start it up by default.
|
||||
which fbautostart > /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
fbautostart
|
||||
fi
|
||||
|
||||
# We need to postpone compton after fluxbox starts, else it won't set
|
||||
# the transparency of toolbar properly... So we check the fehbg file,
|
||||
# which is created by fluxbox at the phase when it sets background.
|
||||
# Once the file exist, fluxbox-toolbar is already started
|
||||
|
||||
SIGNAL1=~/.fehbg
|
||||
SIGNAL2=~/.fehbg2
|
||||
|
||||
rm -f $SIGNAL1 2>/dev/null
|
||||
rm -f $SIGNAL2 2>/dev/null
|
||||
|
||||
(
|
||||
while [ ! -e $SIGNAL1 ]; do
|
||||
sleep 0.1
|
||||
done
|
||||
touch $SIGNAL2
|
||||
|
||||
(sleep 1; (echo; sleep 10; echo :quit) | xlunch --window --xposition 20 --yposition -30 \
|
||||
--width 195 --height 53 --noscroll --noprompt --backgroundcolor ffffff00 \
|
||||
--multiple --desktop --button "/usr/share/fluxbox/styles/Slax/pixmaps/start-here.png;;0,0;fbappselect" & ) &
|
||||
|
||||
exec compton --sw-opti -e 0.9 --shadow-exclude 'class_g="xlunch-windowed"' --fade-exclude 'role*="fluxbox-toolbar"' --opacity-rule '70:role*="fluxbox-toolbar"' --no-fading-destroyed-argb -D 5 -c -f -l -2 -t -2 -r 0 -o 1 -z --shadow-exclude 'bounding_shaped'
|
||||
) &
|
||||
|
||||
# We want to run systrayicon only after the volumeicon is started
|
||||
# So we have to wait until it is visible to xwinfo
|
||||
# We also wait after background is set and compton is started
|
||||
(
|
||||
while [ ! -e $SIGNAL2 ]; do
|
||||
sleep 0.1
|
||||
done
|
||||
|
||||
rm -f $SIGNAL2
|
||||
|
||||
while ! xwininfo -name volumeicon >/dev/null 2>&1 && pgrep volumeicon >/dev/null 2>&1; do
|
||||
sleep 0.1
|
||||
done
|
||||
|
||||
exec systrayicon --command fblogout --iconfile /usr/share/icons/locolor/16x16/actions/system-shutdown-symbolic.png
|
||||
) &
|
||||
|
||||
# gen screen resolutions to fluxbox menu
|
||||
xrandr 2>/dev/null | fgrep x | fgrep . | sort -n | tr -s " " | cut -d " " -f 2 \
|
||||
| sed -r "s:(.*):[exec] (\\1) {fbscreensize \\1}:" > ~/.fluxbox/menu_resolution
|
||||
|
||||
# In all cases, wait for the sound sleeper.
|
||||
# If startup took longer (sound completed already), no extra wait
|
||||
wait $SOUNDPID
|
||||
|
||||
# And last but not least we start fluxbox.
|
||||
# Because it is the last app you have to run it with ''exec'' before it.
|
||||
|
||||
exec fluxbox
|
||||
@@ -0,0 +1,15 @@
|
||||
[begin]
|
||||
[shade]
|
||||
[stick]
|
||||
[maximize]
|
||||
[iconify]
|
||||
[raise]
|
||||
[lower]
|
||||
[settitledialog]
|
||||
[sendto]
|
||||
[layer]
|
||||
[alpha]
|
||||
[extramenus]
|
||||
[separator]
|
||||
[close]
|
||||
[end]
|
||||
@@ -0,0 +1 @@
|
||||
include "/usr/share/themes/MurrinaChrome/gtk-2.0/gtkrc"
|
||||
@@ -0,0 +1 @@
|
||||
startfluxbox
|
||||
Reference in New Issue
Block a user