OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Fluxbox, working finally
LinuxGadget
post Dec 16 2007, 03:30 PM
Post #1





Group: Members
Posts: 44
Joined: 21-October 07
From: Aschersleben, Germany
Member No.: 20,849



Hi,

spent my weekend with Debian EABI and fluxbox:

http://www.flickr.com/photos/janwinkel/2115693635

Best of all: fluxbox is working for non-root users, too.
Will post howto on tuesday. Stay tuned! rolleyes.gif
Go to the top of the page
 
+Quote Post
scottlfa
post Dec 16 2007, 03:40 PM
Post #2





Group: Members
Posts: 283
Joined: 1-October 07
From: Blacksburg, SC, USA
Member No.: 20,773



CONGRATS!!!
Go to the top of the page
 
+Quote Post
LinuxGadget
post Dec 18 2007, 03:09 PM
Post #3





Group: Members
Posts: 44
Joined: 21-October 07
From: Aschersleben, Germany
Member No.: 20,849



Bug reports and corrections welcome!


1. Install xdm, fluxbox, eterm, xmonobut

CODE
apt-get install xdm fluxbox eterm xmonobut


2. Changing kdrive to full blown xserver, the overhead isn't that big as told by some people smile.gif

CODE
mv /usr/bin/X /usr/bin/X.old
ln -s /usr/bin/Xfbdev X


4. Change the configs for fluxbox, see the attachements. (You have to remove the .txt)

CODE
cd /root/
mkdir .fluxbox
nano startup


Most important is the xmonobut sequence, to get the mouse working, "Calendar"+tap=middle mouse button, "Address"+tap=right mouse button.
CODE
# fluxbox startup-script:

# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.

# hide idle mouse pointer
unclutter -idle 2 &

# fire up fluxbox
/usr/bin/fluxbox & wmpid=$!

# middle button = "Calendar", right button = "Address"
/usr/local/bin/xmonobut -k 68 -m 67 -c &

# some wallpaper
fbsetbg -f /home/ojw/3tux.jpg

# i love mpd & ncmpc
rxvt-xterm --geometry 70x8-0+0 -e ncmpc

# waiting for fluxbox and all started processes to finish
wait $wmpid

# cleaning up fontpath, in case we messed it up
xset fp default




We need a menu smile.gif You have to be root or sudoer for xdm stop .

CODE
nano menu


CODE
[begin] (fluxbox)
[include] (/etc/X11/fluxbox/system.fluxbox-menu)
[include] (/etc/X11/fluxbox/fluxbox.menu-user)
[exec] (Rxvt) {/usr/bin/rxvt-xterm}  
[exec] (xdm stop) {/etc/init.d/xdm stop}
[end]



Next part isn't working all the time, don't know why. What i am trying to do is hiding the xmonobut window.

CODE
nano apps


CODE
[app] (name=xmonobut) (class=)
  [Position]    (UPPERLEFT)    {0 0}
  [Hidden]    {yes}
  [Close]    {yes}
[end]



Now for the best smile.gif. Fluxbox is nice and easy configurable.

CODE
nano keys


CODE
# Fluxbox keys for Zaurus

# mouse & menu stuff
# Mouse2 -> "Calendar"+ click
# Mouse3 -> "Address" + click

OnDesktop Mouse1 :HideMenus  
OnDesktop Mouse2 :WorkspaceMenu  
OnDesktop Mouse3 :RootMenu

# Mod1 -> Alt_L

Mod1 Right :NextWindow
Mod1 Left Tab :PrevWindow

Control Mod1 Right :NextWorkspace
Control Mod1  Left :PrevWorkspace

Control Mod1 1 :Workspace 1
Control Mod1 2 :Workspace 2
Control Mod1 3 :Workspace 3
Control Mod1 4 :Workspace 4

# F11 -> menu button

F11 :RootMenu

# Mod4 -> Fn

Mod4 2 :ExecCommand fbrun -w 500 -text alsamixer
Mod4 t :ExecCommand rxvt-xterm
Mod4 m :MaximizeWindow
Shift Mod4 m :MaximizeVertical
Control Mod4 m :MaximizeHorizontal
Control Shift Mod4 m :Fullscreen
Mod4 Shift minus :Minimize


# F12 -> Home

Control Mod4 F12 :ExecCommand apm --suspend


5. In your home directory create a file .xsession:

CODE
exec startfluxbox


Now let's try it:

CODE
/etc/init.d/xdm start



Have fun!

[edit Mi 19. Dez 20:37:13 CET 2007]: @-bug in keys corrected. New attachment.
Attached File(s)
Attached File  apps.txt ( 146bytes ) Number of downloads: 10
Attached File  menu.txt ( 199bytes ) Number of downloads: 7
Attached File  startup.txt ( 579bytes ) Number of downloads: 6
Attached File  keys.txt ( 790bytes ) Number of downloads: 7
 
Go to the top of the page
 
+Quote Post
dlj0
post Dec 18 2007, 09:17 PM
Post #4





Group: Members
Posts: 219
Joined: 3-March 06
Member No.: 9,282



[quote name='LinuxGadget' date='Dec 18 2007, 06:09 PM' post='172862']
Bug reports and corrections welcome!

2. Changing kdrive to full blown xserver, the overhead isn't that big as told by some people smile.gif

CODE
mv /usr/bin/X /usr/bin/X.old
ln -s /usr/bin/Xfbdev X

[\quote]

Huh? This runs the kdrive server, which is XFbdev. The xorg server is the "full-blown" one, which uses about 4x as much memory.
Go to the top of the page
 
+Quote Post
LinuxGadget
post Dec 19 2007, 11:35 AM
Post #5





Group: Members
Posts: 44
Joined: 21-October 07
From: Aschersleben, Germany
Member No.: 20,849




@dlj0: OMG, you're right. I totally got this wrong. Thanks for pointing out. ohmy.gif



P.S.: There is a bug in the keys-file. Please change the line
CODE
Mod4 minus :Minimize

to
CODE
Mod4 Shift minus :Minimize

otherwise you can't enter the '@' -sign.




Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 8th December 2016 - 08:09 AM