New Menu for fluxbox.


Forum: X and Fluxbox
Topic: New Menu for fluxbox.
started by: Rapidweather

Posted by Rapidweather on Jan. 25 2004,03:28
I made a few changes to the menu for fluxbox, mainly to allow wvdial to connect and disconnect at the top of the menu, and also to place the desktops item at the bottom, since I can't get a pager to work. Here's the URL:
< http://www.angelfire.com/ms/telegram/fluxbox_menu >

Posted by Rapidweather on Jan. 25 2004,03:40
I got that menu uploaded to the angelfire server using DSL, this method:
Earlier today, I edited the menu using scite, and got it running like I wanted.
It is not necessary to restart fluxbox, the menu responds immediately after you
save the file, and re-open the menu.
First, I opened the .fluxbox/menu file from an rxvt, sudo su to root, using
#scite menu
For the web upload I saved it as fluxbox_menu.
Opened a tab in MozillaFirebird, and accessed my angelfire.com upload account.
Uploaded the file, then viewed it in another tab, and copied the url, pasted it in
this forum.  Very easy to use DSL to maintain web pages, and handle the uploads,
especially if you have MozillaFirebird installed, and can restore it each time you boot DSL up!
Now, what happens when I click on "Hangup" in the menu? The wvdial "Dial" terminal closes, and your connection is ended. Very fast.  
The "pager" item lets me get to my desktops a little easier. I don't yet have a wheel mouse on this laptop, but I'm going to get one, that allows quick desktop switching.

:)

Posted by Rapidweather on Jan. 27 2004,04:56
Another new Menu!
-----------------------
Here is the problem solved by this menu:
You cannot backup or restore with a USB memory stick, just a floppy disk.
Mozilla Firebird cannot be saved from one bootup to the next.
You have downloaded and run Mozilla Firebird, so you have a
/ramdisk/opt/MozillaFirebird directory for the time being.
You run Damn Small Linux from the CD, or have copied the
/knoppix directory on the CD to your hard drive (somewhere).
In that case, you are using a boot floppy to get DSL to run off
the hard drive /knoppix folder.
-----
Here's what you need to do to use the new menu to run Mozilla Firebird from one bootup to the next, without downloading it:
First, copy your /ramdisk/opt/MozillaFirebird directory to your hard drive.
I have mine in /dev/hdb1, a second hard drive, that has an installation of Mandrake 8 on it. You could just use a small hard drive, as slave, and format it to ext2, with DSL's /sbin/mkfs.ext2 like so:
#cd /sbin
#mkfs.ext2 /dev/hdb1
You can change that to the partition you are using. If there is
already a linux installation on it, no need to mkfs, just use emelfm
(Icon for Emelfm on DSL's desktop) and after mounting the target partition, copy the entire /MozillaFirebird directory over there for permanent savekeeping (it'll be on a hard drive).
-----
Now for the menu:
< http://www.angelfire.com/ms/telegram/fluxbox_menu_2 >
You will need to download it, using MozillaFirebird, and once you have it, place it in the /home/damnsmall/.fluxbox directory,
where you already have the default menu. Rename your old menu, and rename the new one to install:
#cp fluxbox_menu_2 menu
Then restart the window manager, using the menu:
Windowmanagers > Restart
You will need to modify the menu's area for MozillaFirebird, the third group down in the file, to reflect the exact location of your partition, and where MozillaFirebird can be found and started. To do that,
in an rxvt, sudo su (to root), then:
#cd /home/damnsmall/.fluxbox
#ls  (you should see "menu")
#scite menu   (This will bring up the menu in scite)
Since you are using "cp" to copy from my menu to yours, no
need to worry about errors in editing in scite, you can always
start over with a fresh copy. Just be sure, also, to rename your original menu before working with the new one, so you can have it back again, if you have a permanent hard drive install.
Since I just copied the /knoppix directory (about 50 mb) over to my Window 98 partition, and run Damn Small Linux with a boot disk, rather than the CD, then I start over new each time anyway, just like the CD. That's why I have to first run the floppy restore after I boot up, restart the window manager, then access the new menu items, in order to get MozillaFirebird to run.
--
As the menu says, first you have to make a directory on your DSL filesystem for the partition where you have /MozillaFirebird
Then, you have to mount it. That's the second item on the menu.
Finally, you run MozillaFirebird, with the last item on the menu.
----
Works for me, I'm using it now.


---------------- :cool:

Posted by roberts on Jan. 27 2004,05:59
Quote
Here is the problem solved by this menu:
You cannot backup or restore with a USB memory stick, just a floppy disk.


Thus is simply not true. I am using an out of the box usb pen drive to backup Mozilla as well as all the Monkey files.

Posted by Rapidweather on Jan. 27 2004,13:52
Of course you can back up MozillaFirebird if you have a memory stick.
I have a Toshiba laptop that has a USB port, and do that.
---
But, if you do not have a USB port, then the memory stick option is out of
reach, as it is for me on the desktop I am using now. It's a machine I put
together, and has an FIC VA 503+ motherboard, with an AMD K6-2
processor. I tried adding a PCI card with two USB ports, but that seems to
only work in Windows, not Linux.
---
So, that's why I put together the menu solution described above.
It's the only way I could get MozillaFirebird to run on this machine.
---
I would like to combine all the three commands in one menu item,
makeing the directory, mounting it, and running Moz out of it. I have not
figured out how to do that, perhaps a script, or just simply a pipe, I do not
know at this point.  As the menu is now, one must run each Mozilla menu item
one at a time, top to bottom. Only takes a few seconds, however, then Moz
starts out of an rxvt terminal.
---
It's also possible to run another application, such as Opera web browser
from the mounted directory, but I like MozillaFirebird better.  :D

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.