plasma5 - how to update menus
Hi folks, I installed a new application (not from repo), and there is a *.desktop file in /usr/share/applications. But I the new application does not appear in the menus of plasma5/kde. How can I force, to recreate the menus in plasma5? I tried "update-menus", "kbuildsycoca5 --noincremental" and "kbuildsycoca4 --noincremental" as well without any success. I also removed ~/.local/share/applications away - with no success. Is there any other way, to recreate the menus in plasma5? Thanks for any hints. Best regards Hans
Re: update-menus erro, e menu Debian no k de sumiu, solução.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/24/2006 01:35 AM, Eddie wrote: Comando update-menus erro: No arquivo /usr/share/menu/apollon, na linha (ou na definição que termina na linha) 1: [...]sharing daemon giFT command=/usr/bin/apollon icon=icon=/usr/share/pixmaps/apollon.xpm needs=package(apollon):needs=X11 package=apollon section=section=Apps/Net title=longtitle=Graphical [...] ^ Esperado: = install-menu: /etc/menu-methods/twm: abortando update-menus[1293]: Script /etc/menu-methods/twm retornou status de erro 1. No arquivo /usr/share/menu/apollon, na linha (ou na definição que termina na linha) 1: [...]sharing daemon giFT command=/usr/bin/apollon icon=icon=/usr/share/pixmaps/apollon.xpm needs=package(apollon):needs=X11 package=apollon section=section=Apps/Net title=longtitle=Graphical [...] ^ Esperado: = install-menu: /etc/menu-methods/menu-xdg: abortando update-menus[1293]: Script /etc/menu-methods/menu-xdg retornou status de erro 1. No arquivo /usr/share/menu/apollon, na linha (ou na definição que termina na linha) 1: [...]sharing daemon giFT command=/usr/bin/apollon icon=icon=/usr/share/pixmaps/apollon.xpm needs=package(apollon):needs=X11 package=apollon section=section=Apps/Net title=longtitle=Graphical [...] ^ Esperado: = install-menu: /etc/menu-methods/xdg-desktop-entry-spec-apps: abortando update-menus[1293]: Script /etc/menu-methods/xdg-desktop-entry-spec-apps retornou status de erro 1. No arquivo /usr/share/menu/apollon, na linha (ou na definição que termina na linha) 1: [...]sharing daemon giFT command=/usr/bin/apollon icon=icon=/usr/share/pixmaps/apollon.xpm needs=package(apollon):needs=X11 package=apollon section=section=Apps/Net title=longtitle=Graphical [...] ^ Esperado: = install-menu: /etc/menu-methods/xdg-desktop-entry-spec-dirs: abortando update-menus[1293]: Script /etc/menu-methods/xdg-desktop-entry-spec-dirs retornou status de erro 1. No arquivo /usr/share/menu/apollon, na linha (ou na definição que termina na linha) 1: [...]sharing daemon giFT command=/usr/bin/apollon icon=icon=/usr/share/pixmaps/apollon.xpm needs=package(apollon):needs=X11 package=apollon section=section=Apps/Net title=longtitle=Graphical [...] ^ Esperado: = install-menu: /etc/menu-methods/xdg-desktop-entry-spec-sessions: abortando update-menus[1293]: Script /etc/menu-methods/xdg-desktop-entry-spec-sessions retornou status de erro 1. No arquivo /usr/share/menu/apollon, na linha (ou na definição que termina na linha) 1: [...]sharing daemon giFT command=/usr/bin/apollon icon=icon=/usr/share/pixmaps/apollon.xpm needs=package(apollon):needs=X11 package=apollon section=section=Apps/Net title=longtitle=Graphical [...] ^ Esperado: = install-menu: /etc/menu-methods/gnome-panel-data: abortando update-menus[1293]: Script /etc/menu-methods/gnome-panel-data retornou status de erro 1. Solução, aqui funciono, não deu erro, e o menu no kde do Debian, que por causa desse erro tinha sumido, volto. em /usr/share/menu/ edite o arquivo apollon arquivo apollon do sistema package(apollon):needs=X11 section=Apps/Net \ title=Apollon \ icon=/usr/share/pixmaps/apollon.xpm \ longtitle=Graphical interface to the file-sharing daemon giFT \ command=/usr/bin/apollon agora na primeira linha coloque ?, isso no começo. Vai ficar assim ?package(apollon):needs=X11 section=Apps/Net \ title=Apollon \ icon=/usr/share/pixmaps/apollon.xpm \ longtitle=Graphical interface to the file-sharing daemon giFT \ command=/usr/bin/apollon salve e de o comando update-menus, e saia do kde e entre novamente Tinha um bug reportado pelo hpfn e já foi corrigido, nas próximas versões você não deve mais encontrar este problemas. :) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=370691 - -- Felipe Augusto van de Wiel (faw) Debian. Freedom to code. Code to freedom! -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFE7kTsCjAO0JDlykYRAkbNAJ4/6XrBPwXSISPeH6wxRropUMaveQCgpS0r 9idr92O02ysMc+yfOBIAfY8= =7GVF -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
update-menus erro, e menu Debian no kde sumiu, solução.
Comando update-menus erro: No arquivo /usr/share/menu/apollon, na linha (ou na definição que termina na linha) 1: [...]sharing daemon giFT command=/usr/bin/apollon icon=icon=/usr/share/pixmaps/apollon.xpm needs=package(apollon):needs=X11 package=apollon section=section=Apps/Net title=longtitle=Graphical [...] ^ Esperado: = install-menu: /etc/menu-methods/twm: abortando update-menus[1293]: Script /etc/menu-methods/twm retornou status de erro 1. No arquivo /usr/share/menu/apollon, na linha (ou na definição que termina na linha) 1: [...]sharing daemon giFT command=/usr/bin/apollon icon=icon=/usr/share/pixmaps/apollon.xpm needs=package(apollon):needs=X11 package=apollon section=section=Apps/Net title=longtitle=Graphical [...] ^ Esperado: = install-menu: /etc/menu-methods/menu-xdg: abortando update-menus[1293]: Script /etc/menu-methods/menu-xdg retornou status de erro 1. No arquivo /usr/share/menu/apollon, na linha (ou na definição que termina na linha) 1: [...]sharing daemon giFT command=/usr/bin/apollon icon=icon=/usr/share/pixmaps/apollon.xpm needs=package(apollon):needs=X11 package=apollon section=section=Apps/Net title=longtitle=Graphical [...] ^ Esperado: = install-menu: /etc/menu-methods/xdg-desktop-entry-spec-apps: abortando update-menus[1293]: Script /etc/menu-methods/xdg-desktop-entry-spec-apps retornou status de erro 1. No arquivo /usr/share/menu/apollon, na linha (ou na definição que termina na linha) 1: [...]sharing daemon giFT command=/usr/bin/apollon icon=icon=/usr/share/pixmaps/apollon.xpm needs=package(apollon):needs=X11 package=apollon section=section=Apps/Net title=longtitle=Graphical [...] ^ Esperado: = install-menu: /etc/menu-methods/xdg-desktop-entry-spec-dirs: abortando update-menus[1293]: Script /etc/menu-methods/xdg-desktop-entry-spec-dirs retornou status de erro 1. No arquivo /usr/share/menu/apollon, na linha (ou na definição que termina na linha) 1: [...]sharing daemon giFT command=/usr/bin/apollon icon=icon=/usr/share/pixmaps/apollon.xpm needs=package(apollon):needs=X11 package=apollon section=section=Apps/Net title=longtitle=Graphical [...] ^ Esperado: = install-menu: /etc/menu-methods/xdg-desktop-entry-spec-sessions: abortando update-menus[1293]: Script /etc/menu-methods/xdg-desktop-entry-spec-sessions retornou status de erro 1. No arquivo /usr/share/menu/apollon, na linha (ou na definição que termina na linha) 1: [...]sharing daemon giFT command=/usr/bin/apollon icon=icon=/usr/share/pixmaps/apollon.xpm needs=package(apollon):needs=X11 package=apollon section=section=Apps/Net title=longtitle=Graphical [...] ^ Esperado: = install-menu: /etc/menu-methods/gnome-panel-data: abortando update-menus[1293]: Script /etc/menu-methods/gnome-panel-data retornou status de erro 1. Solução, aqui funciono, não deu erro, e o menu no kde do Debian, que por causa desse erro tinha sumido, volto. em /usr/share/menu/ edite o arquivo apollon arquivo apollon do sistema package(apollon):needs=X11 section=Apps/Net \ title=Apollon \ icon=/usr/share/pixmaps/apollon.xpm \ longtitle=Graphical interface to the file-sharing daemon giFT \ command=/usr/bin/apollon agora na primeira linha coloque ?, isso no começo. Vai ficar assim ?package(apollon):needs=X11 section=Apps/Net \ title=Apollon \ icon=/usr/share/pixmaps/apollon.xpm \ longtitle=Graphical interface to the file-sharing daemon giFT \ command=/usr/bin/apollon salve e de o comando update-menus, e saia do kde e entre novamente -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
pb update-menus dans debian/sid (unstable) x86
Bonjour, depuis quelques jours, avec Debian/Sid=Unstable sous x86, en faisant apt-get update puis apt-get dist-upgrade, j'obtiens par exemple (Reading database ... 166337 files and directories currently installed.) Preparing to replace synaptic 0.57.5 (using .../synaptic_0.57.5.1_i386.deb) ... Unpacking replacement synaptic ... update-menus: relocation error: update-menus: symbol _ZN9__gnu_cxx6__poolILb1EE13_M_initializeEv, version GLIBCXX_3.4.6 not defined in file libstdc++.so.6 with link time reference là le processus apt-get se bloque, je l'interromps par CtrlC pour obtenir dpkg: error processing /var/cache/apt/archives/synaptic_0.57.5.1_i386.deb (--unpack): dpkg: warning - old post-removal script killed by signal (Interrupt) et un apt-get install --reinstall menu ne marche pas. je n'arrive pas à purger le paquet menu non plus qui en est à la version menu_2.1.26 Si quelqu'un a une idée (oui, je sais que Sid est instable, mais ca fait longtemps que je l'utilise, et elle est souvent plus stable que ça!!) Cordialement -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile(at)starynkevitch(dot)net 8, rue de la Faïencerie, 92340 Bourg La Reine, France -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: pb update-menus dans debian/sid (unstable) x86
* Basile STARYNKEVITCH [EMAIL PROTECTED] [2005-10-11 19:44] : Bonjour, depuis quelques jours, avec Debian/Sid=Unstable sous x86, en faisant apt-get update puis apt-get dist-upgrade, j'obtiens par exemple (Reading database ... 166337 files and directories currently installed.) Preparing to replace synaptic 0.57.5 (using .../synaptic_0.57.5.1_i386.deb) ... Unpacking replacement synaptic ... update-menus: relocation error: update-menus: symbol _ZN9__gnu_cxx6__poolILb1EE13_M_initializeEv, version GLIBCXX_3.4.6 not defined in file libstdc++.so.6 with link time reference là le processus apt-get se bloque, je l'interromps par CtrlC pour obtenir dpkg: error processing /var/cache/apt/archives/synaptic_0.57.5.1_i386.deb (--unpack): dpkg: warning - old post-removal script killed by signal (Interrupt) et un apt-get install --reinstall menu ne marche pas. je n'arrive pas à purger le paquet menu non plus qui en est à la version menu_2.1.26 Si quelqu'un a une idée C'est peut-être le bogue #332876, en tout cas, ce sont les mêmes symptômes. Tu as peut-être une bibliothèque C++ expérimentale (par exemple dans /usr/lib/gcc-snapshot/lib) qui pose problème. As-tu bien la dernière version de libstdc++6 ? (4.0.2-2 pour Sid) Fred -- Comment poser les questions de manière intelligente ? http://www.gnurou.org/documents/smart-questions-fr.html Comment signaler efficacement un bug ? http://www.chiark.greenend.org.uk/~sgtatham/bugs-fr.html -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: pb update-menus dans debian/sid (unstable) x86
Le Tue, Oct 11, 2005 at 08:16:45PM +0200, Fr?d?ric Bothamy écrivait/wrote: * Basile STARYNKEVITCH [EMAIL PROTECTED] [2005-10-11 19:44] : Bonjo C'est peut-être le bogue #332876, en tout cas, ce sont les mêmes symptômes. Merci, ca y ressemble, et c'est vrai que j'ai un gcc snapshot récent dans mon /usr/local il m'a suffit de mettre dans /etc/ld.so.conf /usr/X11R6/lib /lib64 /usr/lib64 /usr/X11R6/lib64 /usr/lib /lib /usr/local/lib /usr/local/qt4/lib puis après un ldconfig tout est rentré dans l'ordre. Merci beaucoup -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile(at)starynkevitch(dot)net 8, rue de la Faïencerie, 92340 Bourg La Reine, France -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
update-menus et entrées en double
Bonjour, Si je lance update-menus, il me créé les entrées Debian du menu de gnome en double. Si je le lance avec -v, il me dit : update-menus[17947]: Lecture des fichiers d'entrées de menu dans /etc/menu/. update-menus[17947]: 0 entrées de menu ont été trouvées (0 au total). update-menus[17947]: Lecture des fichiers d'entrées de menu dans /usr/lib/menu/.update-menus[17947]: 312 entrées de menu ont été trouvées (312 au total). update-menus[17947]: Lecture des fichiers d'entrées de menu dans /usr/share/menu/. update-menus[17947]: 312 entrées de menu ont été trouvées (624 au total). update-menus[17947]: Lecture des fichiers d'entrées de menu dans /usr/share/menu/default/. update-menus[17947]: 313 entrées de menu ont été trouvées (937 au total). update-menus[17947]: Lancement de « menu-methods » dans /home/jean-luc/.menu-methods/. /etc/menu est vide /usr/lib/menu contient bien toutes les entrées /usr/share/menu ... ne contient que 2 entrées, je ne vois pas pourquoi il ajoute toutes ces entrées Je dois lancer update-menus -menufilesdir /usr/lib/menu pour n'avoir les entrées qu'en un seul exemplaire.. Idées ? Jean-Luc pgp2BeMe5AYBR.pgp Description: PGP signature
Re: update-menus bozuldu.
Banada birinin sisteme girip de dosyalar alabilir hale getirmi olabilecei pek mantkl gelmiyor akas nasl bir manyak byle bii yapar ki ? ama ben /usr dizinindeki izinlerle hi oynamadm. geriye betikleri kontrol etmek kalyor bo bi zamanmda o betikleri kontrol edip bii bulursam buraya yazarm ama ok sama bir durum. Ali Alphan Bayazit wrote: On Sun, 2005-01-23 at 12:50 +0200, Emre Kadolu wrote: Evet dosyalar allabilir durumdaym ama ben o dosyalarla oynamadm ki.. nasl durduk yerde o dosyalar allabilir duruma gelmi olabilir ? sisteme biri mi girdi acaba? bilemem, chkrootkit tarzi bir guvenlik uygulamasi yuklemek isteyebilirsiniz. tabi akilli bir rootkiti yakalayabilmesi icin bir sebep gormuyorum, (icinizde en ufak bir suphe varsa, bildiginiz uzere bunun tek yolu tekrar yuklemek) sifrenizin emre82 olmadigini kabul edersek, guncellenen bir debiana girebilecek bir adamin, yanlislikla /usr/lib/menu altindaki dosyalari calistirilabilir yapmasi pek mantikli gelmiyor. Isterseniz /usr/lib altindaki diger dizinileri ve dosyalari da kontrol edin, belki de basit bir chmod -R +x 'in gazabina ugramissiniz. ben olsam bir de sonuncu basarili update-menu islemi sonrasi yuklenen (ozellikle resmi olmayan) paketlerin betiklerini incelerdim. kolay gelsin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: update-menus et synaptic
Le Tue, 10 Aug 2004 02:10:07 +0200, Raphaël SurcouF Bordet a écrit : Le lundi 09 août 2004 à 19:24 +0200, Eddy a écrit : Quand j'installe ou supprime des paquets à l'aide de synaptic, les menus ne sont pas mis à jour : il faut que j'exécute update-menus manuellement. Par contre cela va tout seul via sudo apt-get install. S'agit-il d'une feature de synaptic ou ai-je loupé quelque chose ? Je ne pense pas que ça vienne spécialement de synaptic, as-tu essayé de reproduire l'anomalie avec apt ou aptitude ? Avec apt, update-menus est exécuté normalement. Aptitude : j'avoue avoir du mal à utiliser ce genre d'interface. P.S. Je ne sais si c'est important ou pas mais je ne suis évidemment pas connecté en root quand je lance synaptic (et n'ai même pas envie d'essayer) : je le lance via le menu en utilisateur normal puis le mot de passe est demandé. Normal, car le processus nécessite les privilèges de l'utilisateur root mais si tu prends la peine de le vérifier par la suite, il est bel et bien root: $ ps auxf ... root 6486 22.6 8.0 28752 20680 ? R01:58 0:05 synaptic Oui, on est bien d'accord. Je me demande toutefois si la façon d'obtenir les droits root (et la préservation ou non des variables d'environnement) ne pourrait pas influencer le résultat d'update-menus mais là je patauge un peu dans ces notions. En fait ce que je voulais simplement savoir c'est si d'autres avaient aussi ce comportement de synaptic (la réponse de Krys montre que je ne suis pas seul) et s'ils avaient trouver une parade ou s'en accomodaient. Encore merci. -- Eddy (enlever shadoko de l'adresse) En essayant continuellement, on finit par réussir Donc : plus ça rate, plus on a de chance que ça marche Les Shadoks
update-menus et synaptic
Bonjour, J'ai installé Debian Sarge il y a quelques jours et vous lis depuis sur usenet. Quand j'installe ou supprime des paquets à l'aide de synaptic, les menus ne sont pas mis à jour : il faut que j'exécute update-menus manuellement. Par contre cela va tout seul via sudo apt-get install. S'agit-il d'une feature de synaptic ou ai-je loupé quelque chose ? P.S. Je ne sais si c'est important ou pas mais je ne suis évidemment pas connecté en root quand je lance synaptic (et n'ai même pas envie d'essayer) : je le lance via le menu en utilisateur normal puis le mot de passe est demandé. -- Eddy (enlever shadoko de l'adresse) En essayant continuellement, on finit par réussir Donc : plus ça rate, plus on a de chance que ça marche Les Shadoks
Re: update-menus et synaptic
Le lundi 09 août 2004 à 19:24 +0200, Eddy a écrit : Quand j'installe ou supprime des paquets à l'aide de synaptic, les menus ne sont pas mis à jour : il faut que j'exécute update-menus manuellement. Par contre cela va tout seul via sudo apt-get install. S'agit-il d'une feature de synaptic ou ai-je loupé quelque chose ? Je ne pense pas que ça vienne spécialement de synaptic, as-tu essayé de reproduire l'anomalie avec apt ou aptitude ? P.S. Je ne sais si c'est important ou pas mais je ne suis évidemment pas connecté en root quand je lance synaptic (et n'ai même pas envie d'essayer) : je le lance via le menu en utilisateur normal puis le mot de passe est demandé. Normal, car le processus nécessite les privilèges de l'utilisateur root mais si tu prends la peine de le vérifier par la suite, il est bel et bien root: $ ps auxf ... root 6486 22.6 8.0 28752 20680 ? R01:58 0:05 synaptic -- Raphaël 'SurcouF' Bordet [EMAIL PROTECTED] [EMAIL PROTECTED] | http://www.debianfr.net signature.asc Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Re: update-menus / kde 3.2.2
Quoting Tiago Saboga [EMAIL PROTECTED]: On Saturday 01 May 2004 14:53, Jeremy Monnet wrote: Bonjour, dans le kcontrol-center (centre de configuration) bureau tableau de bord editer le menu K tu peux choisir tous ce qui concerne le menu K, quitte a recréer certains raccourcis. Jeremy Merci, mais je suppose que ce sera à refaire lors d'un upgrade... J'aimerais savoir si l'outil update-menus ne marche plus pour kde ou si c'est un bogue... Tiago. Je n'ai jamais eu ce problème (sauf sous mdk, mais c'etait un problème récurrent de la distrib'), donc je suppose que tu devrais aller vérifier les rapports de bugs sur debian.org, et eventuellement en faire un Parce que les applis ne devraient pas disparaitre du menu, sauf si elles ont été supprimées ;) Jeremy -- -- Vive le libre, et vive knoppix ! Linux Registered User #317862 http://jems0.dyndns.org
Re: update-menus / kde 3.2.2
On Saturday 01 May 2004 14:53, Jeremy Monnet wrote: Bonjour, dans le kcontrol-center (centre de configuration) bureau tableau de bord editer le menu K tu peux choisir tous ce qui concerne le menu K, quitte a recréer certains raccourcis. Jeremy Merci, mais je suppose que ce sera à refaire lors d'un upgrade... J'aimerais savoir si l'outil update-menus ne marche plus pour kde ou si c'est un bogue... Tiago.
Re: update-menus / kde 3.2.2
Bonjour, dans le kcontrol-center (centre de configuration) bureau tableau de bord editer le menu K tu peux choisir tous ce qui concerne le menu K, quitte a recréer certains raccourcis. Jeremy On Fri, 2004-04-30 at 23:45, Tiago Saboga wrote: J'ai installé kde 3.2.2 sur sarge, et je n'ai plus tous mes logiciels dans les menus. J'ai essayé update-menus, mais après lire quelques docs j'ai vérifié qu'il n'y a pas de script pour kde dans mon /etc/menu-methods. Est-ce que cette méthode n'est plus valable (pourtant, kde enregistre bien ses logiciels à /usr/lib/menu/ , pour qu'ils soient trouvés par update-menus)? J'ai essayé aussi le Kapplications (je ne suis plus sûr de ce nom), qui a retrouvé 26 autres logiciels, mais pas encore tous (et notamment plusieurs jeux en X). Merci tiago. -- -- Linux Registered User #317862 Vous hesitez entre Linux et windows ? - Vous voulez perdre du temps ou de l'argent ? Why is Microsoft raising prices on you? Because they can! - To take that power away from them, use Linux !
update-menus / kde 3.2.2
J'ai installé kde 3.2.2 sur sarge, et je n'ai plus tous mes logiciels dans les menus. J'ai essayé update-menus, mais après lire quelques docs j'ai vérifié qu'il n'y a pas de script pour kde dans mon /etc/menu-methods. Est-ce que cette méthode n'est plus valable (pourtant, kde enregistre bien ses logiciels à /usr/lib/menu/ , pour qu'ils soient trouvés par update-menus)? J'ai essayé aussi le Kapplications (je ne suis plus sûr de ce nom), qui a retrouvé 26 autres logiciels, mais pas encore tous (et notamment plusieurs jeux en X). Merci tiago.
What is this? A bug in update-menus???
louiloui:/# update-menus Unknown error, message=replacewith($string, $replace, $with): $replace and $with must have the same length. install-menu: /etc/menu-methods/freedesktop-desktop-entry-spec-dirs: aborting update-menus[12361]: Script /etc/menu-methods/freedesktop-desktop-entry-spec-dirs returned error status 1. Unknown error, message=replacewith($string, $replace, $with): $replace and $with must have the same length. install-menu: /etc/menu-methods/freedesktop-desktop-entry-spec-apps: aborting update-menus[12361]: Script /etc/menu-methods/freedesktop-desktop-entry-spec-apps returned error status 1. louiloui:/# I am getting the above message when I run update-menus as root. Also the menu update application in KDE3.2 is not working either. I suspect they are the same issue. Any ideas? Thanks! -- John Foster -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: What is this? A bug in update-menus???
John Foster wrote: louiloui:/# update-menus Unknown error, message=replacewith($string, $replace, $with): $replace and $with must have the same length. install-menu: /etc/menu-methods/freedesktop-desktop-entry-spec-dirs: aborting update-menus[12361]: Script /etc/menu-methods/freedesktop-desktop-entry-spec-dirs returned error status 1. Unknown error, message=replacewith($string, $replace, $with): $replace and $with must have the same length. install-menu: /etc/menu-methods/freedesktop-desktop-entry-spec-apps: aborting update-menus[12361]: Script /etc/menu-methods/freedesktop-desktop-entry-spec-apps returned error status 1. louiloui:/# I am getting the above message when I run update-menus as root. Also the menu update application in KDE3.2 is not working either. I suspect they are the same issue. Any ideas? see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=237820 Bye -- Haim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: comment utiliser update-menus avec les logiciels installes en local?
Pamplemousse Mk2 wrote: Bonjour, Bonsoir j'aimerai ajouter mes logiciels installes a partir de sources compilees (donc sans package) dans les menus de mes window manager preferes, et notamment Fluxbox. J'ai lu qu'il faut utiliser update-menus. J'ai donc fait comme decrit dans la doc: - creer un repertoire ~/.menu - cd ~/.menu - creer un fichier pour mon logiciel titi, qui s'appellera par ex titi - l'editer et mettre cette ligne: ?package(local.titi):command=/usr/bin/titi section=Apps/Viewers needs=X11 title=Titi Tu dois avoir une seule ligne, sinon il faut mettre un antislash à la fin de la ligne ?package(local.titi):command=/usr/bin/titi section=Apps/Viewers\ needs=X11 title=Titi - lancer la commande update-menus.
Re: comment utiliser update-menus avec les logiciels installes en local?
On Tue, 20 Jan 2004 19:28:51 +0100 eric [EMAIL PROTECTED] wrote: Tu dois avoir une seule ligne, sinon il faut mettre un antislash à la fin de la ligne ?package(local.titi):command=/usr/bin/titi section=Apps/Viewers\ needs=X11 title=Titi Normalement tout tient sur une seule ligne, et je sais qu'il faut utiliser \ lorsqu'il y a des retours a la ligne. En fait, c'est mon logiciel de mail qui l'a mis a la ligne suivante. J'ai quant meme reformate mon fichier en rajoutant des retours a la ligne et des \ mais pas plus de succes. Ciao.
comment utiliser update-menus avec les logiciels installes en local?
Bonjour, j'aimerai ajouter mes logiciels installes a partir de sources compilees (donc sans package) dans les menus de mes window manager preferes, et notamment Fluxbox. J'ai lu qu'il faut utiliser update-menus. J'ai donc fait comme decrit dans la doc: - creer un repertoire ~/.menu - cd ~/.menu - creer un fichier pour mon logiciel titi, qui s'appellera par ex titi - l'editer et mettre cette ligne: ?package(local.titi):command=/usr/bin/titi section=Apps/Viewers needs=X11 title=Titi - lancer la commande update-menus. Mais rien n'apparait dans le menu. J'ai lance update-menus aussi bien en root qu'en user, mais pas mieux. Qqn pourrait me dire ou est mon erreur? Merci
problemas update-menus
[EMAIL PROTECTED]:/home/knoppix# dpkg -i --force-all /var/cache/apt/archives/joe_2.8-23_i386.deb (Reading database ... 49463 files and directories currently installed.) Preparing to replace joe 2.8-21 (using .../archives/joe_2.8-23_i386.deb) ... Unpacking replacement joe ... /var/lib/dpkg/info/joe.postrm: line 3: /usr/bin/update-menus: Permission denied dpkg: warning - old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... /var/lib/dpkg/tmp.ci/postrm: line 3: /usr/bin/update-menus: Permission denied dpkg: error processing /var/cache/apt/archives/joe_2.8-23_i386.deb (--install): subprocess new post-removal script returned error exit status 1 /var/lib/dpkg/tmp.ci/postrm: line 3: /usr/bin/update-menus: Permission denied dpkg: error while cleaning up: subprocess post-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/joe_2.8-23_i386.deb
Re: update-menus problem: Aborted, following acct install
On Thu, Mar 13, 2003 at 06:35:39PM +, Karsten M. Self wrote: System is testing, hppa. I've just committed the glibc update in the past few days. After installing acct, postinst failed on update-menus. Running update-menus manually returns: # update-menus Aborted menu was broken on hppa until very recently. If the version in unstable doesn't fix it, file a bug report. (See #184562.) -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
update-menus y blackbox...
Hola lista: Si quiero agregar una opcion al menu que utilizo en blackbox, como debo de hacer con el update-menus ya que al editar el archivo blackbox-menu me encuentro que hay un comentario que dice que no sea editado manualmente sino que utilice dicha herramienta. No se si me he hecho entender, desde ya mu agradecido. Maximiliano Alonzo --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/03
Small problem with update-menus
When I run it, it mostly works, except for the following: Could not open dir KMail/ /etc/menu-methods//afterstep: Aborting Update-menus[11613]: Script /etc/menu-methods//afterstep returned error status 1. There is a KMail subdirectory (in fact, there are 2, one nested inside the other). The inclusion of the slash seems odd. I'm running KDE3 on a mostly testing system. I can't track down where this is coming from. Has anyone any ideas about this, please? TIA for any help Cam -- Cam Ellison Ph.D. R.Psych. From Roberts Creek on B.C.'s incomparable Sunshine Coast [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
update-menus als user?
Hallo Liste. Ich habe hier und zuhause ein Problem. Ich moechte gerne das Debian eigene Menusystem benutzen. Dafuer habe ich schon das Verz. .menu erstellt, mit einer Beispieldatei. Nun erwarte ich nach Anleitung, dass mir auch eine je nach WM Konfigurationsdatei angelegt wird. Leider ist dies nicht der Fall. Ich konnte nur ueber Umwege eine Konfigdatei erzeugen, durch erzeugen der date ./menu-methods/cat. Dann habe ich die date /tmp/menu-stdin /etc/menu-methods uebergeben/. Schwups da wurde die Datei erzeugt. Kann mir jemand helfen? Ciao otto -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Windowmaker Menüs und update-menus
HI! vom verzeichnis /usr/lib/menu die datei mutt ins verzeichnis /etc/menu kopieren. dann die kopierte datei öffnen, anpassen und speichern. so kannst du auch neue menueinträge hinzufügen, einfach im verzeichnis /etc/menu eine neue textdatei anlegen und dann anpassen. dann update-menus ausführen und einen wmaker restart durchführen... gruss gerhard Am Fre, 2002-11-01 um 01.48 schrieb Andreas Pakulat: Hi, vielleicht kann mir hier ja jemand helfen. Ich möchte gerne selbst konfigurierte Windowmakermenüs nutzen, also mit eigenen Shortcuts und auch manchmal kleinen Abwandlungen bei den Befehlen (z.B. mutt mit mutt -y aufrufen). Trotzdem will ich das update-menus Zeug nutzen können, so daß neue Progs automatisch ins Menü kommen. Ist das irgendwie möglich oder muss ich doch das WM-Menü per Hand pflegen? Andreas -- Galgenbruders Frühlingslied Es lenzet auch auf unserm Spahn, o selige Epoche! Ein Hälmlein will zum Lichte nahn aus einem Astwurmloche. Es schaukelt bald im Winde hin Und schaukelt bald drin her. Mir ist beinah, Ich wäre wer, der ich doch nicht mehr bin . . -- Christian Morgenstern -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Windowmaker Menüs und update-menus
* Andreas Pakulat [EMAIL PROTECTED] [021101 09:43]: Ich möchte gerne selbst konfigurierte Windowmakermenüs nutzen, also mit eigenen Shortcuts und auch manchmal kleinen Abwandlungen bei den Befehlen (z.B. mutt mit mutt -y aufrufen). Trotzdem will ich das update-menus Zeug nutzen können, so daß neue Progs automatisch ins Menü kommen. Ist das irgendwie möglich oder muss ich doch das WM-Menü per Hand pflegen? Du kannst Dir mit WPrefs ein eigenes Applications Menue zusammenbasteln. Unter 'Sample Submenus' gibt es ein 'Debian-Menu' zur Auswahl, das sich als Submenue einbinden lässt. Dieses Submenue wird dann vom Debian Menu System versorgt. Beste Grüsse - Jürgen -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Windowmaker Menüs und update-menus
On Friday 01 November 2002 15:39, [EMAIL PROTECTED] wrote: Da die Tastenkürzel in der menu-Struktur (noch?) nicht unterstützt werden werde ich wohl den hier gemachten Vorschlag umsetzen. Dann kann ich auch ein individuelles Menu pflegen, das mi einen schnelleren Zugriff auf die häufig benutzten Dinge bietet ohne das ich die installierten Apps aus den Augen verliere. Welche Tastenkürzel werden nicht unterstützt? Ich hab mir mit WPrefs die Funktionen zur Steuerung der Fenster, maximieren, auf\zu rollen, das Starten von Anwendungen... auf die Tasten mit dem zerbröselnden Firmenlogo gestellt und das funktioniert hier prächtigst, und das seit der 0.60 von WindowMaker. Tschüss, Thomas -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Windowmaker Menüs und update-menus
Hy, Am 02/11/01@15:39 schrieb [EMAIL PROTECTED]: On 01.Nov 2002 - 14:40:24, Juergen Salk wrote: * Andreas Pakulat [EMAIL PROTECTED] [021101 09:43]: Ich möchte gerne selbst konfigurierte Windowmakermenüs nutzen, also mit eigenen Shortcuts und auch manchmal kleinen Abwandlungen bei den Befehlen (z.B. mutt mit mutt -y aufrufen). Trotzdem will ich das update-menus Zeug nutzen können, so daß neue Progs automatisch ins Menü kommen. Ist das irgendwie möglich oder muss ich doch das WM-Menü per Hand pflegen? Du kannst Dir mit WPrefs ein eigenes Applications Menue zusammenbasteln. Unter 'Sample Submenus' gibt es ein 'Debian-Menu' zur Auswahl, das sich als Submenue einbinden lässt. Dieses Submenue wird dann vom Debian Menu System versorgt. Erstmal ein Danke an alle die geholfen haben. Da die Tastenkürzel in der menu-Struktur (noch?) nicht unterstützt werden werde ich wohl den hier gemachten Vorschlag umsetzen. Bahnhof? Bei mir funktionieren alle Shortcuts, die definiert wurden. Vielleicht probierst Du auch mal wmakerconf (IMHO netter als wprefs). BTW: Wie ist denn diese mail in der Liste gelandet, mutt kannte kein list-reply. -- bye maik -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Windowmaker Menüs und update-menus
Hi, vielleicht kann mir hier ja jemand helfen. Ich möchte gerne selbst konfigurierte Windowmakermenüs nutzen, also mit eigenen Shortcuts und auch manchmal kleinen Abwandlungen bei den Befehlen (z.B. mutt mit mutt -y aufrufen). Trotzdem will ich das update-menus Zeug nutzen können, so daß neue Progs automatisch ins Menü kommen. Ist das irgendwie möglich oder muss ich doch das WM-Menü per Hand pflegen? Andreas -- Galgenbruders Frühlingslied Es lenzet auch auf unserm Spahn, o selige Epoche! Ein Hälmlein will zum Lichte nahn aus einem Astwurmloche. Es schaukelt bald im Winde hin Und schaukelt bald drin her. Mir ist beinah, Ich wäre wer, der ich doch nicht mehr bin . . -- Christian Morgenstern msg23404/pgp0.pgp Description: PGP signature
Re: Windowmaker Menüs und update-menus
Hallo Andreas, On Fri Nov 01, 2002 at 01:48:1036111698AM +0100, Andreas Pakulat wrote: Hi, vielleicht kann mir hier ja jemand helfen. Ich möchte gerne selbst konfigurierte Windowmakermenüs nutzen, also mit eigenen Shortcuts und auch manchmal kleinen Abwandlungen bei den Befehlen (z.B. mutt mit mutt -y aufrufen). Trotzdem will ich das update-menus Zeug nutzen können, so daß neue Progs automatisch ins Menü kommen. Ist das irgendwie möglich oder muss ich doch das WM-Menü per Hand pflegen? schau dir mal menu.posthook und menu.prehook an Andreas Martin -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Gnome + Nautilus + update-menus
--- Michael Mersch [EMAIL PROTECTED] schrieb: ich hatte auch Probleme mit dem doppelten Desktop und habe es auch mit apt-get --purge remove gmc hin bekommen. Mein Hauptproblem (fehlende Panels) hatte dann doch nichts mit der Kombination Nautilus/gmc zu tun. Nach einigem Hin- und Hertesten habe ich dann das komplette $HOME/.gnome von einer Sicherung geholt (nur panel und panel.d zurückholen behob das Problem nicht). Irgendwann hatte ich keine Lust mehr für eine genaue Untersuchung. gmc wollte ich nicht komplett entfernen, weil ich bisher bei beiden Vor- und Nachteile sehe (muss noch bisschen testen). Leider kann man wohl den gmc-Desktop nicht beim Start von Gnome verhindern (diverse Aussagen in ML's - oder hat doch jemand eine Lösung dafür?), sondern nur den von Nautilus und den finde ich bisher einfach angenehmer. -- Gruß Rüdiger __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Gnome + Nautilus + update-menus
Danke, ich hatte auch Probleme mit dem doppelten Desktop und habe es auch mit apt-get --purge remove gmc hin bekommen. bis dann michael On Friday 27 September 2002 08:21, Ruediger Noack wrote: Hallo Marcus --- Marcus Fihlon [EMAIL PROTECTED] schrieb: vielleicht hilft es Dir weiter - ich hatte dieses Verhalten beobachtet, als ich den gmc zum ersten mal startete. Er hatte einen weiteren Desktop angelegt, der sich mit dem von Nautilus überdeckte. [...] Vielleicht ist das ein Ansatzpunkt für Dich. gmc riecht sogar nach Volltreffer, danke. Gruß Rüdiger -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Gnome + Nautilus + update-menus
Hallo Leute, ich habe vor ein paar Tagen (nachdem ich mir mit Gnome und Natilus aus woody im Laufe der Zeit einen angemessenen Desktop zusammengebastelt habe) den Fehler gemacht, erstmals update-menus aufzurufen. Das Ergebnis ist verheerend: Bei Ausführung des Kommandos wurden mir in der Gnome-Session neue Icons auf den Desktop geschaufelt, die teilweise die von Nautilus überlagert haben. Naja... Beim nächsten Start von Gnome sieht man erst einen Desktop mit den neuen Icons, dann einen leeren, auf den dann die Nautilus-Icons *langsam* erscheinen. Die Startzeit von Gnome hat sich dadurch auf ein Vielfaches verlängert. Danach schien aber alles ok zu sein, also habe ich diesen Effekt erst einmal nicht weiter beachtet. Heute war nun das Chaos perfekt. Mehrfacher (Re-)Start von gdm, ohne Änderung. Der Nautilus-Desktop wird zwar noch ordentlich hingezaubert (natürlich saulangsam), aber ich bekomme nicht ein einziges Panel zu sehen. Wie eine Endlosschleife sieht es aber auch nicht aus, denn die CPU idlet so vor sich hin. menu komplett zu deinstallieren ist ja wohl nicht möglich (Abhängigkeiten), deshalb habe ich diverse logfiles untersucht, ohne dass mir etwas besonderes aufgefallen wäre. Also habe ich erst einmal einige Gnome-Unterverzeichnisse in meinem $HOME umbenannt. Damit kann ich Gnome (auch wieder schön schnell) starten. Allerdings ist damit natürlich auch mein angepasster Desktop im Eimer. :-( Kann mir einer sagen, wie ich meinen Desktop wieder auf den gewünschten Stand bringe? Ich habe noch einige Sicherungen der vorhergehenden Tage rumliegen, aber was darf ich nicht zurückspielen, damit der Desktop wieder ordentlich ist? Wenn einer weiß, welche Datei ich wie beackern muss, versuche ich es natürlich auch händisch. Kann man update-menus beibringen, die Finger vom Desktop zu lassen und nur die Menü-Eintrage zu ergänzen? Gruß Rüdiger -- __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Gnome + Nautilus + update-menus
Moin, On Thu, 2002-09-26 at 19:50, Ruediger Noack wrote: [...] Kann man update-menus beibringen, die Finger vom Desktop zu lassen und nur die Menü-Eintrage zu ergänzen? man update-menus man menufile schon gelesen? Gruss -- hgb -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Gnome + Nautilus + update-menus
Hans-Georg Bork wrote: man update-menus man menufile schon gelesen? Hallo Hans-Georg, sagen wir überflogen. Aber ich habe weder einen Ansatz zur Wechselwirkung mit Nautilus gesehen noch wie ich diesen doppelten Desktop wieder rückgängig mache. :-( Die verschiedenen genannten menu-files haben mich auf die Schnelle auch nicht weiter gebracht. Vor allem sehe ich keinen Hinweis darauf, was diese Menues mit dem doppelten Desktop und deren Icons zu tun haben. Liegt vielleicht auch daran, mir jetzt erst einmal einiges wieder so hinzubiegen, dass ich einigermaßen bequem lesen kann. Ohne die Augen in die Hand nehmen zu müssen... Mehrere Terminalfenster mit Scrollbar sind einfach angenehmer als ASCII-Consolen. ;-) Also wenn Du da noch ein Stichwort hättest, wäre ich echt dankbar! Gruß Rüdiger -- __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Gnome + Nautilus + update-menus
Am Don, 2002-09-26 um 19.50 schrieb Ruediger Noack: Bei Ausführung des Kommandos wurden mir in der Gnome-Session neue Icons auf den Desktop geschaufelt, die teilweise die von Nautilus überlagert haben. Naja... Hi, vielleicht hilft es Dir weiter - ich hatte dieses Verhalten beobachtet, als ich den gmc zum ersten mal startete. Er hatte einen weiteren Desktop angelegt, der sich mit dem von Nautilus überdeckte. Da ich mich damals damit noch nicht auskannte, habe ich ihn einfach weggeputzt: root: apt-get --purge remove gmc Vielleicht ist das ein Ansatzpunkt für Dich. hth Marcus -- ICQ: 5958110 PGP/GPG: 0xD77F57CC Registered Linux User: 53312 Homepage: http://www.fihlon.de/ signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Re: Gnome + Nautilus + update-menus
Hallo Marcus --- Marcus Fihlon [EMAIL PROTECTED] schrieb: vielleicht hilft es Dir weiter - ich hatte dieses Verhalten beobachtet, als ich den gmc zum ersten mal startete. Er hatte einen weiteren Desktop angelegt, der sich mit dem von Nautilus überdeckte. [...] Vielleicht ist das ein Ansatzpunkt für Dich. gmc riecht sogar nach Volltreffer, danke. Gruß Rüdiger -- __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
NFS + update-menus will cause problems?
Our application server is running sid (ok, I know this is risky). Some weeks ago we changed the root filesystem to a NFS partition. Now the menu utilities aren't working. I tried to reinstall the menu package; the script hangs in update-menus. These are the last strace lines: stat64(/var/lib/dpkg/info/menu.postinst, {st_mode=S_IFREG|0755, st_size=677, ...}) = 0 fork() = 4673 rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0 wait4(4673, open(/var/lib/dpkg/lock, O_RDWR|O_CREAT|O_TRUNC, 0660) = 3 fcntl64(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0 fcntl64(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 close(3)= 0 getuid32() = 0 open(/var/run/update-menus.pid, O_WRONLY|O_CREAT, 0644) = 3 flock(3, LOCK_EX|LOCK_NB) = 0 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ And the script keep waiting... the file /var/run/update-menus.pid is created without any problems. The manpage for flock(2) says it doesn't work over NFS, maybe there is a relation? Running gdb /usr/bin/update-menus, I get: (gdb) break flock Breakpoint 1 at 0x804a58c (gdb) r Starting program: /usr/bin/update-menus (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...Breakpoint 1 at 0x401475c0 (no debugging symbols found)... Breakpoint 1, 0x401475c0 in flock () from /lib/libc.so.6 (gdb) n Single stepping until exit from function flock, which has no line number information. 0x08068ad3 in strcpy () (gdb) n Single stepping until exit from function strcpy, which has no line number information. Program received signal SIGSEGV, Segmentation fault. 0x4004101a in ostream::operator () from /usr/lib/libstdc++-libc6.2-2.so.3 Can anyone help? I'm lost... Note: Please CC me. -- Leonardo Boiko It is my firm believe that it is a mistake to hold firm beliefs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
users and menus, update-menus
Where/when does gnome get its menus? If I make a change to /etc/menu and run update-menus as root I see the changes immediately in the gnome/debian menus. However if I make a change to ~/.menu and run update-menus as a user I do *not* see that anything has happened. Also, the 'sort' option doesn't seem to work. In the Apps/Programming section all the entries are uppercase except 'elk' so 'elk' shows last in the menu. Adding 'sort=ELK' to the menu entry doesn't change its position. Have I misunderstood how menus are supposed to work? -- Our liberty depends upon the freedom of the press, and that cannot be limited without being lost. -- Thomas Jefferson Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
update-menus for user?
Hi, I only have access to the menus generated by update-menus if I start wmaker as root. When starting wmaker as a normal user no menus have been generated. I have tried running update-menus both as root and as user. What will I have to do to make them available to the normal user? TIA, Morten -- Education is a method whereby one acquires a higher grade of prejudices. (Laurence J. Peter)
Re: update-menus for user?
On Mon, Oct 29, 2001 at 01:40:43PM +0100, Morten Bo Johansen wrote: cut What will I have to do to make them available to the normal user? Did you tried `update-menus -v` to see where it goes wrong? I think the normal user is NOT allowed to read the files needed to generate the menu (/usr/lib/menu, /etc/menu, /etc/menu-methods). With kind regards, Siert
Re: update-menus for user?
Siert [EMAIL PROTECTED] wrote: On Mon, Oct 29, 2001 at 01:40:43PM +0100, Morten Bo Johansen wrote: cut What will I have to do to make them available to the normal user? Did you tried `update-menus -v` to see where it goes wrong? I think the normal user is NOT allowed to read the files needed to generate the menu (/usr/lib/menu, /etc/menu, /etc/menu-methods). Nothing went wrong actually. I just had to remove ~/GNUstep/Defaults/WMRootMenu, then the menus generated by update-menus appeared but this has the downside that now I can't add my own customizations with hotkeys etc. through the wmaker configuration tool, wprefs, so I think I'm gonna dump the Debian menu-system unless somebody has an idea how to overcome this. Regards, Morten -- If work was a good thing the rich would have it all and not let you do it. (Elmore Leonard)
Re: update-menus for user?
On Mon, Oct 29, 2001 at 02:46:50PM +0100, Siert wrote: On Mon, Oct 29, 2001 at 01:40:43PM +0100, Morten Bo Johansen wrote: What will I have to do to make them available to the normal user? Did you tried `update-menus -v` to see where it goes wrong? I think the normal user is NOT allowed to read the files needed to generate the menu (/usr/lib/menu, /etc/menu, /etc/menu-methods). That would be a bug (see policy 11.9, Permissions and owners). -- Colin Watson [EMAIL PROTECTED]
Re: update-menus for user?
On Mon, Oct 29, 2001 at 03:30:21PM +0100, Morten Bo Johansen wrote: Nothing went wrong actually. I just had to remove ~/GNUstep/Defaults/WMRootMenu, then the menus generated by update-menus appeared but this has the downside that now I can't add my own customizations with hotkeys etc. through the wmaker configuration tool, wprefs, so I think I'm gonna dump the Debian menu-system unless somebody has an idea how to overcome this. What's to overcome? Create whatever you like as your WindowMaker menu, include the Debian menu hook within it. That way you have the best of both worlds. I create a menu that has what *I* use most on it easily accessible, and then include the Debian one so that I can get to the rest of the stuff installed on the box. Note also that you could always just do menu overrides and change the Debian menu around however you wanted. See 'man menu' for details. -- Marc Wilson [EMAIL PROTECTED] [EMAIL PROTECTED] pgpMGM2XLIDBb.pgp Description: PGP signature
Re: update-menus for user?
Marc Wilson [EMAIL PROTECTED] wrote: On Mon, Oct 29, 2001 at 03:30:21PM +0100, Morten Bo Johansen wrote: Nothing went wrong actually. I just had to remove ~/GNUstep/Defaults/WMRootMenu, then the menus generated by update-menus appeared but this has the downside that now I can't add my own customizations with hotkeys etc. through the wmaker configuration tool, wprefs, so I think I'm gonna dump the Debian menu-system unless somebody has an idea how to overcome this. What's to overcome? Create whatever you like as your WindowMaker menu, include the Debian menu hook within it. That way you have the best of both worlds. I have tried placing this one /etc/X11/WindowMaker/menu.hook at the beginning of my own customized WMRootMenu, as well as at the end of it and also inside the first brace for good measure - but I get nothing but the menu generated by Debian, i.e. my own menu entries are not there. Is it indeed the right hook and if so where should I place it? I create a menu that has what *I* use most on it easily accessible, and then include the Debian one so that I can get to the rest of the stuff installed on the box. That's what I'd like! ;-) Regards, Morten PS: Sorry for saying that I would dump the debian menus. One should not use such offensive wording about the good work that others are doing, but it was out of moment's frustration. -- Nothing in life is so exhilarating as to be shot at without result. (Winston Churchill)
Re: Agregar menues de kde y gnome (update-menus?)
... y entonces Santiago Pastorino escribió: Alguien sabe como se pueden agregar los menues de gnome y kde a los de wmaker, porque wmaker por defecto me trae solamente los debian-menues y cada vez que quiero usar un programa de kde o gnome tengo que ir a una xterm y ejecutar el comando, que es un poco aburridor. Debes tener una aplicación llamada WPrefs. Desde esta es muy fácil añadir menús existentes o modificar/crear nuevos. Lo que no se es si el formato de los menus de gnome y kde son compatibles para añadirlos directamente. En todo caso, en los debian-menus se añaden taambién los programas de gnome y kde. Tal vez te falte un update-menus para actualizar, aunque esto siempre lo hace debian por mi cada vez que instalo una aplicación. Suerte, y si no edita tu propia entrada de menu con las opciones que más utilices, que es lo más práctico para no perderse en la maraña de aplicaciones que nunca usamos. ;-) -- All mail clients suck. Mutt just sucks less. Best things in life are free! faro at escomposlinux . org Debian GNU/Linux - Usuario Linux #162541 pgpZFsrScezg0.pgp Description: PGP signature
Agregar menues de kde y gnome (update-menus?)
Alguien sabe como se pueden agregar los menues de gnome y kde a los de wmaker, porque wmaker por defecto me trae solamente los debian-menues y cada vez que quiero usar un programa de kde o gnome tengo que ir a una xterm y ejecutar el comando, que es un poco aburridor.
Re: Agregar menues de kde y gnome (update-menus?)
On Wed, 2001-09-19 at 20:10, Santiago Pastorino wrote: Alguien sabe como se pueden agregar los menues de gnome y kde a los de wmaker, porque wmaker por defecto me trae solamente los debian-menues y cada vez que quiero usar un programa de kde o gnome tengo que ir a una xterm y ejecutar el comando, que es un poco aburridor. creo haber visto alguna vez scripts que convertian de WM-GNOME/KDE y al reves, pero no recuerdo. Busca for freshmeat saludos -- Rodrigo Moya [EMAIL PROTECTED] - [EMAIL PROTECTED] http://www.gnome-db.org/ - http://www.ximian.com/
update-menus
Hi, Is there a way to tell update-menus to ignore a whole subtree of the menu? Perhaps by changing translate_menus? translate_menus seems to do some strange things. For example: substitute section-section Apps/Math Apps/Trash endtranslate But the text is never substituted! Update-menus[740]: Reading menuentryfile /usr/lib/menu/bc Update-menus[740]: translate: var[Apps/Math] testing trans rule match for:Apps/Math Update-menus[740]: checking Apps/Programming Apps/Math Update-menus[740]: ADDING: command=/usr/bin/bc hints=Calculators needs=text package=bc section=Apps/Math title=bc - Roger
update-menus
Hi, Is there a way to tell update-menus to ignore a whole subtree of the menu? Perhaps by changing translate_menus? translate_menus seems to do some strange things. For example: substitute section-section Apps/Math Apps/Trash endtranslate But the text is never substituted! Update-menus[740]: Reading menuentryfile /usr/lib/menu/bc Update-menus[740]: translate: var[Apps/Math] testing trans rule match for:Apps/Math Update-menus[740]: checking Apps/Programming Apps/Math Update-menus[740]: ADDING: command=/usr/bin/bc hints=Calculators needs=text package=bc section=Apps/Math title=bc - Roger
Re: enlightenment and update-menus
On Wed, Sep 05, 2001 at 04:54:41PM -0600, Adam McDaniel wrote: I've never touched it. This procedure works fine for me. Great, I'll try that, thanx Bye -- Haim On Thu, Sep 06, 2001 at 12:48:28AM +0300, Haim Ashkenazi wrote: On Wed, Sep 05, 2001 at 09:08:35AM -0600, Adam McDaniel wrote: actually, there's an easier way. On fresh installations of e, whenever the personal menu is missing, I just hit the middle mouse button Maintenance Regenerate Menus,... For some reason the e debs arn't smart enough (?) to do this the first time it is ran, but once you generate the menus everything is made properly under the .enlightenment directory and that without changing the default '/etc/menu-methods/enlightenment' (not even the onlyrunasroot=true setting)? Thanks -- Haim -adam On Wed, Sep 05, 2001 at 01:00:19PM +0300, Haim Ashkenazi wrote: Hi this wasn't the problem, the problem was that update-menu didn't generate personalized menu (in '$HOME/.enlightenment/...'). thanks anyway. if anyone's interested here's how I've solved it: 1. copied /etc/menu-methods/enlightenment to ~/.menu-methods/ 2. commented out 'onlyrunasroot=true;' 3. deleted the '$HOME' from userprefix (after uncommenting it). very strange but it works so... 4. deleted any spaces in the section entry in my $HOME/.menu/* files On Tue, Sep 04, 2001 at 08:30:06PM -0700, Junaedi Kartawijaya wrote: --- Haim Ashkenazi [EMAIL PROTECTED] wrote: I was trying enlightenment this morning and I had some problems with the system menus. it would only give the system menus not my personal menus (include $HOME/.menu/ directory). I played a little with '/etc/menu-methods/enlightenment': commented out the 'onlyrunasroot' setting (what is it anyway, it doesn't appear in any of the other files in this directory), and uncommented 'userprefix=$HOME/.enlightenment/menus_debian/;'. I don't particularly like messing around with system menu. What I usually do is go to /usr/share/enlightenment/config (if it's correct) btw, you can copy it to your $HOME/.enlightenment directory and that's how you'll change only your settings. There's a menu configuration there. As in E, your mouse buttons can produce different menus (one is E preferences), so make changes to one of the menu that produced by one of the mouse buttons when pushed. (hope not confuse you). For example, button 1 produces menu that contain system menu. Button 2 similar but different. So maybe you want to change this one. You can change what mouse button produce what menu also. Happy configuring ;P Junaedi that's it. Bye -- Haim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Adam McDaniel Infrastructure Technology Consultant M-Tech Mercury Information Technology, Inc. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Adam McDaniel Infrastructure Technology Consultant M-Tech Mercury Information Technology, Inc. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: enlightenment and update-menus
--- Haim Ashkenazi [EMAIL PROTECTED] wrote: I was trying enlightenment this morning and I had some problems with the system menus. it would only give the system menus not my personal menus (include $HOME/.menu/ directory). I played a little with '/etc/menu-methods/enlightenment': commented out the 'onlyrunasroot' setting (what is it anyway, it doesn't appear in any of the other files in this directory), and uncommented 'userprefix=$HOME/.enlightenment/menus_debian/;'. I don't particularly like messing around with system menu. What I usually do is go to /usr/share/enlightenment/config (if it's correct) There's a menu configuration there. As in E, your mouse buttons can produce different menus (one is E preferences), so make changes to one of the menu that produced by one of the mouse buttons when pushed. (hope not confuse you). For example, button 1 produces menu that contain system menu. Button 2 similar but different. So maybe you want to change this one. You can change what mouse button produce what menu also. Happy configuring ;P Junaedi __ Do You Yahoo!? Get email alerts NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com
Re: enlightenment and update-menus
Hi this wasn't the problem, the problem was that update-menu didn't generate personalized menu (in '$HOME/.enlightenment/...'). thanks anyway. if anyone's interested here's how I've solved it: 1. copied /etc/menu-methods/enlightenment to ~/.menu-methods/ 2. commented out 'onlyrunasroot=true;' 3. deleted the '$HOME' from userprefix (after uncommenting it). very strange but it works so... 4. deleted any spaces in the section entry in my $HOME/.menu/* files On Tue, Sep 04, 2001 at 08:30:06PM -0700, Junaedi Kartawijaya wrote: --- Haim Ashkenazi [EMAIL PROTECTED] wrote: I was trying enlightenment this morning and I had some problems with the system menus. it would only give the system menus not my personal menus (include $HOME/.menu/ directory). I played a little with '/etc/menu-methods/enlightenment': commented out the 'onlyrunasroot' setting (what is it anyway, it doesn't appear in any of the other files in this directory), and uncommented 'userprefix=$HOME/.enlightenment/menus_debian/;'. I don't particularly like messing around with system menu. What I usually do is go to /usr/share/enlightenment/config (if it's correct) btw, you can copy it to your $HOME/.enlightenment directory and that's how you'll change only your settings. There's a menu configuration there. As in E, your mouse buttons can produce different menus (one is E preferences), so make changes to one of the menu that produced by one of the mouse buttons when pushed. (hope not confuse you). For example, button 1 produces menu that contain system menu. Button 2 similar but different. So maybe you want to change this one. You can change what mouse button produce what menu also. Happy configuring ;P Junaedi that's it. Bye -- Haim
Re: enlightenment and update-menus
actually, there's an easier way. On fresh installations of e, whenever the personal menu is missing, I just hit the middle mouse button Maintenance Regenerate Menus,... For some reason the e debs arn't smart enough (?) to do this the first time it is ran, but once you generate the menus everything is made properly under the .enlightenment directory -adam On Wed, Sep 05, 2001 at 01:00:19PM +0300, Haim Ashkenazi wrote: Hi this wasn't the problem, the problem was that update-menu didn't generate personalized menu (in '$HOME/.enlightenment/...'). thanks anyway. if anyone's interested here's how I've solved it: 1. copied /etc/menu-methods/enlightenment to ~/.menu-methods/ 2. commented out 'onlyrunasroot=true;' 3. deleted the '$HOME' from userprefix (after uncommenting it). very strange but it works so... 4. deleted any spaces in the section entry in my $HOME/.menu/* files On Tue, Sep 04, 2001 at 08:30:06PM -0700, Junaedi Kartawijaya wrote: --- Haim Ashkenazi [EMAIL PROTECTED] wrote: I was trying enlightenment this morning and I had some problems with the system menus. it would only give the system menus not my personal menus (include $HOME/.menu/ directory). I played a little with '/etc/menu-methods/enlightenment': commented out the 'onlyrunasroot' setting (what is it anyway, it doesn't appear in any of the other files in this directory), and uncommented 'userprefix=$HOME/.enlightenment/menus_debian/;'. I don't particularly like messing around with system menu. What I usually do is go to /usr/share/enlightenment/config (if it's correct) btw, you can copy it to your $HOME/.enlightenment directory and that's how you'll change only your settings. There's a menu configuration there. As in E, your mouse buttons can produce different menus (one is E preferences), so make changes to one of the menu that produced by one of the mouse buttons when pushed. (hope not confuse you). For example, button 1 produces menu that contain system menu. Button 2 similar but different. So maybe you want to change this one. You can change what mouse button produce what menu also. Happy configuring ;P Junaedi that's it. Bye -- Haim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Adam McDaniel Infrastructure Technology Consultant M-Tech Mercury Information Technology, Inc.
Re: enlightenment and update-menus
On Wed, Sep 05, 2001 at 09:08:35AM -0600, Adam McDaniel wrote: actually, there's an easier way. On fresh installations of e, whenever the personal menu is missing, I just hit the middle mouse button Maintenance Regenerate Menus,... For some reason the e debs arn't smart enough (?) to do this the first time it is ran, but once you generate the menus everything is made properly under the .enlightenment directory and that without changing the default '/etc/menu-methods/enlightenment' (not even the onlyrunasroot=true setting)? Thanks -- Haim -adam On Wed, Sep 05, 2001 at 01:00:19PM +0300, Haim Ashkenazi wrote: Hi this wasn't the problem, the problem was that update-menu didn't generate personalized menu (in '$HOME/.enlightenment/...'). thanks anyway. if anyone's interested here's how I've solved it: 1. copied /etc/menu-methods/enlightenment to ~/.menu-methods/ 2. commented out 'onlyrunasroot=true;' 3. deleted the '$HOME' from userprefix (after uncommenting it). very strange but it works so... 4. deleted any spaces in the section entry in my $HOME/.menu/* files On Tue, Sep 04, 2001 at 08:30:06PM -0700, Junaedi Kartawijaya wrote: --- Haim Ashkenazi [EMAIL PROTECTED] wrote: I was trying enlightenment this morning and I had some problems with the system menus. it would only give the system menus not my personal menus (include $HOME/.menu/ directory). I played a little with '/etc/menu-methods/enlightenment': commented out the 'onlyrunasroot' setting (what is it anyway, it doesn't appear in any of the other files in this directory), and uncommented 'userprefix=$HOME/.enlightenment/menus_debian/;'. I don't particularly like messing around with system menu. What I usually do is go to /usr/share/enlightenment/config (if it's correct) btw, you can copy it to your $HOME/.enlightenment directory and that's how you'll change only your settings. There's a menu configuration there. As in E, your mouse buttons can produce different menus (one is E preferences), so make changes to one of the menu that produced by one of the mouse buttons when pushed. (hope not confuse you). For example, button 1 produces menu that contain system menu. Button 2 similar but different. So maybe you want to change this one. You can change what mouse button produce what menu also. Happy configuring ;P Junaedi that's it. Bye -- Haim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Adam McDaniel Infrastructure Technology Consultant M-Tech Mercury Information Technology, Inc. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: enlightenment and update-menus
I've never touched it. This procedure works fine for me. On Thu, Sep 06, 2001 at 12:48:28AM +0300, Haim Ashkenazi wrote: On Wed, Sep 05, 2001 at 09:08:35AM -0600, Adam McDaniel wrote: actually, there's an easier way. On fresh installations of e, whenever the personal menu is missing, I just hit the middle mouse button Maintenance Regenerate Menus,... For some reason the e debs arn't smart enough (?) to do this the first time it is ran, but once you generate the menus everything is made properly under the .enlightenment directory and that without changing the default '/etc/menu-methods/enlightenment' (not even the onlyrunasroot=true setting)? Thanks -- Haim -adam On Wed, Sep 05, 2001 at 01:00:19PM +0300, Haim Ashkenazi wrote: Hi this wasn't the problem, the problem was that update-menu didn't generate personalized menu (in '$HOME/.enlightenment/...'). thanks anyway. if anyone's interested here's how I've solved it: 1. copied /etc/menu-methods/enlightenment to ~/.menu-methods/ 2. commented out 'onlyrunasroot=true;' 3. deleted the '$HOME' from userprefix (after uncommenting it). very strange but it works so... 4. deleted any spaces in the section entry in my $HOME/.menu/* files On Tue, Sep 04, 2001 at 08:30:06PM -0700, Junaedi Kartawijaya wrote: --- Haim Ashkenazi [EMAIL PROTECTED] wrote: I was trying enlightenment this morning and I had some problems with the system menus. it would only give the system menus not my personal menus (include $HOME/.menu/ directory). I played a little with '/etc/menu-methods/enlightenment': commented out the 'onlyrunasroot' setting (what is it anyway, it doesn't appear in any of the other files in this directory), and uncommented 'userprefix=$HOME/.enlightenment/menus_debian/;'. I don't particularly like messing around with system menu. What I usually do is go to /usr/share/enlightenment/config (if it's correct) btw, you can copy it to your $HOME/.enlightenment directory and that's how you'll change only your settings. There's a menu configuration there. As in E, your mouse buttons can produce different menus (one is E preferences), so make changes to one of the menu that produced by one of the mouse buttons when pushed. (hope not confuse you). For example, button 1 produces menu that contain system menu. Button 2 similar but different. So maybe you want to change this one. You can change what mouse button produce what menu also. Happy configuring ;P Junaedi that's it. Bye -- Haim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Adam McDaniel Infrastructure Technology Consultant M-Tech Mercury Information Technology, Inc. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Adam McDaniel Infrastructure Technology Consultant M-Tech Mercury Information Technology, Inc.
enlightenment and update-menus
Hi I was trying enlightenment this morning and I had some problems with the system menus. it would only give the system menus not my personal menus (include $HOME/.menu/ directory). I played a little with '/etc/menu-methods/enlightenment': commented out the 'onlyrunasroot' setting (what is it anyway, it doesn't appear in any of the other files in this directory), and uncommented 'userprefix=$HOME/.enlightenment/menus_debian/;'. when trying to run update-menu as a user now, I got this error: cat: /home/haim//.enlightenment/menus_debian/debian_menu_sh: No such file or directory. (which is true but there's no debian_menu_sh file anywhere and still it updates the system menus...). any suggestions? (forgot to mention: I'm running potato) Bye -- Haim
update-menus fails for normal user, but not for root
Howdy all, not too long ago, update-menus stopped working for me suddenly... now i just get a long string similar to the following message: rm: cannot unlink `/usr/share/applnk/Multimedia/Debian': Permission denied ln: creating symbolic link `/usr/share/applnk/Multimedia/Debian/Sound' to `/home/rich/.kde/share/applnk/Debian/Sound': Permission denied it still works when logged in as root, however. I have purged and re-installed menu, but it still does the same thing - any ideas? thanks in advance, rich
Re: update-menus fails for normal user, but not for root
#include hallo.h Rich wrote on Sat Aug 25, 2001 um 12:02:16PM: rm: cannot unlink `/usr/share/applnk/Multimedia/Debian': Permission denied ln: creating symbolic link `/usr/share/applnk/Multimedia/Debian/Sound' to `/home/rich/.kde/share/applnk/Debian/Sound': Permission denied Known bug, should be fixed in the current version in Sid. Gruss/Regards, Eduard. -- My growing impression of C++, object-oriented programming, etc., is that it attempts to allow programmers to conveniently reuse their mistakes. -- Stephen Uitti
Re: update-menus not working? Here is my info.
--- joost witteveen [EMAIL PROTECTED] wrote: At 2001/02/10(6)/10:02, Xucaen wrote: ?package(jed):needs=text \ section=Apps/Editors \ title=jed \ command=/usr/bin/jed [ ... and `dpkg -l jed' shows it's installed OK, still updates-menu ignores jed] A strange story! I just copied your `jed' file to my own /etc/menu, and changed the `?pacakge(jed)' to `?package(local.jed)', and it works OK for me (I don't have jed installed, so I just added the `local.') I just tried this too, but it didn't work. this really is strange! I tried update-menus -d. There is too much output to capture Well, you can try update-menus -d 2 file and you can later read file slowly. (using `less' for example) Ok, I am attaching file file.txt which is my output from update-menus -d (btw, I never heard of 2, I had tried which didn't work, I guess DOS has corrupted me. ;-) , but from what I am able to see it never processes etc/menu/jed or /etc/menu/xjed (but how can that be?) There realy should be a line like: Update-menus[1659]: Reading menuentryfile /etc/menu/jed ok, it is reading my /etc/menu/ files. I can't understand why they are not showing up in my fvwm menus. my menu file /etc/menu/aim does show up. In addition to everything I have tried, I also tried deleting the original menu files from /usr/lib/menu, but even that didn't work. I had thought that maybe the original menu files were messing it up. Oh, maybe you already told me, but what version of menu are you using? (dpkg -l menu) here is my output from dpkg -l menu: whitestar:~# dpkg -l menu Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- ii menu 2.1.5-3provides update-menus functions for some app whitestar:~# Is this saying menu is only half installed?? how could that be? my /etc/menu/aim file is read and does show up in fvwm. I just tried to install menu using apt-get: whitestar:~# apt-get install menu Reading Package Lists... Done Building Dependency Tree... Done Sorry, menu is already the newest version 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. whitestar:~# I am totally confoozled. I am wondering if I can just uninstall menu altogether and simply edit my FVWM menus directly. it seems much more straight-forward and easier. xucaen P.S. is there a better way to cut and paste from xterm into netscape? I hate having to cut and paste into a file, then loading the file in netscape just to use netscape's cut and paste. ugh!! Thanks, joostj __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/Update-menus[672]: Dpkg not locking dpkg status area. Good. Update-menus[672]: Reading installed packages... Update-menus[672]: attempting to open /etc/menu-methods/translate_menus.. Update-menus[672]: Reading translate info in /etc/menu-methods/translate_menus Update-menus[672]: name=substitute Update-menus[672]: match_var=section Update-menus[672]: replace_var=section Update-menus[672]: adding translate rule: [Apps/Games/] match=Apps/Games/, replace=Games/, replace_var=section Update-menus[672]: End reading translate info Update-menus[672]: TRANS: [section] Update-menus[672]: key=Apps/Games/ match=Apps/Games/, replace=Games/, replace_var=section Update-menus[672]: Reading menuentryfiles in /etc/menu/ Update-menus[672]: Reading menuentryfile /etc/menu/aim Update-menus[672]: translate: var[Apps/Net] testing trans rule match for:Apps/Games/ Update-menus[672]: ADDING: command=/usr/local/bin/aim icon=/home/xucaen/pixmaps/aim.xpm needs=X11 package=aim section=Apps/Net title=Aim Update-menus[672]: Reading menuentryfile /etc/menu/mc Update-menus[672]: translate: var[Apps/Tools] testing trans rule match for:Apps/Games/ Update-menus[672]: ADDING: command=/usr/bin/mc -c longtitle=Midnight Commander needs=text package=local.mc section=Apps/Tools title=mc Update-menus[672]: Reading menuentryfile /etc/menu/jed Update-menus[672]: translate: var[Apps/Editors] testing trans rule match for:Apps/Games/ Update-menus[672]: ADDING: command=/usr/bin/jed needs=text package=local.jed section=Apps/Editors title=jed Update-menus[672]: Reading menuentryfile /etc/menu/xjed Update-menus[672]: translate: var[Apps/Editors] testing trans rule match for:Apps/Games/ Update-menus[672]: ADDING: command=/usr/X11R6/bin/xjed needs=x11 package=local.xjed section=Apps/Editors title=xjed Update-menus[672]: Reading menuentryfiles in /usr/lib/menu/ Update-menus[672]: Reading menuentryfile /usr/lib/menu/pppconfig Update-menus[672]: translate: var[Apps
update-menus not working? Here is my info.
Hi. sorry it's taken me so long to do this. It's been very busy here. I am also replying to the list, in case someone else has something to add or is having a similar problem. --- Joost Witteveen [EMAIL PROTECTED] wrote: On Tue, Jan 30, 2001 at 10:12:25AM -0800, Xucaen wrote: is /etc/menu/jed: ?package(jed):needs=text \ section=Apps/Editors \ title=jed \ command=/usr/bin/jed Looks fine to me. Do you hava a `jed' package installed (does `dpkg -l jed' give a line that starts with `i'?). If not, then you should use something like `?package(local.jed):...'. Here is my output from dpkg -l jed and dpkg -l xjed: [EMAIL PROTECTED]:~$ dpkg -l jed Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- ii jed0.99.9-14 Editor for programmers. (textmode version) [EMAIL PROTECTED]:~$ [EMAIL PROTECTED]:~$ dpkg -l xjed Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- ii xjed 0.99.9-14 Editor for programmers. (x11 version) [EMAIL PROTECTED]:~$ Also, I assume the file-permissions are OK (not executable, and readable). Here is my /etc/menu directory: [EMAIL PROTECTED]:/etc/menu$ ls -l total 20 -rw-r--r--1 root root 397 Jan 22 2000 README -rw-r--r--1 root root 127 Jan 25 12:07 aim -rw-r--r--1 root root 97 Jan 30 08:12 jed -rw-r--r--1 root root 116 Jan 30 07:30 mc -rw-r--r--1 root root 103 Jan 30 07:30 xjed [EMAIL PROTECTED]:/etc/menu$ if you notice, I have a menu file called aim, which does indeed work, the other three don't work. when I run update-menus (as root) it doesn't add You can try `update-menus -v' or `update-menus -d', to see more output. (with -d, IIRC, you should see /etc/menu/jed come by). I tried update-menus -d. There is too much output to capture, but from what I am able to see it never processes etc/menu/jed or /etc/menu/xjed (but how can that be?) If that doesn't work, please email me. Maybe it is a bug in the menu package. Thanks, joostje Let me know if this information was helpful. thanks!! xucaen __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
Re: update-menus not working? Here is my info.
At 2001/02/10(6)/10:02, Xucaen wrote: ?package(jed):needs=text \ section=Apps/Editors \ title=jed \ command=/usr/bin/jed [ ... and `dpkg -l jed' shows it's installed OK, still updates-menu ignores jed] A strange story! I just copied your `jed' file to my own /etc/menu, and changed the `?pacakge(jed)' to `?package(local.jed)', and it works OK for me (I don't have jed installed, so I just added the `local.') [EMAIL PROTECTED]:/etc/menu$ ls -l total 20 -rw-r--r--1 root root 397 Jan 22 2000 README -rw-r--r--1 root root 127 Jan 25 12:07 aim -rw-r--r--1 root root 97 Jan 30 08:12 jed -rw-r--r--1 root root 116 Jan 30 07:30 mc -rw-r--r--1 root root 103 Jan 30 07:30 xjed That's fine too. I tried update-menus -d. There is too much output to capture Well, you can try update-menus -d 2 file and you can later read file slowly. (using `less' for example) (and, a UNIX tip: see `man script' if you want a more general solution to `too much output to capture') , but from what I am able to see it never processes etc/menu/jed or /etc/menu/xjed (but how can that be?) There realy should be a line like: Update-menus[1659]: Reading menuentryfile /etc/menu/jed in the `update-menus -d' output. Are you certain even that is missing? Then something strange is going on. Oh, maybe you already told me, but what version of menu are you using? (dpkg -l menu) Thanks, joostje
RE: does anyone here use update-menus?
run update-menus with the -v and maybe -d options. See the man page for more info.
Re: does anyone here use update-menus?
On Tue, Jan 30, 2001 at 10:05:55PM -0800, Xucaen wrote: Hi all.. I've added new menu files to /etc/menu but update-menus doesn't see them. I got this to work with one menu file I added, but I've added three more since and they don't show up. here's one that I am trying to get to work, this is /etc/menu/jed: ?package(jed):needs=text \ section=Apps/Editors \ title=jed \ command=/usr/bin/jed just as a comparison, here is my emacs, which does work, /usr/lib/menu/emacs20: ?package(emacs20):\ needs=text\ section=Apps/Editors\ title=Emacs 20\ command=/usr/bin/emacs20\ icon=/usr/share/emacs/20.7/etc/gnu.xpm the only difference is the icon, but that shouldn't matter.. does anyone else see something that maybe i'm missing? The docs say that anything in /etc/menu will override /usr/lib/menu any ideas? thanks! xucaen i'm just guessing here, but my /etc/menu/foo use: needs=X11\ (rather than, text) ... once again, ...just guessing. bentley taylor potato, icewm/liquid ... //
Re: update-menus not working?
On Tue, Jan 30, 2001 at 10:12:25AM -0800, Xucaen wrote: is /etc/menu/jed: ?package(jed):needs=text \ section=Apps/Editors \ title=jed \ command=/usr/bin/jed Looks fine to me. Do you hava a `jed' package installed (does `dpkg -l jed' give a line that starts with `i'?). If not, then you should use something like `?package(local.jed):...'. Also, I assume the file-permissions are OK (not executable, and readable). when I run update-menus (as root) it doesn't add You can try `update-menus -v' or `update-menus -d', to see more output. (with -d, IIRC, you should see /etc/menu/jed come by). If that doesn't work, please email me. Maybe it is a bug in the menu package. Thanks, joostje
does anyone here use update-menus?
Hi all.. I've added new menu files to /etc/menu but update-menus doesn't see them. I got this to work with one menu file I added, but I've added three more since and they don't show up. here's one that I am trying to get to work, this is /etc/menu/jed: ?package(jed):needs=text \ section=Apps/Editors \ title=jed \ command=/usr/bin/jed just as a comparison, here is my emacs, which does work, /usr/lib/menu/emacs20: ?package(emacs20):\ needs=text\ section=Apps/Editors\ title=Emacs 20\ command=/usr/bin/emacs20\ icon=/usr/share/emacs/20.7/etc/gnu.xpm the only difference is the icon, but that shouldn't matter.. does anyone else see something that maybe i'm missing? The docs say that anything in /etc/menu will override /usr/lib/menu any ideas? thanks! xucaen __ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
Re: update-menus not working?
On Tue, Jan 30, 2001 at 10:12:25AM -0800, Xucaen wrote: Hi all.. I've added new menu files to /etc/menu but update-menus doesn't see them. I got this to work with one menu file I added, but I've added three more since and they don't show up. here's one that I am trying to get to work, this is /etc/menu/jed: ?package(jed):needs=text \ section=Apps/Editors \ title=jed \ command=/usr/bin/jed Could it be that there needs to be a space - ?package(jed):needs=text ^ here? kent -- I'd really love ta wana help ya Flanders but... Homer Simpson
update-menus not working?
Hi all.. I've added new menu files to /etc/menu but update-menus doesn't see them. I got this to work with one menu file I added, but I've added three more since and they don't show up. here's one that I am trying to get to work, this is /etc/menu/jed: ?package(jed):needs=text \ section=Apps/Editors \ title=jed \ command=/usr/bin/jed just as a comparison, here is my emacs, which does work, /usr/lib/menu/emacs20: ?package(emacs20):\ needs=text\ section=Apps/Editors\ title=Emacs 20\ command=/usr/bin/emacs20\ icon=/usr/share/emacs/20.7/etc/gnu.xpm the only difference is the icon, but that shouldn't matter.. when I run update-menus (as root) it doesn't add the jed menu item. the docs say that anything in /etc/menu will override /usr/lib/menu any ideas? thanks! xucaen __ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
RE: update-menus
Yeah, the problem is vtwm doesn't have a #include directive for reading multiple files on startup. Shouldn't be too hard to hack the source to do this. Though I'm wary of doing stuff like this because it's not very portable, in the sense that I would have to compile my own custom vtwm if I change machines. The other option I was thinking about is to run some kind of preprocessor, like cpp or m4, from my .xinitrc for example. -chris On Mon, 20 Nov 2000, Sean 'Shaleh' Perry wrote: On 19-Nov-2000 Krzys Majewski wrote: How can I make update-menus coexist with my custom wm config files? For example, I rolled my own ~/.vtwmrc. Now, I apt-get install xinvaders. I would like a menu entry for xinvaders to appear automagically in my window manager, without losing my other customizations. The current behaviour is that the files ~/.vtwm/system.vtwmrc and ~/.vtwm/menudefs.hook (or probably /etc/X11/vtwm/system.vtwmrc and /etc/X11/vtwm/menudefs.hook if I don't run update-menus manually) are updated, but my ~/.vtwmrc is unmodified. If I symlink ~/.vtwmrc to ~/.vtwm/system.vtwmrc, the whole thing gets overwritten, which is not what I want, since it nukes my customizations. you can run update-menus as a user. This will place a menu file for the wm in your home dir. Then edit your file to use that menu file instead.
Re: dpkg --getselections, apt, and update-menus
Mmm. I'm reading via the web site, as I am not subscribed to this list... makes replying a little harder. Maybe I ought to specifically ask CC:'s to me. getselections is supposed to be current. A package marked deinstall is removed, but not purged. Or at least it is expected to be. On my machine, it definately doesn't work like that. I just tested it. Changed a selection in dselect, but didn't do an Install, the selection change was evident in dpkg --get-selections. I don't think that's what Sean meant. If, in dselect, you use '-' to mark a package for removal - or use 'apt-get remove' - then a package's configuration files won't be removed, and some state about the package will remain in the system. However, if you use '_' in dselect, or 'apt-get --purge remove', then the package's configuration files will be removed too, and /var/lib/dpkg/status will forget that it ever existed. Um, that's kind of not what I meant either. I wasn't replying to the remove/purge thing, rather just stating the fact that --get-selections does not coincide with the current state of the machine. Rather with the future desired state of the machine. a) # dpkg --get-selections|sed -e 's/deinstall$/install/'|dpkg --set-selections # apt-get dselect-upgrade Ah yes... sed. The problem with this is, it will also install the packages that are not installed (that are really currently deinstalled). No, completely uninstalled (purged or never installed) packages don't show up in 'dpkg --get-selections' at all. I was here referring to packages that have been removed, but not purged. They show up in --get-selections, and will be installed by these commands. All I was aiming to do was get the selections to match with the current state of the machine. I think the best way to go about his is sed'ing through the status file. Thanks, Hugo van der Merwe
RE: update-menus
On 19-Nov-2000 Krzys Majewski wrote: How can I make update-menus coexist with my custom wm config files? For example, I rolled my own ~/.vtwmrc. Now, I apt-get install xinvaders. I would like a menu entry for xinvaders to appear automagically in my window manager, without losing my other customizations. The current behaviour is that the files ~/.vtwm/system.vtwmrc and ~/.vtwm/menudefs.hook (or probably /etc/X11/vtwm/system.vtwmrc and /etc/X11/vtwm/menudefs.hook if I don't run update-menus manually) are updated, but my ~/.vtwmrc is unmodified. If I symlink ~/.vtwmrc to ~/.vtwm/system.vtwmrc, the whole thing gets overwritten, which is not what I want, since it nukes my customizations. you can run update-menus as a user. This will place a menu file for the wm in your home dir. Then edit your file to use that menu file instead.
update-menus
How can I make update-menus coexist with my custom wm config files? For example, I rolled my own ~/.vtwmrc. Now, I apt-get install xinvaders. I would like a menu entry for xinvaders to appear automagically in my window manager, without losing my other customizations. The current behaviour is that the files ~/.vtwm/system.vtwmrc and ~/.vtwm/menudefs.hook (or probably /etc/X11/vtwm/system.vtwmrc and /etc/X11/vtwm/menudefs.hook if I don't run update-menus manually) are updated, but my ~/.vtwmrc is unmodified. If I symlink ~/.vtwmrc to ~/.vtwm/system.vtwmrc, the whole thing gets overwritten, which is not what I want, since it nukes my customizations. -chris
Re: dpkg --getselections, apt, and update-menus
[EMAIL PROTECTED] (Colin Watson) writes: I don't think that's what Sean meant. If, in dselect, you use '-' to mark a package for removal - or use 'apt-get remove' - then a package's configuration files won't be removed, and some state about the package will remain in the system. However, if you use '_' in dselect, or 'apt-get --purge remove', then the package's configuration files will be removed too, and /var/lib/dpkg/status will forget that it ever existed. Getting OT: That's not quite correct. The `Package:', `Status:', `Priority:' and `Section:' entries of a purged package remains forever, so the status file grows on and on over the years and keeps even entries of packages which no longer exists. I wonder if this slows down the installation process and if `purging' the status file from those purged package entries would help, but I didn't dare that as yet. Greetings, joachim
Re: dpkg --getselections, apt, and update-menus
Joachim Trinkwitz [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] (Colin Watson) writes: I don't think that's what Sean meant. If, in dselect, you use '-' to mark a package for removal - or use 'apt-get remove' - then a package's configuration files won't be removed, and some state about the package will remain in the system. However, if you use '_' in dselect, or 'apt-get --purge remove', then the package's configuration files will be removed too, and /var/lib/dpkg/status will forget that it ever existed. Getting OT: That's not quite correct. The `Package:', `Status:', `Priority:' and `Section:' entries of a purged package remains forever, so the status file grows on and on over the years and keeps even entries of packages which no longer exists. Oops, yes, I must have got confused about that; sorry for the misinformation. In fact, looking at the source, 'dpkg --get-selections' simply lists the desired state of all packages except those which are already in the not-installed state. I wonder if this slows down the installation process and if `purging' the status file from those purged package entries would help, but I didn't dare that as yet. You could try 'dpkg --forget-old-unavail', which removes entries from the status file which are not installed and no longer available. On my system that only reduced the size of the status file by about 30K, but the last time I ran that command was only a few months ago. I suspect that reading the status file doesn't actually take all that long; the most time-consuming part (though I've never profiled it to find out) is probably reading the lists of files in each package to make sure they aren't accidentally overwritten. Since each package's file list is kept in a separate file in /var/lib/dpkg/info, it takes a lot of system calls to do this, which is slow. Also, /var/lib/dpkg/info is very large on most systems, and the ext2 filesystem searches through such directories linearly (hence slowly). -- Colin Watson [EMAIL PROTECTED]
dpkg --getselections, apt, and update-menus
Lately I've been using console-apt for installations, but I tend to run dselect, just to see what packages are new. As such, everytime I ran it, a couple of package selections changed due to upgrades, depencencies, etc. I didn't care about it, as I don't use dselect anymore. I found it rather odd that many things were no longer on my system's menu system. That's when I studied how update-menu's generates the menu. I noticed it used dpkg --get-selections, which I ran myself, and noticed the hundreds of deinstall selections, and realised what the fault was. I just went through dselect and selected everything that was installed, that fixed up my system. A couple of ways I could have avoided this: - Is there some other easy way to see what packages are new? I would prefer to not use dselect at all, but this is something I really like. I thought of making this a wishlist bug for console-apt, but I don't think it will fit in well with the current (simple/unbloated/fast) design of capt (I like capt being as fast as possible, for use on old computers, so maybe `list-new-packages` should be a seperate program). One needs a backup of the previous package lists to do this. I think dselect did this with /var/lib/dpkg/available[-old], does using only apt/capt update these files, or possibly not the -old one? - Maybe update-menus should rather look at what is currently installed, rather than what the selections for the next install/remove operation will be. It does seem to make more sense to me. - This is maybe the best/most useful solution at this point: some easy way to sync the selections with what is currently installed? i.e. undo all selections. How can one do this? I admit to not have researched this properly: I haven't checked mailing lists for previous discussions, and haven't checked the BTS, so I apologize if this has already been discussed. Thanks, Hugo van der Merwe
RE: dpkg --getselections, apt, and update-menus
- Maybe update-menus should rather look at what is currently installed, rather than what the selections for the next install/remove operation will be. It does seem to make more sense to me. getselections is supposed to be current. A package marked deinstall is removed, but not purged. Or at least it is expected to be. There is no other good way for an outside program to ask dpkg about the state of the system. - This is maybe the best/most useful solution at this point: some easy way to sync the selections with what is currently installed? i.e. undo all selections. How can one do this? a) # dpkg --get-selections|sed -e 's/deinstall$/install/'|dpkg --set-selections # apt-get dselect-upgrade b) run the dselect update as root, but actually browse as a user c) dselect has a 'revert' key binding, but it only works for that run of dselect. So if you exit, there is no help. Personally, I think console apt should have some way of showing new packages. if a package is marked 'new' and you have the sort order set to show new items first, it would emulate dselect fairly well.
Re: dpkg --getselections, apt, and update-menus
getselections is supposed to be current. A package marked deinstall is removed, but not purged. Or at least it is expected to be. On my machine, it definately doesn't work like that. I just tested it. Changed a selection in dselect, but didn't do an Install, the selection change was evident in dpkg --get-selections. There is no other good way for an outside program to ask dpkg about the state of the system. I realise this is the problem. Which is why one might rather look at updating dpkg, rather than update-menus... (Oh, my machine is a very up-to-date woody, well, as up to date as the local mirror, which seems to update a couple of times a week, but not necessarily every day.) a) # dpkg --get-selections|sed -e 's/deinstall$/install/'|dpkg --set-selections # apt-get dselect-upgrade Ah yes... sed. The problem with this is, it will also install the packages that are not installed (that are really currently deinstalled). Maybe one should use sed on /var/lib/dpkg/status...? Replacing lines containing Status: install ok deinstall or something like that with Status: install ok install... It does sort of feel wrong to go this low level though. b) run the dselect update as root, but actually browse as a user A little extra trouble, but probably the best solution thus far. Infact, I just got the idea, and tested it, to simply do: # dselect update ; su hugo -c dselect select I could just make this a listnewpackages script or alias... c) dselect has a 'revert' key binding, but it only works for that run of dselect. So if you exit, there is no help. Yup... a global revert would be usefull. Personally, I think console apt should have some way of showing new packages. if a package is marked 'new' and you have the sort order set to show new items first, it would emulate dselect fairly well. If possible, this way should be avoidable if it makes console-apt any slower, I think. But personally, on my machine, I would also love to see this. Thanks, Hugo van der Merwe
Re: dpkg --getselections, apt, and update-menus
Hugo van der Merwe [EMAIL PROTECTED] wrote: getselections is supposed to be current. A package marked deinstall is removed, but not purged. Or at least it is expected to be. On my machine, it definately doesn't work like that. I just tested it. Changed a selection in dselect, but didn't do an Install, the selection change was evident in dpkg --get-selections. I don't think that's what Sean meant. If, in dselect, you use '-' to mark a package for removal - or use 'apt-get remove' - then a package's configuration files won't be removed, and some state about the package will remain in the system. However, if you use '_' in dselect, or 'apt-get --purge remove', then the package's configuration files will be removed too, and /var/lib/dpkg/status will forget that it ever existed. I almost always purge packages unless I'm just removing them temporarily. a) # dpkg --get-selections|sed -e 's/deinstall$/install/'|dpkg --set-selections # apt-get dselect-upgrade Ah yes... sed. The problem with this is, it will also install the packages that are not installed (that are really currently deinstalled). No, completely uninstalled (purged or never installed) packages don't show up in 'dpkg --get-selections' at all. Cheers, -- Colin Watson [EMAIL PROTECTED]
language support for update-menus?
I like update-menus ALOT, but would like it even better if it had support for diffrent languages, like swedish and so on. Would this be impossible? I know its not much, its just the net graphics and those things that needs to be changed.
Re: update-menus problem with potato
* Sean Johnson said: wow, don't know how I missed that ... thanks. Anytime :))) marek pgpOFpgPBeW6V.pgp Description: PGP signature
update-menus problem with potato
i've just setup a brandnew potato system (builtup from scratch as potato) an try to get x/windowmanagers runnig. i noticed that update-menus doesn't run throug correctly, but i can't find the problem. running on the new system shows: [EMAIL PROTECTED] gerdk more update-menus.log In file /usr/lib/menu/xbase-clients, at (or in the definition that ends at) line 22: [...]x11 package=xbase-clients section=Apps/Tools [...] ^ Missing (or empty) tag: title This tag needs to defined for the menuentry to make sense. Note, BTW, that update-menus re-arranges the order of the tags found in the menu entry files, so that the part above isn't literal /etc/menu-methods//asclassic: Aborting and so on for all other things update-menus should do... testing on an older system runnung already potato shows: [EMAIL PROTECTED] /root update-menus In file /etc/menu-methods//afterstep, at (or in the definition that ends at) l ine 32: startmenu= PopUp \ $section \\n Title title() \\n ^ Unknown function: Title /etc/menu-methods//afterstep: Aborting Update-menus[3535]: Script /etc/menu-methods//afterstep returned error status 1. [EMAIL PROTECTED] /root what to do? gerhard
Re: update-menus problem with potato
A quick fix is to remove (or move) the /usr/lib/menu/xbase-clients file ... as its format is evidently fscked. Sean Gerhard Kroder wrote: i've just setup a brandnew potato system (builtup from scratch as potato) an try to get x/windowmanagers runnig. i noticed that update-menus doesn't run throug correctly, but i can't find the problem. running on the new system shows: [EMAIL PROTECTED] gerdk more update-menus.log In file /usr/lib/menu/xbase-clients, at (or in the definition that ends at) line 22: [...]x11 package=xbase-clients section=Apps/Tools [...] ^ Missing (or empty) tag: title This tag needs to defined for the menuentry to make sense. Note, BTW, that update-menus re-arranges the order of the tags found in the menu entry files, so that the part above isn't literal /etc/menu-methods//asclassic: Aborting and so on for all other things update-menus should do... testing on an older system runnung already potato shows: [EMAIL PROTECTED] /root update-menus In file /etc/menu-methods//afterstep, at (or in the definition that ends at) l ine 32: startmenu= PopUp \ $section \\n Title title() \\n ^ Unknown function: Title /etc/menu-methods//afterstep: Aborting Update-menus[3535]: Script /etc/menu-methods//afterstep returned error status 1. [EMAIL PROTECTED] /root what to do? gerhard -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: update-menus problem with potato
* Sean Johnson said: A quick fix is to remove (or move) the /usr/lib/menu/xbase-clients file ... as its format is evidently fscked. Even quicker is to edit it and add a backslash after every 'hints=something' line. marek pgpAGDbUCzWKV.pgp Description: PGP signature
Re: update-menus problem with potato
wow, don't know how I missed that ... thanks. Sean Marek Habersack wrote: * Sean Johnson said: A quick fix is to remove (or move) the /usr/lib/menu/xbase-clients file ... as its format is evidently fscked. Even quicker is to edit it and add a backslash after every 'hints=something' line. marek Part 1.2Type: application/pgp-signature
update-menus casca (fwd)
Hola a todos! En mi /etc/menu-methods/translate_menus he incluído las siguientes líneas: substitute section-section #Apps/Games/ Juegos/ #any entry whose $section=Apps/Games #will now have a section of Games. #Apps/Aplic/ #Screen/ Pantalla/ Apps/System/ Apps/Sistema/ WorkSpace/ Area_de_trabajo/ endtranslate Como veis, hay solamente dos sustituciones sin comentario. Pues bien, si intento descomentar una tercera sustitución (la que sea), update-menus casca con una violación de segmento (core dumped). Con el strace se ve por ahí una señal 11. He probado con 'unset LC_ALL LC_MESSAGES LANG' pero sigue generándome el core. La versión de menu que tengo es la siguiente: ii menu1.5-17 provides update-menus functions for some app A alguien más le pasa? Hay algún bug relacionado? 'tapronto Iñaki Llona e-Mail: [EMAIL PROTECTED] http://web.jet.es/jillona/ 'Grupo de LinUxuarios de Bizkaia' Clave pública PGP: mandame un mensaje con Subject: Clave publica.
update-menus casca
Hola a todos! En mi /etc/menu-methods/translate_menus he incluído las siguientes líneas: substitute section-section #Apps/Games/ Juegos/ #any entry whose $section=Apps/Games #will now have a section of Games. #Apps/Aplic/ #Screen/ Pantalla/ Apps/System/ Apps/Sistema/ WorkSpace/ Area_de_trabajo/ endtranslate Como veis, hay solamente dos sustituciones sin comentario. Pues bien, si intento descomentar una tercera sustitución (la que sea), update-menus casca con una violación de segmento (core dumped). Con el strace se ve por ahí una señal 11. La versión de menu que tengo es la siguiente: ii menu1.5-17 provides update-menus functions for some app A alguien más le pasa? Hay algún bug relacionado? 'tapronto Iñaki Llona e-Mail: [EMAIL PROTECTED] http://web.jet.es/jillona/ 'Grupo de LinUxuarios de Bizkaia' Clave pública PGP: mandame un mensaje con Subject: Clave publica.
Re: update-menus does not add a mosaic entry to my menu ?
* shaul == shaul [EMAIL PROTECTED] wrote: shaul Can someone tell me why update-menus does not add a mosaic shaul entry to my menu ? If this is not an obvious error, where shaul should I look ? a) does dpkg -l mosaic show the package as installed? b) run update-menus with verbose and debugging for more than enough info. Ciao, Martin [03:55:46 shaul]$ dpkg -l Mosaic Desired=Unknown/Install/Remove/Purge | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ NameVersionDescription +++-===-==- ii Mosaic 2.7b5-8Graphical WWW browser [03:56:33 shaul]$ update-menus -v update-menus run by user -- cannot determine if dpkg is locking /var/lib/dpkg/lock: assuming there is no lock Update-menus: Dpkg not locking dpkg status area. Good. Reading installed packages... Reading translate info in /etc/menu-methods/translate_menus running menu-methods in /home/shaul/.menu-methods/ running menu-methods in /etc/menu-methods/ Udate-menus: Running method:/etc/menu-methods//fvwm2 [03:57:04 shaul]$ update-menus -d 21 | grep -A1 -B1 mosaic Reading menuentryfile /home/shaul/.menu/mosaic Reading menuentryfile /home/shaul/.menu/minicom-modem [03:57:37 shaul]$ Isn't that the expected output ? BTW: Does the above ( update-menus -d 21 ) proves that update-menu debug output is sent to stderr ? Because if it does then isn't stdout a better choice ?
Re: update-menus does not add a mosaic entry to my menu ?
* shaul == shaul [EMAIL PROTECTED] wrote: shaul Can someone tell me why update-menus does not add a mosaic shaul entry to my menu ? If this is not an obvious error, where shaul should I look ? a) does dpkg -l mosaic show the package as installed? b) run update-menus with verbose and debugging for more than enough info. Ciao, Martin
update-menus does not add a mosaic entry to my menu ?
Hello, Can someone tell me why update-menus does not add a mosaic entry to my menu ? If this is not an obvious error, where should I look ? [12:21:20 shaul]$ cat .menu/mosaic ?package(mosaic):needs=X11 section=Apps/Net title=Mosaic \ command=/usr/bin/X11/Mosaic -geometry 627x468 [01:54:34 shaul]$ cat /usr/lib/menu/mosaic ?package(mosaic):needs=x11 section=Apps/Net title=Mosaic \ command=/usr/bin/X11/Mosaic [01:54:43 shaul]$ Thank you.
Re: Update-menus hanging during dselect / apt-get
Joost, After receiving your request to run your test program to try to catch the update-menu's bug, and having the symptom happen again to me here this evening, here's some more information about the update-menu's bug for your reference. Summary: - Had the symptom happen again. - Was able to run the killtest program you wrote. - Had an interesting error output from it when I ran a new copy of RXVT with killtest running in the background in X. - System is 2.0.36 with 2.1.2-0pre2 libc6 - Both libstdc++2.9 2.91.61-1 and libstdc++2.9 2.91.61-2 appear to be loaded at the same time? (Is this odd to you? In dselect, they both show as installed, and the lower one shows that it's up-to-date...) - Menu version 2.1.2-3 - Hardware: AMD K6-2 350/96MB RAM (in case it matters...) Here's the output of dselect/apt when it hung this time. This time I was REMOVING packages: Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: knews inewsinn slrn uudeview 0 packages upgraded, 0 newly installed, 4 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 1375kB will be freed. Do you want to continue? [Y/n] (Reading database ... 47056 files and directories currently installed.) Removing inewsinn ... Removing knews ... Update-menus[12173]: further output (if any) will appear in /tmp/update-menus.12173 update-menus, debugging Bug#42051. ERROR: second kill returns 0!, i=0 See also http://joostje.op.het.net/menu/index.htmlupdate-menus, debugging bug #42051. Parent got SIGUSR2! Please reportSee also http://joostje.op.het.net/menu/index.html Removing slrn ... dpkg - warning: while removing slrn, directory `/etc/news' not empty so not removed. dpkg - warning: while removing slrn, directory `/var/lib/slrn' not empty so not removed. --- HUNG HERE --- HIT CTRL-C HERE --- dpkg: error processing slrn (--remove): subprocess post-removal script killed by signal (Interrupt) /var/lib/dpkg/info/slrn.postinst: /usr/sbin/slrnconfig: No such file or directory dpkg: error while cleaning up: subprocess post-installation script returned error exit status 1 E: Sub-process exited unexpectedly Some errors occurred while unpacking. I'm going to configure the packages that were installed. This may result in duplicate errors or errors caused by missing dependencies. This is OK, only the errors above this message are important. Please fix them and run [I]nstall again Press enter to continue. installation script returned error exit status 100. Press RETURN to continue. - So it continued and started the removal of slrn and then hung during that, not right at the place where your signals should have been received...? - Here's the results of your killtest program: - Normal operation (nothing else running), everything okay. - Loading a copy of RXVT while killtest was running produced: /killtest: error in loading shared libraries: /lib/ld-linux.so.2: undefined symbol: _dl_init_next, version GLIBC_2.0 Don't know what that means, but maybe it helps? The message came out and then the dots continued normally... - Hope this new data helps you! Nate Duehr - [EMAIL PROTECTED]
Re: Update-menus hanging during dselect / apt-get
Laurent Martelli wrote: I saw something about this in debian-devel, and I think there's a bug report now. Yes, I've been in contact with the package maintainer and here was his response to me. Since I had the problem last night, it has not happened again, which I don't really understand, but here's his info about what he's looking for to find it and fix it if someone else runs into the problem. Note: he's not subscribed to Debian-User, so if anyone else runs into this, be sure to try some of the things he's mentioned below... -- Message from Joopje about Update-menus problem below -- (copying to Bug 42051, as it's the same) From [EMAIL PROTECTED] Wed Jul 28 11:10:34 1999 Subject: Update-menus hanging during dselect / apt-get I'm copying the package maintainer on this since I didn't see anything in the bugs database... perhaps I've stumbled on one? Yes, a bug has already been filed. But I'm very glad you didn't notice it (it's not yet on't www.master.org, while it is on master.debian.org), as your bugreport is a *lot* more informative than the one in the BTS! Just one nit: both you and the other bug mailer think about mention what version of menu you are using, or any other packages menu depends on. Could you send me a list of that? (installed versions of menu, libc6, libstdc++2.9-glibc2.1). Thanks. After a fairly painless upgrade to potato on one system here, I've been doing the occasional update/upgrade cycle with either dselect or apt-get and things usually go well. (After I got all the Perl stuff straightened out... but that's why it's called unstable!) Tonight, I seem to be having a recurring problem with Update-menus hanging and stopping everything right after packages are unpacked by dselect/apt. Last weekend I've released a new version of menu, that may well have caused this. (Will be sure once you mention what version you are now using). Anyway, it *is* unstable, isn't it? The output is... Upacking replacement foo ... Update-menus[PID]: further output (if any) will appear in /tmp/update-menus.PID ... where PID is the PID of a copy of update-menus... of course. At this point, the whole process hangs and doesn't continue. Ctrl-C will interrupt, which will kill both update-menus and the script running which sends the signal to apt that all did not go well with the package. Sometimes, running a new dselect/apt session it will get farther along, but then it hangs again later on another package it seems. OK, thanks. So it isn't reproducable. But the fact that it then hangs later on is actually strange. That shouldn't happen. Could you, in the /etc/menu-methods/menu.config file, change the `verbosity=quiet' line to `verbosity=verbose', and then try to get again that situation where update-menus goes through the first time, but not the second (third, whatever)? I'd be interested to see the output of update-menus in that case (both the first one that does fall through, and the one that `hangs') Some other output from a `ps aux | grep update` shows that there are two update-menus running, and I don't know if this is possibly the issue, or if it's normal for update-menus to have children. One is the PID listed in the output of apt, the other is one PID LOWER. What happens if you do # kill -SIGUSR1 `expr PID - 1` in a seperate window, while update-menus is `hanging'? Actually that test is rather irrelevant, cause it will almost certainly cause the process to go on smoothly. But anyway, it is a way to `fix' the problem temporarily. Also, I'd like to see what a second update-menus call does the above case. So, please install two packages with update-menus calls in their postinst, wait for update-menus to hang, type kill -SIGUSR1 `expr PID - 1`, and see what the second postinsts with update-menus in it does. It *should* report nothing at all. Oh, and one more thing: I use apt/dselect, I only use dpkg directly (well during the latst year). Could you check if just typing somthing like # dpkg -i ncftp2_2.4.3-2.deb xwhois_0.3.5-1.deb (or whatever packages you are installing) also has the problem? I've attempted to exit out of the package selection tools and run update-menus by hand as root, and that seems to work fine. No errors output to STDERR or STDOUT, anyway. If you want some more output, you could try update-menus -v and you should see something of a confirmation that everything went OK. And yes, I did the change suggested by Joop in moving his config file for the older afterstep stuff from the example he gives to the live copy... but I'm using WindowMaker anyway, and Afterstep is rarely used, if at all on this machine. Everything you said suggests that update-menus hasn't started looking at even the menu-entry-files, never mind the menu-methods. So, although any type of experimenting cannot be harmful, I think this is not the most likly place to find clues to the bug. Anyone have any other ideas on how to catch what's
Update-menus hanging during dselect / apt-get
After a fairly painless upgrade to potato on one system here, I've been doing the occasional update/upgrade cycle with either dselect or apt-get and things usually go well. (After I got all the Perl stuff straightened out... but that's why it's called unstable!) Tonight, I seem to be having a recurring problem with Update-menus hanging and stopping everything right after packages are unpacked by dselect/apt. The output is... Upacking replacement foo ... Update-menus[PID]: further output (if any) will appear in /tmp/update-menus.PID ... where PID is the PID of a copy of update-menus... of course. At this point, the whole process hangs and doesn't continue. Ctrl-C will interrupt, which will kill both update-menus and the script running which sends the signal to apt that all did not go well with the package. Sometimes, running a new dselect/apt session it will get farther along, but then it hangs again later on another package it seems. Some other output from a `ps aux | grep update` shows that there are two update-menus running, and I don't know if this is possibly the issue, or if it's normal for update-menus to have children. One is the PID listed in the output of apt, the other is one PID LOWER. df -k shows that /tmp is at 0% full, so that rules out the obvious problem. Actually none of the filesystems are anywhere near full. I've attempted to exit out of the package selection tools and run update-menus by hand as root, and that seems to work fine. No errors output to STDERR or STDOUT, anyway. And yes, I did the change suggested by Joop in moving his config file for the older afterstep stuff from the example he gives to the live copy... but I'm using WindowMaker anyway, and Afterstep is rarely used, if at all on this machine. Anyone have any other ideas on how to catch what's happening to it, or is this a known issue being discussed elsewhere, and I don't see it because I only am subscribed to Debian-User? I'm copying the package maintainer on this since I didn't see anything in the bugs database... perhaps I've stumbled on one? -- +---++ | Nate Duehr - [EMAIL PROTECTED]| Support Amateur Radio Linux! | | Private Pilot, Telephony Engineer | Ham Callsign: N0NTZ | | UNIX Hack, Perl Hack, Tech-Freak | Grid Square: DM79 | | http://www.natetech.com | May the Source be with you. | +---++ | HamRadio and Linux mailing lists available for interested parties: | |http://www.natetech.com/mailman/listinfo| ++
Re: Update-menus hanging during dselect / apt-get
Nate == Nate Duehr [EMAIL PROTECTED] writes: Nate Anyone have any other ideas on how to catch what's happening Nate to it, or is this a known issue being discussed elsewhere, and Nate I don't see it because I only am subscribed to Debian-User? I saw something about this in debian-devel, and I think there's a bug report now. -- Laurent Martelli [EMAIL PROTECTED]
update-menus not working? A bug?
I am using Potato and regularly update my system with apt-get. I currently have version 2.1.0-2 of menu and version 0.60.0-4 of Window Maker. Basically my Window Maker menu is not updating as it should, even when I install a new Debian package. If I run update-menus as a user I get a segmentaion fault, and as root it does nothing. Manual changes to /etc/menu have no effect. It used to work fine. Is there a bug? I do apologise if the topic has already been mentioned in the group. -- Phillip Deackes [EMAIL PROTECTED] Debian Linux (Potato)
Re: update-menus not working? A bug?
On Tue, Jul 13, 1999 at 10:30:15AM +0100, Phillip Deackes wrote: Basically my Window Maker menu is not updating as it should, even when I install a new Debian package. If I run update-menus as a user I get a segmentaion fault, and as root it does nothing. Manual changes to /etc/menu have no effect. It used to work fine. Is there a bug? I do apologise if the topic has already been mentioned in the group. You may need to restart windomaker to get it to notice the changes. -- Mark Brown mailto:[EMAIL PROTECTED] (Trying to avoid grumpiness) http://www.tardis.ed.ac.uk/~broonie/ EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/ pgpjzD6tcVd7k.pgp Description: PGP signature
Re: update-menus not working? A bug?
Mark Brown [EMAIL PROTECTED] wrote: = = You may need to restart windomaker to get it to notice the changes. = Thanks, but that doesn't work either. -- Phillip Deackes [EMAIL PROTECTED] Debian Linux (Potato)
Re: update-menus not working? A bug?
I've been noticing the very same thing. I tried deleting a few files, and forcing them to be recreated, and that only partially worked. It seems to be completely ignoring what entries are located in any and all of the locations it searches ... /etc/menu, /usr/lib/menu, ~/.menu, and so on. Sean Phillip Deackes wrote: Mark Brown [EMAIL PROTECTED] wrote: = = You may need to restart windomaker to get it to notice the changes. = Thanks, but that doesn't work either. -- Phillip Deackes [EMAIL PROTECTED] Debian Linux (Potato) -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: update-menus
F == Fabien [EMAIL PROTECTED] writes: F ps : it's a shame that there is not enough explanations in the man F pages. You are always free to submit patches trough the bug system. You will also find all this information in /usr/doc/menu/html/* Ciao, Martin
update-menus
Hello. I have tried to use update-menus for local applications (not from debian package). In man menufile, they say : Each menuentry specifies what pack age it depends on, if that package is not installed, the menuentry will be ignored by update-menus(1). (In a menu entry you can specify pseudo-packages that start with local, update-menus will always use those menuentries). So I have tried it, in /etc/menu (I think it's the good place for it) and also in /usr/lib/menu But, it doesn't work... this is my localmenu : ?package(localnetscape):needs=x11 command=/usr/local/bin/netscape section=Apps /Net title=Netscape Yes, I know : there is a netscape package, but this is not the problem. Thanks for your help ! Fabien SALVI Centre de Ressources Informatiques Centre Universitaire et de Recherche 74166 Archamps http://www.cri.cur-archamps.fr