LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Studio 13.37
User Name
Password
Studio 13.37 This forum is for the discussion of Studio 13.37.

Notices


Reply
  Search this Thread
Old 08-02-2012, 03:39 PM   #1
linfax
Member
 
Registered: Jul 2012
Posts: 34

Rep: Reputation: Disabled
Menu items - adding a program and changing position?


Is it possible to manually add an item into one of the main menus? I would like to add mhwaveEdit to the menu if possible. Obviously the program file is available (I typed it in the terminal like you suggested), but it would be nice if I could add it to the "multimedia" menu if poss.

Also, is there some easy way to change the order that the items appear in the multimedia menu? I would be quite keen to move Retrovol sound mixer so that it appears next to Alsa sound mixer. Thanks for any suggestions.

Last edited by linfax; 08-02-2012 at 03:41 PM.
 
Old 08-02-2012, 07:06 PM   #2
l0wt3ch
CEO, Studio 13.37
 
Registered: Nov 2011
Distribution: Studio 13.37
Posts: 154

Rep: Reputation: 8
Yes, you can create and edit files in /usr/share/applications. These are the files which make up the menu. Or you can edit the file in /root/.icewm.

Don't do these things unless you know what you're doing.
 
Old 08-11-2012, 01:10 AM   #3
linfax
Member
 
Registered: Jul 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by l0wt3ch View Post
Or you can edit the file in /root/.icewm.
Don't do these things unless you know what you're doing.
OK, you warned me...but I had a go anyway. I found the menu files in /root.icewm and moved one line (for Retrovol) further up the list next to Alsamixer, then saved and rebooted. It is working fine, but there are now items missing from the multimedia menu.

Sure enough, Retrovol has moved up the list as I wanted, but the following items have gone:
Audacious
AVIDemux
KDenlive
Openshot
Streamtuner
TuxGuitar
VLC

I had made the same change to "menu", "menu-previous" and "default_menu" (as they all seemed to be backups of each other), but don't understand what else could be "specifying" the configuration of the menu structure.

Any thoughts?

Here's my .icewm/menu contents:

Code:
# For Puppy 1.0.6 GuestToo, 2005, updated for latest Puppy by BK
# BK: XDG version, Puppy 2.14. icewm-xdgmenu create by rarsa.
# /usr/sbin/fixmenus script converts this to /root/.icewm/menu

menu "Multimedia" multimedia24 {
menu "Use with JACK" "qjackctl" {
prog "Ardour Digital Audio Workstation" "/usr/share/wbar/wbar.icons/ardour_icon_48px.png" /opt/Ardour-2.8.12_10146/bin/ardour2
prog "Calf Effect Plugins" "calf.png" calfjackhost
prog "Guitarix Amplifier Simulation" "/usr/share/pixmaps/gx_head.png" guitarix
prog "Hydrogen Drum Machine" "h2-icon.xpm" hydrogen
prog "JACK Control" "qjackctl" qjackctl
prog "JACK Rack" "jack-rack-icon.png" jack-rack
prog "JACK Timemachine" "timemachine" /usr/bin/timemachine
prog "JAMin Audio Mastering Interface" "jamin.svg" jamin
prog "Lv2rack Plugins Host" "lv2rack32x32" lv2rack 
prog "Meterbridge" "meterbridge32x32.xpm" /usr/bin/meterbridge -t vu alsa_pcm:playback_1 alsa_pcm:playback_2
prog "MusE MIDI Sequencer" "muse_icon.png" muse2
prog "Open Octave Midi Sequencer" "oom_icon.png" oomidi
prog "Patchage" "patchage.xpm" /usr/bin/patchage
prog "Qsynth MIDI sequencer" "qsynth.xpm" /usr/bin/qsynth
prog "Qtractor Multi-Track Sequencer" "qtractor.png" /usr/bin/qtractor
prog "Rakarrack Guitar Effects Processor" "icono_rakarrack_128x128.png" rakarrack
prog "REAPER (user must first install)" "/usr/local/lib/X11/pixmaps/reaper.png" env WINEPREFIX="/root/.wine" wine "C:\Program Files\REAPER\reaper.exe" 
prog "Rosegarden Sequencer and Notation Editor" "rosegarden.png" rosegarden
prog "SooperLooper Live Looping Sampler" "sooperlooper.xpm" slgui
prog "Test dssi-vst" "mini-ray.xpm" /usr/sbin/test-dssi-vst
prog "TiMidity++ MIDI Sequencer" "/usr/share/pixmaps/timidity.xpm" /usr/bin/timidity -ig
prog "ZynAddSubFX Software Synthesizer" "/usr/share/pixmaps/zynaddsubfx.xpm" /usr/bin/zynaddsubfx
prog "Zynjacku Synths Host" "zynjacku32x32" zynjacku 
}
separator
prog "ALSA Sound Mixer" "mini-sound.xpm" defaultmixer
prog "Retrovol Sound Mixer" "mini-sound.xpm" retrovol
prog "Audacity Audio Editor" "audacity.xpm" audacity
prog "Audacious" "audacious.png" audacious
prog "Avidemux Video editor" "avidemux" avidemux
prog "Kdenlive Video Editor" "kdenlive" kdenlive
prog "Linux MultiMedia Studio" "lmms.xpm" lmms
prog "Media Player" "/usr/share/icons/hicolor/48x48/apps/gnome-mplayer.png" gnome-mplayer
prog "Metronome" "/usr/share/pixmaps/gtick_32x32.xpm" /usr/bin/gtick
prog "Multimedia Converter" "Animation.xpm" ffconvert
prog "Mixxx" "/usr/share/pixmaps/mixxx-icon.png" pasuspender mixxx
prog "MuseScore Music Score Typesetter" "mscore.png" mscore
prog "OpenShot Video Editor" "openshot.png" openshot %F
prog "Pburn CD/DVD/Blu-ray Writer" "/usr/local/pburn/pburn20.png" pburn
prog "Sonic Visualiser" "sv-icon.svg" sonic-visualiser
prog "Streamtuner" "streamtuner.png" streamtuner
prog "TuxGuitar" "tuxguitar" tuxguitar
prog "VLC media player" "vlc.png" vlc
}
menu	"Desktop" x24 {
prog "Apply Default Menus" "x16.xpm" defaultmenu
prog "Chtheme GTK theme chooser" "mini.window3d.xpm" gtk-chtheme
prog "Cursor Selector" "default_left_ptr.png" pcur
prog "Desktop icon switcher" "mini-icons.xpm" icon_switcher
prog "FlSynclient configure your touchpad " "flsynclient.png" flsynclient
prog "Qt configuration" "/usr/share/pixmaps/qt-logo.png" /opt/qt4/bin/qtconfig
prog "Set global font size" "mini-x.xpm" set-xftdpi
prog "Wallpaper Setter" "wallpaper.png" wallpaper
prog "Wbar Setup" "ballorange16.xpm" wbarsetup
}
menu	"System" pc24 {
prog "CUPS manage printing" "tb_print.xpm" cups_shell
prog "HardInfo hardware information" "hardinfo.png" hardinfo
prog "Htop Process Viewer" "/usr/local/lib/X11/mini-icons/mini-eyes.xpm" /usr/bin/rxvt -e htop
prog "Pprocess process manager" "mini-ray.xpm" pprocess
separator
prog "GParted partition manager" "gparted.xpm" gparted_shell
prog "Grub Legacy bootloader config" "grubconfig.xpm" grubconfig
prog "Grub4Dos bootloader config" "gnibbles.png" grub4dosconfig
separator
prog "BootManager configure bootup" "so.xpm" bootmanager
}
menu "Setup" configuration24 {
prog "Personalize Settings" "/usr/share/wbar/wbar.icons/setup.png" firstrun
prog "SFS-Load on-the-fly" "squashfs-image.png" sfs_load
prog "Slickpet Install Popular Programs" "pet16.xpm" quickpet
prog "Studio 13.37 Package Manager" "pet16.xpm" /usr/local/petget/pkg_chooser.sh
separator
prog "ALSA Sound Wizard" "wizard16.xpm" alsawizard
prog "CUPS Printer Wizard" "wizard16.xpm" cups_shell
prog "Internet Connection Wizard" "wizard16.xpm" connectwizard
prog "Linux-Firewall Wizard" "wizard16.xpm" rxvt -e firewallinstallshell
prog "Multiple Sound Card Wizard" "wizard16.xpm" Multiple-Sound-Card-Wizard
prog "Xorg Video Wizard" "wizard16.xpm" xorgwizard
separator
prog "Grub4Dos bootloader config" "gnibbles.png" grub4dosconfig
prog "Universal Installer" "mini-ray.xpm" /usr/sbin/universal_installer
}
menu "Utility" utility24 {
prog "Edit-SFS" "/root/my-roxapps/Edit-SFS/.DirIcon" edit-sfs
prog "ROXTerm" "roxterm.png" roxterm
prog "XArchive archiver" "package.xpm" xarchive
separator
prog "Pbackup Backup and Sync" "mini-diskette.xpm" pbackup
prog "Resize personal storage file" "so.xpm" resizepfile.sh
separator
prog "Gexec execute a command" "gexec.xpm" gexec
}
menu "Filesystem" folder24 {
prog "ROX-Filer file manager" "mini-filemgr.xpm" rox
separator
prog "Pmount mount/unmount drives" "mini-diskette.xpm" pmount
separator
prog "Gdmap graphical disk usage" "gdmap.xpm" gdmap
separator
prog "Pfind file finder" "mini-search.xpm" pfind
prog "Searchmonkey file finder" "mini-ray.xpm" searchmonkey
}
menu "Graphic" paint24 {
separator
prog "Gimp image editor" "/usr/share/icons/hicolor/24x24/apps/gimp.png" gimp2
prog "Inkscape" "/usr/share/icons/hicolor/48x48/apps/inkscape.png" inkscape 
prog "XaraLX" "/usr/share/pixmaps/XaraLX-Icon.png" /opt/Xara_Extreme_0.7
prog "mtPaint image editor" "/usr/share/pixmaps/mtpaint.png" /usr/bin/mtpaint
separator
prog "Digital cameras" "mini-camera.xpm" pupcamera
prog "Peasyscan simple image scanner" "peasyscan.xpm" peasyscan
prog "Screen Capture" "mini-camera.xpm" mtpaintsnapshot.sh
prog "Xsane image scanner" "scanner16.xpm" xsaneshell
}
menu "Document" word24 {
prog "AbiWord Help" "so.xpm" defaultbrowser http://www.abisource.com/support/manual/
prog "Abiword wordprocessor" "abiword_16.xpm" abiword
prog "SeaMonkey Composer html editor" "seamonkey16.xpm" mozedit
separator
prog "Geany Text Editor" "/usr/share/icons/hicolor/48x48/apps/geany.png" geany  
separator
prog "PeasyPDF Help" "mini-pdf.xpm" defaultbrowser /usr/share/doc/PeasyPDF.html
}
menu "Business" spread24 {
prog "Spreadsheet" "/usr/share/icons/hicolor/48x48/apps/gnumeric.png" gnumeric
separator
prog "Calculator" "/usr/share/pixmaps/galculator.png" galculator
}
menu "Personal" date24 {
}
menu "Network" connect24 {
prog "Growl Security Enhancements" "tin-hat.png" growl
}
menu "Internet" www24 {
prog "Adobe Flash Player preferences" "flash-player-properties.png" flash-player-properties
prog "GetFlash Install Flashplayer" "/usr/share/icons/flash-player-properties.png" getflash
prog "SeaMonkey mail and news" "seamonkey16.xpm" mozmail
prog "SeaMonkey web browser" "seamonkey16.xpm" seamonkey
prog "Transmission" "/usr/share/icons/hicolor/24x24/apps/transmission.png" transmission-gtk  
prog "XChat IRC" "/usr/share/pixmaps/xchat.png" xchat
prog "gFTP ftp client" "mini-ftp.xpm" gftp
}
menu "Fun" games24 {
}

separator

prog	Help help24 defaulthtmlviewer file:///usr/share/doc/index.html

menu	"Shutdown" shutdown24 {
restart "Restart IceWM" mini-windows icewm
prog "Restart X server" mini-x restartwm
prog "Shutdown Computer" mini-stop wmpoweroff
prog "Reboot Computer"  mini-arrow-right wmreboot
}
Attached Thumbnails
Click image for larger version

Name:	SLEET menu items gone.jpg
Views:	12
Size:	69.0 KB
ID:	10331  
 
Old 08-11-2012, 01:30 AM   #4
l0wt3ch
CEO, Studio 13.37
 
Registered: Nov 2011
Distribution: Studio 13.37
Posts: 154

Rep: Reputation: 8
Those are gone because the menu gets replaced with another whenever the 'extras' sfs gets loaded. Try loading it first, and then making your changes.
 
Old 08-11-2012, 03:11 AM   #5
linfax
Member
 
Registered: Jul 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Awesome, thanks. I had moved the z-sfs to the other partition. Soon as I moved it back and loaded it by clicking the icon on the Wbar the menu entries all came back.

Is the z-sfs supposed to load every time I reboot or only when I click that icon? Is there any other way to load it? And if I did want it to load automatically at boot time do I just load it into the load-sfs-on-the-fly list? thx
 
Old 08-12-2012, 01:22 AM   #6
l0wt3ch
CEO, Studio 13.37
 
Registered: Nov 2011
Distribution: Studio 13.37
Posts: 154

Rep: Reputation: 8
It depends on how you have it set up. But after first boot, it's set to not load automatically by default so you have more RAM available for studio work. (Since Studio 13.37 loads into RAM, OS and all, and some people don't have much RAM.)
 
Old 08-17-2012, 05:40 AM   #7
l0wt3ch
CEO, Studio 13.37
 
Registered: Nov 2011
Distribution: Studio 13.37
Posts: 154

Rep: Reputation: 8
https://www.linuxquestions.org/quest...us-4175422590/
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Items to the Menu taichi Linux - Newbie 2 12-06-2005 12:18 AM
adding menu items swmcquig Linux - Distributions 3 09-21-2004 03:28 PM
Adding Menu Items hiteshmaisheri Linux - Software 3 04-09-2004 04:41 AM
Adding menu items seeone Slackware 2 12-15-2003 09:51 PM
adding items to fluxbox menu..... calvinchan2 Linux - Newbie 3 08-23-2003 01:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Studio 13.37

All times are GMT -5. The time now is 10:47 AM.

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