'Hidden Gems' in Knoppix 7
.
I'm beginning to think Klaus K always puts in some hidden goodies for us.
This time it is a working 'Main Menu' menu editor entry
on the DVD Main Menu at Main Menu>Preferences>Main Menu.
If your persistence is working, you should try this exercise for yourself.
1. Create a New Menu 'Hidden Gems' ...actually a sub-menu of Main Menu;
2. Under this sub-menu, add the following three New Items with Names
Aptitude, Htop & Top. For these three, the command syntax is
for example: lxterminal -t aptitude --command=aptitude;
3. Add a separator; and
4. Add two more New Items with names AlsaMixer & Midnight Commander.
For these two the syntax which worked was
lxterminal -t alsamixer -e alsamixer and lxterminal -e mc.
None of these use the 'Runs in 'terminal emulator' option.
It took longer to write this up than it does to get yours working.
For extra credit, figure how to get vrms to work under this scheme;
I'm stuck there.
If you have some favorite hidden gems, share them with us here and let
us know if there are any peculiar command format requirements.
A full recovery from the Alacarte disaster
.
I've done a little research on Alacarte and have decided it is a disaster.
Using the installed 'Main Menu' (Alacarte) menu editor in Knoppix 7 initially
seems to be allowing construction of a menu addition. However, you may not
recognize that it creates a mixed salad out of your original menu.
I've started over on this exercise along the lines I published earlier for
Knoppix 6. I've only extended that earlier approach by using Klaus K's method
he uses in Knoppix 7 to create new menu categories.
The modified approach which works is as follows.
1. Create a new Main Menu category 'Hidden Gems' by copying & editing
/etc/xdg/menus/applications-merged/knoppix.desktop to a similar text file
/etc/xdg/menus/applications-merged/gems.desktop.
2. Create new items for the Hidden Gems menu by copying & editing
/usr/share/applications/htop.desktop to similar text files
/usr/share/applications/*.destop where * is top, alsamixer, mc, aptitude,
vrms and xkill.
3. Editing desktop files may most easily be done using the pop-up gui which appears
with a right-click on each menu item. Rather than using 'Runs in terminal emulator',
one may control the lxterminal title and geometry better by using the command-
line options just as described earlier.
This all works nicely and doesn't destroy your nice Knoppix and Wine sub-menus,
as did my ill-fated experience with Alacarte.
A fine point you might not expect
.
Quote:
Originally Posted by
utu
3. Editing desktop files may most easily be done using the pop-up gui which appears
with a right-click on each menu item.
You might not expect it to be the case but the desktop files in /usr/shar/applications/
that are edited by using the pop-up guis are placed in /home/knoppix/.local/share/applications/
under the same names as their /usr/share/applications parents but with changes you've
made.
These .local files then become THE effective ones to address if there are any other
changes to be made. Such as in the categories. If you want to delete 'Systems;'
so things ONLY show in 'Gems;' then do it to the .local files, otherwise you'll be ignored.
These caveats apply as well to ANY menu item you have edited in this way, not just
the Hidden Gems group.