Issue it as user not root.Code:man update-menus update-menus - generate Debian menu system
Hi I have installed Knopix to my hard disk (Knoppix-Myth). Basically it's knoppix but with MythTV already installed.
Anyway I installed KDE and a few other things and so far everything looks good.
The problem is that the version of Knoppix I have isn't properly updating my menus in KDE for applications I install. Does anybody know of a working script anywhere that will automatically update my menus after every boot? It seems like it should be a simple thing to do. I mean all it needs to do is to use whatever the file it is that tells apt-get what files are installed and under what catagories and update the existing menu catagories accordingly. How hard can it be?
GJ
Edit: I found a file called update-menus-kde.tar.gz here - but it was for KDE 3.2. Anyway it didn't seem to work too well as it quit with a bunch of errors. The ouput of running the script is as follows:
Is there any way to fix this? Like I said it would be very nice to have a script that would automatically update my menus after every reboot. But I have no clue how to achieve this.Code:root@box1:/home/raid517/update-menus-kde/update-menus-kde# ./update-menus-knoppix ./update-menus-knoppix: line 18: update-menus: command not found ./update-menus-knoppix: line 93: /etc/menu-methods/freedesktop-desktop-entry-spec-apps: No such file or directory ./update-menus-knoppix: line 94: /etc/menu-methods/freedesktop-desktop-entry-spec-dirs: No such file or directory ./update-menus-knoppix: line 95: /etc/menu-methods/kdelibs-bin: No such file ordirectory cat: /var/lib/kde/debian-dirs/*.directory: No such file or directory ./update-menus-knoppix: line 124: /var/lib/kde/debian-dirs/*.directory: Datei oder Verzeichnis nicht gefunden ./update-menus-knoppix: line 124: /var/lib/kde/debian-dirs/*.directory: No existe el fichero o el directorio Can't open /var/lib/kde/debian-dirs/*.directory: No existe el fichero o el directorio. root@box1:/home/raid517/update-menus-kde/update-menus-kde#
Issue it as user not root.Code:man update-menus update-menus - generate Debian menu system
I issued both of those commands (literally) but all I got were error messages saying "command not found".
GJ
Sorry if my post was confusing. The command is update-menus.
This isn't making much sense at all, sorry... I issued the commands like you suggested and the output is as follws:
That second line certainly isn't a Linux command.Code::~$ update-menus bash: update-menus: command not found raid517@box1:~$ man update-menus No manual entry for update-menus raid517@box1:~$ update-menus - generate Debian menu system bash: update-menus: command not found raid517@box1:~$
I tried just doing update-menus - but I got a similar output.
What gives?
GJ
update-menus most certainly is a Linux command. Why it doesn't work on your machine I have no idea.
man update-menus
Code:$ which update-menus /usr/bin/update-menus
New Precision DWDM SFP+ 10G 80km Tunable Transceiver 50GHz C-Temp DWDM-SFP10G-C
$90.00
LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module
$95.00
NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$19.20
New Cisco GLC-TE 1G SFP Copper RJ45 100m 1000BASE-T Transceiver Module
$22.32
🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥
$6.80
SFP-H10GB-CU3M Cisco 10GB SFP+ Twinax Copper 3M Passive Cable
$7.99
GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03
$6.80
Genuine Cisco ‎SFP-10G-SR Transceiver Module (10-2415-03)
$6.45
For Cisco SFP-10G-T, Ubiquiti UF-RJ45-10G Transceiver, SFP+ to RJ45 10GBase-T
$49.99
New Cisco SFP-10G-LRM 10G SFP+ LRM 1310nm 220m SMF/MMF LC Module
$33.24