LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-14-2007, 02:27 PM   #16
zaqwe
Member
 
Registered: Aug 2007
Distribution: Ubuntu 7.10
Posts: 43

Rep: Reputation: 15

Great topic! How is these shortcut keys set? And what is those Mod1..4?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 09-14-2007, 02:51 PM   #17
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I'm surprised so many run fluxbox ... thought most people ran kde or dropline ... anyway ...

Mod1 is Alt
Mod4 is the Window$ key

Control is Control

Here's my menu, this is actually an older version because I seem to have misplaced the one from Slackware 11.0 after upgrading to Slackware 12.0 . This one will do for now until I find the longer, enhanced version, this one is quite simple, nothing tricky:

Quote:
[begin] (Fluxbox-1.0rc3)
[exec] (Terminal) {Terminal}
[exec] (rox) {rox}
[exec] (firefox) {firefox}
[exec] (nedit) {nedit}
[exec] (openoffice) {soffice}
[separator]
[submenu] (Apps)
[submenu] (Admin)
[exec] (alsamixer) {Terminal -e alsamixer}
[exec] (aumix) {aumix}
[exec] (hp-toolbox) {hp-toolbox}
[exec] (nvidia-settings) {nvidia-settings}
[exec] (printer) {firefox http://localhost:631/}
[end]
[submenu] (Accessories)
[exec] (gucharmap) {gucharmap}
[exec] (xcalc) {xcalc}
[end]
[submenu] (Games)
[exec] (xmoto) {xmoto}
[end]
[submenu] (Graphics)
[exec] (GIMP) {gimp}
[exec] (xsane) {xsane}
[end]
[submenu] (Internet)
[exec] (links) {Terminal -e links fluxbox.org}
[exec] (lynx) {Terminal -e lynx fluxbox.org}
[exec] (seamonkey) {mozilla}
[end]
[submenu] (Multimedia)
[exec] (k3b) {k3b}
[exec] (mplayer) {gmplayer}
[exec] (xine) {xine}
[end]
[submenu] (Office)
[exec] (gnumeric) {gnumeric}
[exec] (xpdf) {xpdf}
[end]
[end]
[separator]
[submenu] (fluxbox menu)
[config] (Configure)
[submenu] (System Styles) {Choose a style...}
[stylesdir] (/usr/share/fluxbox/styles)
[end]
[submenu] (User Styles) {Choose a style...}
[stylesdir] (~/.fluxbox/styles)
[end]
[workspaces] (Workspace List)
[submenu] (Tools)
[exec] (Window name) {xprop WM_CLASS|cut -d \" -f 2|xmessage -file - -center}
[exec] (Screenshot - JPG) {import screenshot.jpg && display -resize 50% screenshot.jpg}
[exec] (Screenshot - PNG) {import screenshot.png && display -resize 50% screenshot.png}
[exec] (Regen Menu) {fluxbox-generate_menu}
[end]
[submenu] (Window)
[restart] (kde) {startkde}
[restart] (fvwm) {fvwm}
[restart] (xfce4) {startxfce4}
[restart] (fvwm2) {fvwm2}
[restart] (blackbox) {blackbox}
[restart] (windowmaker) {wmaker}
[end]
[exec] (Lock screen) {xlock}
[commanddialog] (Fluxbox Command)
[reconfig] (Reload config)
[restart] (Restart)
[exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) 2> /dev/null | xmessage -file - -center}
[separator]
[exit] (Exit)
[end]
[end]
 
Old 09-15-2007, 03:41 PM   #18
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
H_TeXMeX_H, I just noticed in your menu you have an entry for k3b and one to start kde. I started to do that once and then thought, "why not just have an entry for KDE's kicker?" That works great for me. I can launch the kicker and pull up my Kmenu same as if I had started KDE.
 
Old 09-15-2007, 07:38 PM   #19
rigelan
Member
 
Registered: Jul 2005
Location: Iowa
Distribution: Slackware
Posts: 180

Rep: Reputation: 19
One thing that I enjoy about mine is the ability to set the wallpaper independently of the style.


Code:
[begin] (Fluxbox-1.0rc3)
      [exec] (A-term) {aterm -geometry 130X30 -sh 60%}
      [exec] (Firefox) {firefox}
      [exec] (Run) {fbrun }
      
      [separator]
      
      [exec] (Kde-Apps) {konqueror programs:/}
      [submenu] (OpenOffice)
           [exec] (Writer) {/opt/openoffice.org2.2/program/swriter}
           [exec] (Calc)   {/opt/openoffice.org2.2/program/scalc}
           [exec] (Math)   {/opt/openoffice.org2.2/program/smath}
           [exec] (Impress){/opt/openoffice.org2.2/program/simpress}
           [exec] (Draw)   {/opt/openoffice.org2.2/program/sdraw}
           [exec] (Database){/opt/openoffice.org2.2/program/sbase}
      [end]
      [submenu] (Net)
           [exec] (Pidgin) {pidgin}
           [exec] (X-Chat) {xchat}
      [end]
      [submenu] (Multimedia)

           [exec] (The Gimp) {gimp}
           [exec] (Gxine) {gxine}
           [exec] (K3b) {k3b}
           [exec] (X-Sane) {xsane}
      [end]
      [submenu] (Games)
           [exec] (tuxracer) {ppracer}
           [exec] (zsnes) {zsnes}
           [exec] (vegastrike) {vstrike-script}
           [exec] (Vdrift) {vdrift-script}
      [end]
      [submenu] (Applications)
           [exec] (kstars) {kstars}
      [end]
      [submenu] (System menu)
           [config] (Configure)

           [submenu] (User Styles) {Choose a style...}
                [stylesdir] (/usr/local/share/fluxbox/styles)
           [end]
           [submenu] (Wallpaper)
                [wallpapers] (~/images/backgrounds) {fbsetbg -f}
           [end]
      [end]

      [separator]

      [exit] (Exit)
[end]
 
Old 09-15-2007, 10:25 PM   #20
witz
Member
 
Registered: Aug 2007
Posts: 46

Rep: Reputation: 16
FluxBox Rocks! One interesting thing is recently I had a computer upgrade from
a older desktop with 512mb-ram to a dual-core rockin laptop.I always used fluxbox on the
old box because of the low memory.Then after getting the laptop, I used kde for a while.
But couple weeks ago I went back to fluxbox.I was really missing it's lightning speed and
simplicity! But everything's cool and love fluxbox all over again.

One funny thing is that some guys on this thread are competing for who has a shorter menu. lol
 
Old 09-16-2007, 02:44 AM   #21
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by rigelan View Post
One thing that I enjoy about mine is the ability to set the wallpaper independently of the style.
That's a great idea, but there is a bit of a problem. Although you can choose your wallpaper from a menu, what about the wallpaper that comes up when you start fluxbox ? I wonder if there's a way to save the changes somehow, so that the same one comes up as last time. Maybe a well designed script could do it ... I'll have to look into that.

Quote:
Originally Posted by dracolich View Post
H_TeXMeX_H, I just noticed in your menu you have an entry for k3b and one to start kde. I started to do that once and then thought, "why not just have an entry for KDE's kicker?" That works great for me. I can launch the kicker and pull up my Kmenu same as if I had started KDE.
Yeah, I guess I could do that, but I don't really use kde apps that often. k3b is one of the only kde apps I use, simply because it is the most reliable at burning CDs and DVDs without any coasters left over.

Last edited by H_TeXMeX_H; 09-16-2007 at 02:45 AM.
 
Old 09-16-2007, 08:24 AM   #22
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
fbsetbg has a -l option to use the "last-used" wallpaper, which is defined in the file .fluxbox/lastwallpaper. I think that'll do it but I haven't tried it because I don't change my background. My computer is called Chimera and I keep a picture of one as the background. In my .fluxbox/init, session.screen0.rootCommand is set to fbsetbg -l -a

Quote:
Originally Posted by H_TeXMeX_H
I don't really use kde apps that often. k3b is one of the only kde apps I use
I see your point. I almost never use kde apps when I'm using Fluxbox. In fact, I try not to, but XCD-Roast just can't compete with k3b. Even when I do use KDE the only real kde app I use is k3b.
 
Old 09-16-2007, 10:16 AM   #23
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by dracolich View Post
fbsetbg has a -l option to use the "last-used" wallpaper, which is defined in the file .fluxbox/lastwallpaper. I think that'll do it but I haven't tried it because I don't change my background. My computer is called Chimera and I keep a picture of one as the background. In my .fluxbox/init, session.screen0.rootCommand is set to fbsetbg -l -a
That's a great idea, and it works. Now I can change my wallpaper dynamically and it stays the next time I startx. Thanks for the tip.
 
Old 04-28-2015, 10:37 PM   #24
Rhadamanthysan
LQ Newbie
 
Registered: Nov 2013
Location: Brasil
Distribution: Slackware FreeBSD
Posts: 24

Rep: Reputation: Disabled
menu (generate by fluxbox-generate_menu and edited by hand later). Terminals of all sizes, colors and positions
Code:
# Generated by fluxbox-generate_menu
#
# If you read this it means you want to edit this file manually, so here
# are some useful tips:
#
# - You can add your own menu-entries to ~/.fluxbox/usermenu
#
# - If you miss apps please let me know and I will add them for the next
#   release.
#
# - The -r option prevents removing of empty menu entries and lines which
#   makes things much more readable.
#
# - To prevent any other app from overwriting your menu
#   you can change the menu name in ~/.fluxbox/init to:
#     session.menuFile: ~/.fluxbox/my-menu
[begin] (Fluxbox)
[encoding] {UTF-8}
      [exec] (Firefox) {firefox}
      [exec] (Dolphin)  {dolphin} 
[submenu] (Aterm)
[submenu] (Aterm Corners)     
      [exec] (cyan) {/usr/bin/aterm1 -tr +sb -bl -tint cyan -fg white -sh 70} 
      [exec] (blue) {/usr/bin/aterm1 -tr +sb -bl -tint blue -fg white -sh 70} 
      [exec] (yellow) {/usr/bin/aterm1 -tr +sb -bl -tint yellow -fg white -sh 70} 
      [exec] (purple) {/usr/bin/aterm1 -tr +sb -bl -tint purple -fg white -sh 70} 
      [exec] (red) {/usr/bin/aterm1 -tr +sb -bl -tint red -fg white -sh 70} 
      [exec] (green) {/usr/bin/aterm1 -tr +sb -bl -tint green -fg white -sh 70} 
      [exec] (grey) {/usr/bin/aterm1 -tr +sb -bl -tint grey -fg white -sh 70}
[end]
[submenu] (Aterm Center)
      [exec] (cyan) {/usr/bin/atermcenter -tr +sb -bl -tint cyan -fg white -sh 70}
      [exec] (blue) {/usr/bin/atermcenter -tr +sb -bl -tint blue -fg white -sh 70}
      [exec] (yellow) {/usr/bin/atermcenter -tr +sb -bl -tint yellow -fg white -sh 70}
      [exec] (purple) {/usr/bin/atermcenter -tr +sb -bl -tint purple -fg white -sh 70}
      [exec] (red) {/usr/bin/atermcenter -tr +sb -bl -tint red -fg white -sh 70}
      [exec] (green) {/usr/bin/atermcenter -tr +sb -bl -tint green -fg white -sh 70}
      [exec] (grey) {/usr/bin/atermcenter -tr +sb -bl -tint grey -fg white -sh 70}
[end]
[submenu] (Aterm Fullscreen)      
      [exec] (cyan) {/usr/bin/atermfull -tr +sb -bl -tint cyan -fg white -sh 70}
      [exec] (blue) {/usr/bin/atermfull -tr +sb -bl -tint blue -fg white -sh 70}
      [exec] (yellow) {/usr/bin/atermfull -tr +sb -bl -tint yellow -fg white -sh 70}
      [exec] (purple) {/usr/bin/atermfull -tr +sb -bl -tint purple -fg white -sh 70}
      [exec] (red) {/usr/bin/atermfull -tr +sb -bl -tint red -fg white -sh 70}
      [exec] (green) {/usr/bin/atermfull -tr +sb -bl -tint green -fg white -sh 70}
      [exec] (grey) {/usr/bin/atermfull -tr +sb -bl -tint grey -fg white -sh 70}
[end]
[end]
[submenu] (Converters)
      [exec] (mp4) {/usr/bin/atermff -tr +sb -bl -fg black -sh 100 -e ffconvertermp4}
      [exec] (flv) {/usr/bin/atermff -tr +sb -bl -fg black -sh 100 -e ffconverterflv}
      [exec] (custom) {/usr/bin/atermff -tr +sb -bl -fg black -sh 100}
[end]
[submenu] (Emulators)
      [exec] (Virtualbox) {virtualbox}
[end]
[submenu] (Net)
[submenu] (Browsers)
      [exec]   (firefox) {firefox} 
      [exec]   (seamonkey) {seamonkey} 
[end]
[submenu] (IM)
      [exec]   (pidgin) {pidgin} 
      [exec]   (kopete) {kopete} 
[end]
[submenu] (Mail)
      [exec]   (thunderbird) {thunderbird}
[end]
[submenu] (Torrent)
      [exec] (ktorrent) {ktorrent}
[end]
[end]
[submenu] (Editors)
      [exec]   (gimp) {gimp}
      [exec]   (krita) {krita} 
[end]
[submenu] (Multimedia)
[submenu] (Graphics)
      [exec]   (gimp) {gimp} 
      [exec]   (krita) {krita}
      [exec]   (gwenview) {gwenview} 
[end]
[submenu] (Audio)
      [exec]   (xmms) {xmms} 
      [exec]   (kmix) {kmix} 
      [exec]   (amarok) {amarok} 
      [exec]   (audacious) {audacious} </home/fabio/.fluxbox/icons/audacious.xpm>
      [exec]   (alsamixer) {aterm1 -tr +sb -bl -tint red -fg white -sh 70 -e alsamixer} 
[end]
[submenu] (Video)
      [exec]   (vlc) {vlc} 
[end]
[end]
[submenu] (Office)
      [exec]  (kcalc) {kcalc} 
      [exec]   (kwrite) {kwrite}
      [exec]  (LibreOffice)      {soffice} 
[end]
[submenu] (Games)
      [exec]   (eboard) {eboard} 
      [exec]   (xboard) {xboard} 
      [exec]   (xsnow) {xsnow} 
      [exec]   (xeyes) {xeyes} 
[end]
[submenu] (CD/DVD Burning)
      [exec]   (k3b) {k3b} 
[end]
[submenu] (Fluxbox menu)
      [config] (Configure) 
[submenu] (System Styles) {Choose a style...}
      [stylesdir] (/usr/share/fluxbox/styles) 
[end]
[submenu] (User Styles) {Choose a style...}
      [stylesdir] (~/.fluxbox/styles) 
[end]
      [workspaces] (Workspace List) 
[submenu] (Tools)
      [exec] (Window name) {xprop WM_CLASS|cut -d \" -f 2|xmessage -file - -center} 
      [exec] (Screenshot - JPG) {import screenshot.jpg && display -resize 80% screenshot.jpg} 
      [exec] (Screenshot - PNG) {import screenshot.png && display -resize 80% screenshot.png} 
      [exec] (Regen Menu) {fluxbox-generate_menu} 
[end]
[submenu] (Window Managers)
      [restart] (mwm) {mwm} 
      [restart] (twm) {twm} 
      [restart] (compiz) {compiz} 
      [restart] (kde) {startkde} 
      [restart] (fvwm) {fvwm} 
      [restart] (fvwm2) {startfvwm2} 
      [restart] (blackbox) {startblackbox} 
      [restart] (windowmaker) {wmaker} 
[end]
      [commanddialog] (Fluxbox Command) 
      [reconfig] (Reload config) 
      [restart] (Restart) 
      [separator] 
      [exit] (Exit) 
[end]
      [separator]
      [exec] (Lock screen) {xlock}
[end]
[endencoding]
[end]
Keys

Code:
# click on the desktop to get menus
OnDesktop Mouse1 :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 :Shade

# left click on the titlebar to move the window
OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab}
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 fbrun
#decoration
Mod1 d :ToggleDecor
# 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
Ideskrc

Code:
table Config
  FontName: gothic
  FontSize: 11
  FontColor: #37CFA6
  ToolTip.FontSize: 11
  ToolTip.FontName: gothic
  ToolTip.ForeColor: #0000FF
  ToolTip.BackColor: #FFFFFF
  ToolTip.CaptionOnHover: true
  ToolTip.CaptionPlacement: Right
  Locked: false
  Transparency: 100
  Shadow: true
  ShadowColor: #000000
  ShadowX: 1
  ShadowY: 1 
  Bold: true
  ClickDelay: 300
  IconSnap: true
  SnapWidth: 10
  SnapHeight: 10
  SnapOrigin: BottomRight
  SnapShadow: false
  SnapShadowTrans: 200
  CaptionOnHover: false
  CaptionPlacement: bottom
  FillStyle: fillinvert
  Background.Delay: 0
  Background.Source: /usr/share/wallpapers/ghost_in_the_shell.jpeg
  Background.File: /usr/share/wallpapers/ghost_in_the_shell.jpeg
  Background.Mode: Mirror 
  Background.Color: #C2CCFF
end

table Actions
  Lock: control right doubleClk
  Reload: middle doubleClk
  Drag: left hold
  EndDrag: left singleClk
  Execute[0]: left doubleClk
  Execute[1]: right doubleClk
end
Apps

Code:
[app] (name=fbrun)
  [Position]	(CENTER)	{0 0}
  [Layer]	{2}
[end]
[app] (name=aterm) (class=XTerm)
  [Head]	{1}
  [Dimensions]	{46% 37%}
  [Position]	(UPPERLEFT)	{0% 50%}
  [Deco]	{NORMAL}
  [Close]	{yes}
  [Alpha]	{255}
[end]
[app] (name=aterm1)
  [Dimensions]	{50% 50%}
  [Deco]	{NONE}
  [Hidden]	{no}
  [Sticky]	{no}
[end]
[app] (name=atermfull)
  [Dimensions]	{100% 100%}
  [Deco]	{NONE}
  [Hidden]	{no}
  [Sticky]	{no}
[end]
[app] (name=atermcenter)
  [Dimensions]	{75% 75%}
  [Position]	(CENTER)	{0 0}
  [Deco]	{NONE}
  [Hidden]	{no}
  [Sticky]	{no}
[end]
[app] (name=atermff)
  [Dimensions]	{55% 50%}
  [Position]	(LOWERLEFT)	{0 0}
  [Deco]	{NONE}
  [Hidden]	{yes}
  [Sticky]	{no}
[end]
Idesktop folder (for idesk) icon example
Code:
table Icon
  Caption: Firefox 
  Icon: /home/fabio/.idesktop/firefox.png
  X: 225
  Y: 7
  Command[0]: firefox 
end
 
Old 04-29-2015, 04:15 PM   #25
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Always good to see a 7 year necropost . I will join in with 2 very simple options in my keys file:

Code:
# Simple screenshot using Print Screen button:
107 :ExecCommand scrot -q 100 -e 'gimp $f'

# Minimise all windows, toggle with Windows key + m:
Mod4 m :ToggleCmd {ShowDesktop} {DeIconify all originquiet}
Hopefully there are still many fluxbox users amongst us!
 
2 members found this post helpful.
Old 04-29-2015, 06:30 PM   #26
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Rep: Reputation: 77
I like using wally from slackbuilds to control the wallpaper on the desktop. That way I can still have a wallpaper slideshow.
 
Old 04-29-2015, 07:56 PM   #27
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
"Necropost." I like that.

Here's the bit I added to my keys file:

Code:
Mod4 c :ExecCommand kcalc
Mod4 e :ExecCommand kate
Mod4 f :ExecCommand firefox
Mod4 k :ExecCommand konqueror ~
Mod4 m :ExecCommand claws-mail
Mod4 o :ExecCommand opera
Mod4 p :ExecCommand pan
Mod4 t :ExecCommand konsole
Mod4 v :ExecCommand xterm -e alsamixer
Mod4 w :ExecCommand libreoffice3.4
Mod4 s :ExecCommand seamonkey
Control Escape :RootMenu
Regardless of the particular distro or window manager, I use m for the mail client, t for the terminal, e for the editor, and so on. That way, I don't have to memorize a new set of key bindings over and over again.

Here's a bit from my startup:

Code:
xscreensaver&
~/scripts/wallpaper.sh&
gkrellm&
# swisswatch&
pmck&
# xsnow &
keepassx&
exec fluxbox
And this is my simple wallpaper script, which I adapted from a FVWM configuration:

Code:
#!/bin/sh

while true; do
        fbsetbg -f -R ~//wallpapers
#       fbsetbg -f -R ~/files/Christmas
        sleep 30m
done

Last edited by frankbell; 04-29-2015 at 09:40 PM. Reason: error fixed
 
1 members found this post helpful.
Old 04-29-2015, 08:38 PM   #28
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Rep: Reputation: 77
Now I just need to get pulseaudio working with fluxbox... That and get sudo configured so as to get an option to shutdown in my menu (well, one that works anyway).
 
Old 04-29-2015, 09:42 PM   #29
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
What problem are you having with Pulseaudio? It should work seamlessly regardless of the DE/WM.

As regards shutting down, I just issue a shutdown command as root from a terminal after closing all the programs that must be closed (such as keepassx--if it's not closed, it leaves a lockfile behind).

Last edited by frankbell; 04-29-2015 at 09:45 PM.
 
Old 04-30-2015, 07:08 AM   #30
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Rep: Reputation: 77
Quote:
Originally Posted by frankbell View Post
What problem are you having with Pulseaudio? It should work seamlessly regardless of the DE/WM.

As regards shutting down, I just issue a shutdown command as root from a terminal after closing all the programs that must be closed (such as keepassx--if it's not closed, it leaves a lockfile behind).
Must have been a brief error as pulseaudio appears to be working fine today. Oh well. Finally have fluxbox configured where I want it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluxbox config onelung02 Slackware 5 04-04-2005 12:20 PM
Background Unable to show with Fluxbox 0.1.14 Slackware 10 gensis Linux - Software 2 06-28-2004 09:19 PM
pkg-config didn't show up anything melinda_sayang Programming 1 03-01-2004 10:01 AM
redhat-config-packages dont show up vijaykiran Linux - Software 1 07-19-2003 12:34 PM
fluxbox-config it to execute? BearClaw Slackware 9 06-23-2003 09:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration