You are not logged in.

#1 2017-06-29 11:14:48

HextorBRX
Member
Registered: 2017-06-21
Posts: 18

edit menu for new softwares

Hello

I have read the Getting started section about dynamic menus but I would rather edit the menu manually for each new software, then launch the new software from the menu I edited.

I cannot try because I had to uninstall Bunsenlabs temporarily.

Thanks

Offline

#2 2017-06-29 11:40:48

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 1,271
Website

Re: edit menu for new softwares

Hi! ratmenu, 9menu, obmenu for openbox are just a few tools that create X menus from the shell.
I find dynamic dmenu, rofi a lot better, but i would recommend obmenu if you're into openbox.


Tumbleweed (Server) | KDE Plasma (Wayland)

Offline

#3 2017-06-29 13:21:14

HextorBRX
Member
Registered: 2017-06-21
Posts: 18

Re: edit menu for new softwares

Hi Nili! I am going to reinstall Bunsenlabs today. I wanted to try OSS sound in BSD systems.

I will choose obmenu since you recommend it but I recall there was a menu editor preinstalled with Bunsenlabs. Any differences with obmenu?

P.S. useful signature, I shall try your softwares.

Last edited by HextorBRX (2017-06-29 13:27:09)

Offline

#4 2017-06-29 13:35:17

Davy
Member
From: Ireland
Registered: 2016-05-31
Posts: 65
Website

Re: edit menu for new softwares

Hi Hextor, Obmenu is the menu editor pre-installed in BunsenLabs. smile

Offline

#5 2017-06-29 13:44:51

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: edit menu for new softwares

For general information: Menu -> Help & Resources -> Bunsen Help Files -> How to Edit Menu

How to edit an Openbox menu
===========================

*********  It is strongly recommended you make a backup first!  *************

The Openbox menu does not auto-update, it needs to be edited by the user.

Either edit "~/.config/openbox/menu.xml" using a text editor or use the obconf gui:

    Menu -> Settings -> Openbox -> GUI Menu Editor
    
(Links to more detailed info can be found in the Online Help for Openbox in the Help menu)


HowTo edit a BunsenLabs pipemenu
================================

1)  For the Graphics, Multimedia and Browsers pipemenus:

    Edit the pipemenu config file, which is "~/.config/openbox/pipemenus.rc"

    Add/remove the application you want (NB there needs to be a space between each element).
    The application name is the same as the package name.

    For example, change the entries in the "Graphics" menu by editing the line:

        GRAPHICS_APPS=( 'mirage' 'gimp' 'blender' 'inkscape' 'mandelbulber' 'viewnior')

OR

2)  Other menus, eg bl-help-pipemenu, are in "/usr/bin/"

 *** Remember that they could be over-written by a BL package upgrade, 
	 so use the following method instead of editing the file as root ***
 
	1) Copy the file from /usr/bin to ~/bin (create directory if necessary).
	2) Check ~/bin comes first in $PATH (use 'echo $PATH' to check)
	3) Edit the local file

	They have menu entries like:

        menuItem 'Forum Basic Help & Support' 'x-www-browser "https://forums.bunsenlabs.org/viewforum.php?id=2"'
        
    The first element is the label, the second is the command to be run
    
Recent Files Pipemenu
=====================

Run "bl-recent-files-pipemenu -h" to show the usage of the command.

To change how the menu displays recent files, you can add the following switches
to the menu.xml pipemenu entry:

	-r, --reverse    Put the most-recently used items at the top of the menu
	-l, --limit  NUM     Include up to NUM items in the menu

So to have the most recent 20 items displayed, with the newest first, use:

	<menu execute="bl-recent-files-pipemenu -r -l 20" id="pipe-recentfilesmenu" label="Recent Files"/>

I've just noticed a typo in the helpfile...it should be "obmenu", not "obconf"  :8

Last edited by damo (2017-06-30 15:49:32)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#6 2017-06-29 13:51:01

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 1,271
Website

Re: edit menu for new softwares

Like Davy said, Obmenu is the menu editor of BunsenLabs, Obmenu (menu editor), Obconf (preferences manager for Openbox) and Openbox (light-weight, extensible window manager) are just brother and sister together.
Those three tools are pre-installed on BunsenLabs IIRC. Reaches them by doing right click on tint2 panel or window desktop, once a menubar appears. Find the relevant names (Obmenu) and edit your preferences.

I wish any stuff from my signature please you smile
Regards!

Edit: there is a thread by martix with many useful guides. I believe you'll achieve what you are looking for.

Last edited by Nili (2017-06-29 14:40:47)


Tumbleweed (Server) | KDE Plasma (Wayland)

Offline

#7 2017-06-29 16:00:38

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: edit menu for new softwares

@ HextorBRX,  Nili and Davy - let's not forget lxappearance in there.

The three really make a full team;  obmenu, cbconf and lxappearance


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#8 2017-06-30 15:40:23

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 1,271
Website

Re: edit menu for new softwares

That's right S11 about lxappearance, I forgot this tool because it's been a while i do manually .gtkrc-2.0 edits.
When it comes to test multiple themes or icons at the same time, LXappearance required for help.

I luv those three amigos smile


Tumbleweed (Server) | KDE Plasma (Wayland)

Offline

#9 2017-06-30 17:19:53

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: edit menu for new softwares

@ Nili, lets go for broke here:

openbox, obmenu, cbconf and lxappearance

English: The Four Friends
Spanish: Los Cuatro Amigos
French: Les Quatre Amis

"Don't build a distro without them."  (  OK, That's an opinion.  )  smile

That's what I know!


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB