VectorLinux
August 29, 2014, 08:05:08 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: How to add program to menu  (Read 1326 times)
hemuli
Member
*
Posts: 20



WWW
« on: June 23, 2007, 03:42:21 am »

Hi, here's another dumb question:

I installed Links w. graphics to my slow system and now I can start it in graphic mode only by typing "links -g" in terminal. I'd like to add it to my right-click -menu and make it my default browser.
I'm using Fluxbox.

Please help me, Firefox is too slow with 64MB RAM!!
Logged
bigpaws
Vectorian
****
Posts: 1847


« Reply #1 on: June 23, 2007, 04:43:19 am »

look for .fluxbox there is a menu where you can add
links -g.

Bigpaws
Logged
Triarius Fidelis
Vecteloper
Vectorian
****
Posts: 2399


Domine, exaudi vocem meam


WWW
« Reply #2 on: June 25, 2007, 01:08:50 pm »

I doubt it will help much, but one can avoid memory usage in Firefox by disabling memory cache and (perhaps more importantly) avoiding all Flash-based websites.

I use videodownloader.net to watch YouTube videos for that reason.
Logged

"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months
dawnsboy
Vectorite
***
Posts: 135



« Reply #3 on: July 04, 2007, 01:43:12 pm »

I am currently using Icewm as my window manager of choice but I have used fluxbox on previous versions of VL and found the need to edit the menu file on a number of occasions.  There are two ways to edit the file.  The first method involves opening the fluxbox menu file with a standard text editor and manually editing the file.  Here are a set of instructions provided on the Fluxbox website for using this method:

Fluxbox Menu

So you have fluxbox installed and now you see that nifty little application launcher called the menu when you right click your desktop. This is of little use if you can't edit it to launch the applications that you use. This doc will attempt to answer all questions regarding this.


Setting the Menu File Location
The Fluxbox menu is by default ~/.fluxbox/menu. (where ~ denotes a users home directory) This setting can be changed however via your init. Here is an example of the line:

session.menuFile:       ~/.fluxbox/menu

Just change the /path/to/filename if you wish to use a different file for your menu. The current structure, however, should be fine for most people.


Available Commands
The Fluxbox menu is just a text file that allows you to make subfolders, launch applications, control workspaces, configure fluxbox, and exit X. The menu can take the following commands:

[begin] (MenuTitle)
[submenu]  (SubMenuName) {SubMenuTitle}
[exec] (ApplicationName) {/path/to/program}
[include] (/path/to/meufile)
[end]
[nop] (--------)
[workspaces] (SubMenuName)
[stylesdir] (/path/to/stylesdir)
[config] (FluxboxConfiguration)
[reconfigure] (Reconfigure)
[restart] (Restart)
[exit] (Exit)

Most of this should be pretty self explanatory as to what it does. The italicized items are the words that actually show up on your screen. I will explain the harder to understand items further.

[nop] - This allows you to put text or an empty line if you wish that will not execute anything but just act as a seperator in your menu.

[reconfigure] - If you use the menu to change your fluxbox configuration, the changes will not stay after you exit fluxbox. They need to be written to the init file to be permanent changes and can be done by hitting reconfigure after you've made changes you want.

[restart] - I just want to make sure that everyone knows restart only restarts fluxbox, and not your whole system.

And, as always, If you need further reference, We provide a rather complete sample menu file with fluxbox.

Here is the link to the documentation page that this is copied from.

http://fluxbox.sourceforge.net/docs/en/newdoc.menuedit.php#setting

Here is the link to the Fluxbox documentation pages.

http://fluxbox.sourceforge.net/docbook.php

The second method of editing the Fluxbox menu involves downloading and installing a piece of software called fluxconf which includes a configuration utility called FluxConf, a key binding utility called FluxKeys and a menu editing utility called FluxMenu.  The url for the downoad page (screenshots provided) is:

http://devaux.fabien.free.fr/flux/

The download provided is for source code and will require compiling.  If you choose this method download the software.  Extract the contents to a temporary directory, cd to the new directory and as user run ./configure, then run the "make" command.  After make completes its process, login as root or su and run "make install" (without quotations).

If I am not mistaken you will also find installable packages at the following locations:

http://vectorlinux.osuosl.org/

http://www.linuxpackages.net

I hope that this post is not too late to be of help to you.
Logged

Custom Mini-Itx - VL6.0 Light
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!