You are not logged in.

#1 2012-01-21 20:04:09

ArchVortex
Retired
From: Ts’elxweyeqw, Canada
Registered: 2011-04-01
Posts: 1,465

Share Your Fluxbox Configuration Files and Scripts

Let's make this thread the place where everyone shares their FB menu, slit, init, keys and other config files and scripts. big_smile


You have the capacity to learn from mistakes. You'll learn a lot today.
FP:E5F8 7DBA 8128 9ACB 75F7 7279 BE34 AB66 76D9 16DE
KEY ID:76D916DE
Currently running ArchBang / LFS / OpenSUSE Tumbleweed

Offline

#2 2012-01-21 20:08:50

ArchVortex
Retired
From: Ts’elxweyeqw, Canada
Registered: 2011-04-01
Posts: 1,465

Re: Share Your Fluxbox Configuration Files and Scripts

My menu file originally started from menumaker. Still got some tweaking to do.

[begin] (ArchBang Flux)
               [exec] (Audio Player) {clementine}
               [exec] (File Manager) {pcmanfm}
               [exec] (Terminal) {lxterminal}
               [exec] (Video Player) {vlc}
               [exec] (Web Browser) {chromium}
               [separator] 
	[submenu] (Development)
		[exec] (OpenJDK Monitoring & Management Console) {jconsole}
		[exec] (OpenJDK Policy Tool) {policytool}
		[exec] (Python) {lxterminal -e python}
		[exec] (Qt Assistant) {assistant}
		[exec] (Qt Designer) {designer}
		[exec] (Qt Linguist) {linguist}
	[end]
	[submenu] (Editors)
		[exec] (Geany) {geany}
		[exec] (Leafpad) {leafpad}
		[exec] (Nano) {xterm -e nano}
		[exec] (Vi) {lxterminal -e vi}
	[end]
	[submenu] (Games)
		[submenu] (Strategy)
			[exec] (Battle for Wesnoth) {wesnoth}
			[exec] (Battle for Wesnoth Map Editor) {wesnoth -e}
		[end]
	[end]
	[submenu] (Graphics)
		[exec] (GNU Image Manipulation Program) {gimp}
		[exec] (Image Viewer) {gpicview}
		[exec] (Shotwell) {shotwell}
	[end]
	[submenu] (Multimedia)
		[exec] (ALSA mixer) {lxterminal -e alsamixer}
		[exec] (Audacious) {audacious}
		[exec] (Clementine) {clementine}
		[exec] (VLC media player) {vlc}
		[exec] (Xfburn) {xfburn}
	[end]
	[submenu] (Network)
		[exec] (Chromium) {chromium}
		[exec] (Deluge) {deluge-gtk}
		[exec] (FireFox) {firefox}
		[exec] (FTP) {xterm -e ftp}
		[exec] (Mutt) {lxterminal -e mutt}
                [exec] (Thunderbird) {thunderbird}
		[exec] (X-Chat) {xchat}
	[end]
	[submenu] (Office)
		[exec] (Evince) {evince}
                [exec] (Galculator) {galculator}
		[exec] (LibreOffice) {libreoffice}
	[end]
	[submenu] (Shells)
		[exec] (File Manager) {pcmanfm}
		[exec] (GIT) (lxterminal -e git}
		[exec] (LXTerminal) {lxterminal}
		[exec] (rxvt-unicode) {urxvt}
		[exec] (Xterm) {xterm}
		[exec] (XTerm [Unicode]) {uxterm}
	[end]
	[submenu] (System)
                [exec] (ARandR) {arandr}
                [exec] (Batti) {batti}
                [exec] (Conky Config) {leafpad ~/.conkyrc}
                [exec] (Customize Look and Feel) {lxappearance}
                [exec] (dconf Editor) {dconf-editor}
                [exec] (Disk Utility) {palimpsest}
                [exec] (Edit rc.conf) {gksu leafpad /etc/rc.conf}
                [exec] (Jupiter) {mono /usr/bin/jupiter.exe}
		[exec] (Network Connections) {nm-connection-editor}
                [exec] (Nitrogen) {nitrogen}
                [exec] (Openbox Configuration Manager) {obconf}
                [exec] (Passwords and Keys) {seahorse}
                [exec] (Preferred Applications) {libfm-pref-apps}
                [exec] (Screenshot in 5 seconds) {scrot -d 5} 
                [exec] (Screenshot in 10 seconds) {scrot -d 10}
		[exec] (Startup Disk Creator) {usb-creator-gtk}
                [exec] (System Profiler and Benchmark) {hardinfo}
		[exec] (Top) {lxterminal -e top}
		[exec] (UNetbootin) {unetbootin}
                [exec] (Virtualbox) {virtualbox}
	[end]
	[submenu] (Utilities)
		[exec] (Archive Manager) {file-roller}
		[exec] (Character Map) {gucharmap}
		[exec] (File Manager as root) {gksu pcmanfm}
		[exec] (Info) {lxterminal -e info}
		[exec] (Parcellite) {parcellite}
		[exec] (Xkill) {xkill}
	[end]
	[separator]
	[submenu] (FluxBox)
		[workspaces] (Workspaces)
		[submenu] (Styles)
			[stylesdir] (~/.fluxbox/styles)
		[end]
                [submenu] (Wallpaper)
                        [wallpapers] (~/.fluxbox/backgrounds)
                [end]
		[config] (Configure)
		[reconfig] (Reconfig)
		[restart] (Restart)
		[separator]
                [exec] (Reboot) {sudo /sbin/reboot}
                [exec] (Shutdown) {sudo shutdown -h now}
		[exit] (Exit)
	[end]
[end]

You have the capacity to learn from mistakes. You'll learn a lot today.
FP:E5F8 7DBA 8128 9ACB 75F7 7279 BE34 AB66 76D9 16DE
KEY ID:76D916DE
Currently running ArchBang / LFS / OpenSUSE Tumbleweed

Offline

#3 2012-01-22 06:26:10

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 3,634
Website

Re: Share Your Fluxbox Configuration Files and Scripts

Great idea! Thanks. I will post my keys file here when I'm done with it.

I also used menumaker to update my fluxbox menu.


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#4 2012-01-23 16:03:04

hymie
Member
Registered: 2011-02-25
Posts: 66

Re: Share Your Fluxbox Configuration Files and Scripts

This is my "menu". I have my own collection of icons in a dropbox folder.

[begin] (Fluxbox)
[encoding] {UTF-8}
[submenu] (Places)						<~/Dropbox/icons/24x24/home.png>
	[exec] (Home)		{Thunar ~}			<~/Dropbox/icons/24x24/folder-home.png>
	[exec] (Documents)	{Thunar ~/Documents}		<~/Dropbox/icons/24x24/folder-documents.png>
	[exec] (Downloads)	{Thunar ~/Downloads}		<~/Dropbox/icons/24x24/folder-downloads.png>
	[exec] (Dropbox)	{Thunar ~/Dropbox}		<~/Dropbox/icons/24x24/dropbox.png>
	[exec] (Homepage)	{Thunar ~/Homepage}		<~/Dropbox/icons/24x24/folder.png>
	[exec] (Music)		{Thunar ~/Music}		<~/Dropbox/icons/24x24/folder-music.png>
	[exec] (Pictures)	{Thunar ~/Pictures}		<~/Dropbox/icons/24x24/folder-pictures.png>
	[exec] (Public)		{Thunar ~/Public}		<~/Dropbox/icons/24x24/folder-shared.png>
	[exec] (Temp)		{Thunar ~/Temp}			<~/Dropbox/icons/24x24/folder.png>
	[exec] (Videos)		{Thunar ~/Videos}		<~/Dropbox/icons/24x24/folder-videos.png>
[end] # (Places)
	[exec] (Editor)		{geany}				<~/Dropbox/icons/24x24/text-editor.png>
	[exec] (Terminal)	{lxterminal}			<~/Dropbox/icons/24x24/terminal.png>
	[exec] (Web-Browser)	{firefox}			<~/Dropbox/icons/24x24/web-browser.png>
[submenu] (ArchBang)						<~/Dropbox/icons/24x24/arch-logo.png>
	[exec] (ArchBang Home) {firefox http://archbang.org/}	<~/Dropbox/icons/24x24/arch-logo.png>
	[exec] (ArchBang Forum) {firefox http://bbs.archbang.org/}	<~/Dropbox/icons/24x24/arch-logo.png>
	[exec] (Arch Packages) {firefox http://www.archlinux.org/packages/}	<~/Dropbox/icons/24x24/arch-logo.png>
	[exec] (AUR Packages) {firefox https://aur.archlinux.org/}	<~/Dropbox/icons/24x24/arch-logo.png>
	[exec] (Arch Wiki) {firefox https://wiki.archlinux.org/}	<~/Dropbox/icons/24x24/arch-logo.png>
	[exec] (Read DOC) {firefox /usr/share/ab/DOC.html}	<~/Dropbox/icons/24x24/arch-logo.png>
[end] # (ArchBang)
[submenu] (Screenshot)					<~/Dropbox/icons/24x24/screenshooter.png>
	[exec] (Now...)	{scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/ &amp; geeqie ~/$f'}
	[exec] (In 5 Seconds...) {scrot -d 5 '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/ &amp; geeqie ~/$f'}
	[exec] (In 10 Seconds...) {scrot -d 10 '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/ &amp; geeqie ~/$f'}
	[exec] (Selected Area... click & drag mouse) {scrot -s '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/ &amp; geeqie ~/$f'}
[end] # (Screenshot)
[separator]
	[exec] (Run (Alt-F2\))	{fbrun}				<~/Dropbox/icons/24x24/run.png>
	[exec] (Do (Alt-F3\))	{~/.config/dmenu/dmenu-bind.sh}	<~/Dropbox/icons/24x24/do.png>
[submenu] (Accessories)						<~/Dropbox/icons/24x24/accessories.png>
	[exec] (Archive Manager) {xarchiver}			<~/Dropbox/icons/24x24/xarchiver.png>
	[exec] (Calculator)	{galculator}			<~/Dropbox/icons/24x24/galculator.png>
	[exec] (Character Map)	{gucharmap}			<~/Dropbox/icons/24x24/character-map.png>
	[exec] (Disk Utility)	{palimpsest}			<~/Dropbox/icons/24x24/palimpsest.png>
	[exec] (Find Files)	{catfish --path=$HOME}		<~/Dropbox/icons/24x24/find.png>
	[exec] (Font Viewer)	{gtk2fontsel}			<~/Dropbox/icons/24x24/font-chooser.png>
	[exec] (Geany)		{geany}				<~/Dropbox/icons/24x24/geany.png>
	[exec] (Terminal)	{lxterminal}			<~/Dropbox/icons/24x24/lxterminal.png>
	[exec] (Thunar)		{Thunar}			<~/Dropbox/icons/24x24/Thunar.png>
[end] # (Accessories)
[submenu] (Games)						<~/Dropbox/icons/24x24/games.png>
	[exec] (Chess)		{glchess}			<~/Dropbox/icons/24x24/gnome-glchess.png>
	[exec] (Five or More)	{glines}			<~/Dropbox/icons/24x24/gnome-glines.png>
	[exec] (Four-in-a-Row)	{gnect}				<~/Dropbox/icons/24x24/gnome-gnect.png>
	[exec] (Iagno)		{iagno}				<~/Dropbox/icons/24x24/gnome-iagno.png>
	[exec] (Klotski)	{gnotski}			<~/Dropbox/icons/24x24/gnome-klotski.png>
	[exec] (Mahjongg)	{mahjongg}			<~/Dropbox/icons/24x24/gnome-mahjongg.png>
	[exec] (Mines)		{gnomine}			<~/Dropbox/icons/24x24/gnomine.png>
	[exec] (Nibbles)	{gnibbles}			<~/Dropbox/icons/24x24/gnome-gnibbles.png>
	[exec] (Quadrapassel)	{quadrapassel}			<~/Dropbox/icons/24x24/gnome-quadrapassel.png>
	[exec] (Robots)		{gnobots2}			<~/Dropbox/icons/24x24/gnome-robots.png>
	[exec] (Sudoku)		{gnome-sudoku}			<~/Dropbox/icons/24x24/gnome-sudoku.png>
	[exec] (Tali)		{gtali}				<~/Dropbox/icons/24x24/gnome-tali.png>
	[exec] (Tetravex)	{gnotravex}			<~/Dropbox/icons/24x24/gnome-tetravex.png>
[end] # (Games)
[submenu] (Graphics)						<~/Dropbox/icons/24x24/graphics.png>
	[exec] (Geeqie)		{geeqie -r}			<~/Dropbox/icons/24x24/geeqie.png>
[end] # (Graphics)
[submenu] (Internet)						<~/Dropbox/icons/24x24/internet.png>
	[exec] (Avahi SSH Server Browser) {/usr/bin/bssh}	<~/Dropbox/icons/24x24/wired-net.png>
	[exec] (Avahi VNC Server Browser) {/usr/bin/bvnc}	<~/Dropbox/icons/24x24/wired-net.png>
	[exec] (Dropbox)	{/opt/dropbox/dropboxd}		<~/Dropbox/icons/24x24/dropbox.png>
	[exec] (Firefox)	{firefox}			<~/Dropbox/icons/24x24/firefox.png>
	[exec] (gFTP)		{gftp}				<~/Dropbox/icons/24x24/gftp.png>
	[exec] (Google Earth)	{/opt/google/earth/free/google-earth}	<~/Dropbox/icons/24x24/google-earth.png>
	[exec] (Thunderbird)	{thunderbird}			<~/Dropbox/icons/24x24/thunderbird.png>
	[exec] (Transmission)	{transmission-gtk}		<~/Dropbox/icons/24x24/transmission.png>
[end] # (Internet)
[submenu] (Multimedia)						<~/Dropbox/icons/24x24/multimedia.png>
	[exec] (DeaDBeeF)	{deadbeef}			<~/Dropbox/icons/24x24/deadbeef.png>
	[exec] (GNOME MPlayer)	{gnome-mplayer}			<~/Dropbox/icons/24x24/gnome-mplayer.png>
	[exec] (Radio Tray)	{radiotray}			<~/Dropbox/icons/24x24/radiotray.png>
	[exec] (Xfburn)		{xfburn}			<~/Dropbox/icons/24x24/cd.png>
[end] # (Multimedia)
[submenu] (Office)						<~/Dropbox/icons/24x24/office.png>
	[exec] (AbiWord)	{abiword}			<~/Dropbox/icons/24x24/abiword.png>
	[exec] (pdf Viewer)	{evince}			<~/Dropbox/icons/24x24/evince.png>
[end] # (Office)
[submenu] (Programming)						<~/Dropbox/icons/24x24/development.png>
	[exec] (Geany)		{geany}				<~/Dropbox/icons/24x24/geany.png>
	[exec] (Qt Assistant)	{/usr/bin/assistant}		</usr/share/icons/hicolor/32x32/apps/assistant.png>
	[exec] (Qt Designer)	{/usr/bin/designer}		</usr/share/icons/hicolor/128x128/apps/designer.png>
	[exec] (Qt Linguist)	{/usr/bin/linguist}		</usr/share/icons/hicolor/32x32/apps/linguist.png>
[end] # (Programming)
[separator]
[submenu] (System Tools)					<~/Dropbox/icons/24x24/system.png>
	[exec] (Avahi Zeroconf Browser) {avahi-discover}	<~/Dropbox/icons/24x24/wired-net.png>
	[exec] (Batti)		{batti}				<~/Dropbox/icons/24x24/battery.png>
	[exec] (BleachBit)	{bleachbit}			<~/Dropbox/icons/24x24/cleaner.png>
	[exec] (BleachBit (root\)) {sudo bleachbit}		<~/Dropbox/icons/24x24/cleaner.png>
	[exec] (Disk Utility)	{palimpsest}			<~/Dropbox/icons/24x24/palimpsest.png>
	[exec] (System Profiler) {hardinfo}			<~/Dropbox/icons/24x24/hardinfo.png>
	[exec] (Task Manager)	{xfce4-taskmanager}		<~/Dropbox/icons/24x24/taskmanager.png>
	[exec] (VirtualBox)	{VirtualBox}			<~/Dropbox/icons/24x24/virtualbox.png>
[end] # (System Tools)
[submenu] (Preferences)						<~/Dropbox/icons/24x24/preferences.png>
	[submenu] (Conky)					<~/Dropbox/icons/24x24/tint2.png>
	[exec] (Edit Conky Config) {geany -s ~/.conkyrc}
	[exec] (Restart Conky)	{killall -SIGUSR1 conky}
	[exec] (Start Conky)	{conky -q}
	[exec] (Stop Conky)	{pkill -u $USER conky}
	[end] # (Conky)
	[exec] (Flash Player) {flash-player-properties}		<~/Dropbox/icons/24x24/flash-player.png>
	[exec] (Removable Drives and Media) {thunar-volman -c}	<~/Dropbox/icons/24x24/removable-media.png>
	[exec] (Thunar Settings) {thunar-settings}		<~/Dropbox/icons/24x24/Thunar.png>
	[exec] (User Interface Settings) {lxappearance}		<~/Dropbox/icons/24x24/themes.png>
	[submenu] (tint2)					<~/Dropbox/icons/24x24/tint2.png>
	[exec] (Edit tint2 Config) {geany -s ~/.config/tint2/tint2rc}
	[exec] (Restart tint2)	{killall -SIGUSR1 tint2}
	[end] # (tint2)
[end] # (Preferences)
[submenu] (Fluxbox)						<~/Dropbox/icons/24x24/fluxbox-logo.png>
	[config] (Fluxbox Menu)					<~/Dropbox/icons/24x24/wmconfig.png>
	[exec] (Edit Config Files) {geany -s ~/.fluxbox/apps ~/.fluxbox/keys ~/.fluxbox/menu ~/.fluxbox/startup}	<~/Dropbox/icons/24x24/geany.png>
	[submenu] (System Styles)	{Choose a style...}	<~/Dropbox/icons/24x24/appearance.png>
		[stylesdir] (/usr/share/fluxbox/styles)
	[end]
	[submenu] (User Styles)	{Choose a style...}		<~/Dropbox/icons/24x24/appearance.png>
#		[stylesdir] (~/.fluxbox/styles)
		[stylesdir] (~/Dropbox/fluxbox/styles)
	[end]
	[submenu] (Wallpapers)	{Choose a wallpaper...}		<~/Dropbox/icons/24x24/wallpaper-chooser.png>
		[wallpapers] (~/Pictures/wallpapers/1440x900) {fbsetbg -c}
	[end]
	[workspaces] (Workspaces)				<~/Dropbox/icons/24x24/desktop.png>
	[submenu] (Tools)					<~/Dropbox/icons/24x24/system.png>
	[exec] (Window name) {xprop WM_CLASS|cut -d \" -f 2|xmessage -file - -center}
	[exec] (Regen Menu) {fluxbox-generate_menu -su -is -t lxterminal -b firefox}
	[end] # (Tools)
#	[commanddialog] (Fluxbox Command)
	[reconfig] (Reconfigure)				<~/Dropbox/icons/24x24/reconfigure.png>
	[restart] (Restart)					<~/Dropbox/icons/24x24/reload.png>
	[exec] (About)	{(fluxbox -v; fluxbox -info | sed 1d) | xmessage -file - -center}	<~/Dropbox/icons/24x24/about.png>
[end] # (Fluxbox)
[submenu] (Exit)						<~/Dropbox/icons/24x24/exit.png>
	[exec] (Lock Screen)	{sleep 2 && slimlock}		<~/Dropbox/icons/24x24/lock-screen.png>
	[exit] (Logout)						<~/Dropbox/icons/24x24/logout.png>
	[exec] (Reboot)	{sleep 2 && dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart}	<~/Dropbox/icons/24x24/reload.png>
	[exec] (Shutdown) {sleep 2 && dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop}	<~/Dropbox/icons/24x24/shutdown.png>
[end] # (Exit)
[endencoding]
[end]

Last edited by hymie (2012-01-23 19:42:21)

Offline

#5 2012-01-23 16:06:18

hymie
Member
Registered: 2011-02-25
Posts: 66

Re: Share Your Fluxbox Configuration Files and Scripts

And these are the "keys":

# === MOUSE ===
OnTitlebar Mouse1 :MacroCmd {Focus} {Raise} {ActivateTab}
OnTitlebar Move1 :StartMoving
# middle click a window's titlebar and drag to attach windows
OnTitlebar Mouse2 :StartTabbing
OnTitlebar Double Mouse1 :Maximize
OnTitlebar Mouse3 :WindowMenu
OnTitlebar Mouse4 :Shade
OnTitlebar Mouse5 :Shade
OnLeftGrip Move1 :MacroCmd {Raise} {Focus} {StartResizing BottomLeft}
OnRightGrip Move1 :MacroCmd {Raise} {Focus} {StartResizing BottomRight}
OnWindowBorder Move1 :StartMoving
# alt + left/right click to move/resize a window
OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
OnDesktop Mouse1 :HideMenus
OnDesktop Mouse2 :WorkspaceMenu
OnDesktop Mouse3 :RootMenu
OnDesktop Mouse4 :PrevWorkspace
OnDesktop Mouse5 :NextWorkspace
# === KEYBOARD ===
# go to a specific tab (Fx) in the current window
Control F1 :Tab 1
Control F2 :Tab 2
Control F3 :Tab 3
Control F4 :Tab 4
Control F5 :Tab 5
Control F6 :Tab 6
Control F7 :Tab 7
Control F8 :Tab 8
Control F9 :Tab 9
# current window commands
Mod1 F4 :Close
Mod1 F9 :Minimize
Mod1 F10 :Maximize
Mod1 F11 :Fullscreen
Mod1 space :WindowMenu
# === COSTOM KEY CONFIG ===
Mod4 T :Exec lxterminal --geometry=80x24
Mod4 E :Exec geany
Mod4 D :Exec palimpsest
Mod4 K :Exec xfce4-taskmanager
Mod1 Mod4 T :Exec sudo lxterminal --geometry=80x24 --working-directory=/root
Mod1 Mod4 E :Exec sudo geany
Mod1 Mod4 D :Exec sudo palimpsest
Mod1 Mod4 K :Exec xkill
Mod4 B :Exec VirtualBox
Mod4 W :Exec firefox
Mod4 M :Exec thunderbird
Mod4 R :Exec radiotray
#
Mod4 space	:RootMenu
Mod4 Print	:Exec scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/ &amp; geeqie ~/$f'
Mod4 C		:Exec gucharmap
Mod1 F2		:Exec fbrun
Mod1 F3		:Exec ~/.config/dmenu/dmenu-bind.sh
# places
Mod4 P D	:Exec Thunar ~/Downloads
Mod4 P B	:Exec Thunar ~/Dropbox
Mod4 P F	:Exec Thunar /
Mod4 P space	:Exec Thunar ~
Mod4 P H	:Exec Thunar ~/Homepage
Mod4 P M	:Exec Thunar ~/Music
Mod4 P P	:Exec Thunar ~/Pictures
# places root
Mod1 Mod4 P A	:Exec sudo Thunar /usr/share/applications
Mod1 Mod4 P B	:Exec sudo Thunar /usr/bin
Mod1 Mod4 P E	:Exec sudo Thunar /etc
Mod1 Mod4 P F	:Exec sudo Thunar /
Mod1 Mod4 P space :Exec sudo Thunar /root
Mod1 Mod4 P I	:Exec sudo Thunar /usr/share/icons
Mod1 Mod4 P V	:Exec sudo Thunar /var
# quit
Mod4 Q Mod4 O	:Exec sleep 2 && slimlock
Mod4 Q Mod4 L 	:Exit
Mod4 Q Mod4 R	:Exec sleep 2 && dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
Mod4 Q Mod4 S	:Exec sleep 2 && dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
Control Mod1 Delete :Exec sleep 2 && dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
#
Mod4 H		:MaximizeHorizontal
Mod4 V		:MaximizeVertical
Mod4 X		:MaximizeWindow
Mod4 A		:ShowDesktop
Mod4 Up		:MoveTo * 0 Upper
Mod4 Down	:MoveTo * 0 Lower
Mod4 Left	:MoveTo 0 * Left
Mod4 Right	:MoveTo 0 * Right
Mod4 Home	:MoveTo 0 0 Center
# cycle through tabs/windows
Mod4 Tab	:NextTab
Mod4 Shift Tab	:PrevTab
Mod1 Tab	:NextWindow (workspace=[current])
Mod1 Shift Tab	:PrevWindow (workspace=[current])
# change workspace
Mod4 Next	:NextWorkspace
Mod4 Prior	:PrevWorkspace
Mod4 F1 	:Workspace 1
Mod4 F2 	:Workspace 2
Mod4 F3 	:Workspace 3
# send the current window to a workspace
Mod4 Shift F1	:SendToWorkspace 1
Mod4 Shift F2	:SendToWorkspace 2
Mod4 Shift F3	:SendToWorkspace 3
# send the current window and change to a workspace
Control Mod4 F1	:TakeToWorkspace 1
Control Mod4 F2	:TakeToWorkspace 2
Control Mod4 F3	:TakeToWorkspace 3
# speaker volume control
Mod4 0			:Exec amixer set Master toggle
Mod4 KP_Insert		:Exec amixer set Master toggle
XF86AudioRaiseVolume	:Exec amixer set Master 5%+
XF86AudioLowerVolume	:Exec amixer set Master 5%-
Mod4 plus		:Exec amixer set Master 5%+
Mod4 KP_Add		:Exec amixer set Master 5%+
Mod4 minus		:Exec amixer set Master 5%-
Mod4 KP_Subtract	:Exec amixer set Master 5%-

Last edited by hymie (2012-01-23 19:50:40)

Offline

#6 2012-01-24 07:01:49

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 3,634
Website

Re: Share Your Fluxbox Configuration Files and Scripts

@ hymie : how did you get the icons in the menu; I tried with fluxmenu but that would not work.


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#7 2012-01-24 12:25:32

Kruppt
Moderator
From: Blue Ridge Mountains, NC
Registered: 2010-12-20
Posts: 299

Re: Share Your Fluxbox Configuration Files and Scripts

pablokal wrote:

@ hymie : how did you get the icons in the menu; I tried with fluxmenu but that would not work.

I have not used fluxmenu in a long time so can not help with that.
But look at the example stanzas in the below code box.

	 [exec] (Claws Mail) {claws-mail} </usr/share/icons/hicolor/48x48/apps/claws-mail.png>
	 [exec] (FireFox 1.5.0.12) {/usr/local/firefox-1.5.0.12/firefox -profilemanager} </usr/local/firefox/icons/mozicon128.png>

[exec] () {} <>
() <-What Text is placed inside will show as name in menu.
{} <-What is placed inside these brackets is the program binary name or command.
<> <-What is placed inside these is the path to the icon you want to show in the menu.
If you are looking for a program that inserts icons automagically in the menu, I do not know of one myself.

I use locate in a term I can copy from, to copy output path, then paste the path between the <> tags in menu file.
For Firefox

+-->>locate firefox|grep png|grep icons|grep lib
/usr/lib/firefox/chrome/icons/default/default16.png
/usr/lib/firefox/chrome/icons/default/default32.png
/usr/lib/firefox/chrome/icons/default/default48.png
/usr/lib/firefox/icons/mozicon128.png
/usr/local/lib/firefox-3.6/chrome/icons/default/default16.png
/usr/local/lib/firefox-3.6/chrome/icons/default/default32.png
/usr/local/lib/firefox-3.6/chrome/icons/default/default48.png
/usr/local/lib/firefox-3.6/icons/document.png
/usr/local/lib/firefox-3.6/icons/mozicon128.png
/usr/local/lib/firefox-4.0/chrome/icons/default/default16.png
/usr/local/lib/firefox-4.0/chrome/icons/default/default32.png
/usr/local/lib/firefox-4.0/chrome/icons/default/default48.png
/usr/local/lib/firefox-4.0/icons/document.png
/usr/local/lib/firefox-4.0/icons/mozicon128.png

For claws mail client

+-->>locate claws|grep png|grep icons
/usr/share/fvwm-crystal/fvwm/icons/Default/22x22/apps/sylpheed-claws.png
/usr/share/fvwm-crystal/fvwm/icons/Default/32x32/apps/sylpheed-claws.png
/usr/share/icons/hicolor/128x128/apps/claws-mail.png
/usr/share/icons/hicolor/48x48/apps/claws-mail.png
/usr/share/icons/hicolor/64x64/apps/claws-mail.png

For pcmanfm

+-->>locate pcmanfm|grep png|grep icons
/usr/share/cairo-dock/themes/_Neon_/icons/pcmanfm.png
/usr/share/icons/gnome-colors-statler/16x16/apps/pcmanfm.png
/usr/share/icons/gnome-colors-statler/22x22/apps/pcmanfm.png
/usr/share/icons/gnome-colors-statler/24x24/apps/pcmanfm.png
/usr/share/icons/gnome-colors-statler/32x32/apps/pcmanfm.png

And etc.
Hopefully someone has written a script or program that does this tedious task automatically.

Last edited by Kruppt (2012-01-24 12:29:08)

Offline

#8 2012-01-24 14:25:34

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 3,634
Website

Re: Share Your Fluxbox Configuration Files and Scripts

Hopefully someone has written a script or program that does this tedious task automatically.

Indeed, that is what I have been looking for.


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#9 2012-01-24 15:06:35

hymie
Member
Registered: 2011-02-25
Posts: 66

Re: Share Your Fluxbox Configuration Files and Scripts

pablokal wrote:

@ hymie : how did you get the icons in the menu; I tried with fluxmenu but that would not work.

In Mint-Fluxbox they have a way of adding icons automatically. But for me having different Fluxbox-distros on different machines it is easier to have my own icons in a Dropbox folder. Since it is always the same folder, it's not a big deal to "copy-paste" all the entries. It sounds a bit as being "uncomfortable", but I generally prefer doing things manually than depending on some automatics that I cannot influence. It's not often that we add new apps to the menu and it's not a big deal to enter the appropriate menu entry manually?

Offline

#10 2012-01-26 09:03:52

Kruppt
Moderator
From: Blue Ridge Mountains, NC
Registered: 2010-12-20
Posts: 299

Re: Share Your Fluxbox Configuration Files and Scripts

pablokal wrote:

Hopefully someone has written a script or program that does this tedious task automatically.

Indeed, that is what I have been looking for.

Look No more......it was right under my nose. Had it installed and never used it, Had it in my menu even! LOL!
Install it via packer as it is in AUR, see code box. After fbmenugen has been installed,
Run "fbmenugen -i" in your user terminal. fbmenugen will create a new menu file with all the icon paths inserted auto.
It even backups the original menu.

aur/fbmenugen 0.6.6-1                                                                                                                                                                                     
Fluxbox Menu Generator - A simple Perl script to generate the right-click Fluxbox menu

Then there is the one hymie mention was in Linux Mint it also is in AUR.
Have not installed it, or tried it myself yet.

aur/mint-fm2 3.25-5                                                                                                                                                                                       
The Linux Mint Fluxbox menu system

Offline

#11 2012-01-27 03:21:17

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 3,634
Website

Re: Share Your Fluxbox Configuration Files and Scripts

Thanks , Kruppt, for sharing so much of your knowledge on Fluxbox; this works great! Have linked this info to other posts so it can be easily found.
Btw for all interested people, check my fluxbox resources post  regularly as I keep adding information I found there.


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

Board footer

Powered by FluxBB