[arch-general] All kdemod3 menu apps in "Lost & Found" menu folder + control panel apps gone - how to get back?

David C. Rankin drankinatty at suddenlinkmail.com
Wed Jul 21 05:54:21 EDT 2010


On 07/19/2010 05:06 PM, Adriano Moura wrote:
> Look arround in ~/.gnome/apps ~/.gnome/mime-info/  and ~/kde/share/
>
> If you find something suspecious, try hiding again.
>
> I really don't know how those DEs handle those files, but you can try.
>
> 2010/7/19 David C. Rankin<drankinatty at suddenlinkmail.com>
>
>>
>> 1 down 1 to go. Any other ideas on the crazy menu errors?
>>
>>
>

Well now I think I've found the motherload of screwed up menu files. Going 
through ~/.config/menus, I have found hundreds of menu 'undo files'. The 
directory is filled with:

04:45 alchemy:~/.config> l menus/
total 2028
drwxr-xr-x  2 david dcr  12288 Jul 16 00:02 .
drwxr-xr-x 39 david dcr   4096 Jul 19 13:11 ..
-rw-r--r--  1 david dcr   6952 Jun 27 09:57 applications-kmenuedit.menu
-rw-r--r--  1 david dcr  19055 Jul 19 00:58 applications.menu
-rw-r--r--  1 david dcr   1363 Nov 29  2009 applications.menu.undo-10
-rw-r--r--  1 root  root 12350 Jul 15 20:47 applications.menu.undo-100
-rw-r--r--  1 root  root 12418 Jul 15 20:48 applications.menu.undo-101
-rw-r--r--  1 root  root 12488 Jul 15 20:48 applications.menu.undo-102
-rw-r--r--  1 root  root 12555 Jul 15 20:49 applications.menu.undo-103
-rw-r--r--  1 root  root 12660 Jul 15 20:50 applications.menu.undo-104
-rw-r--r--  1 root  root 12765 Jul 15 20:50 applications.menu.undo-105
-rw-r--r--  1 root  root 12831 Jul 15 20:50 applications.menu.undo-106
-rw-r--r--  1 root  root 12894 Jul 15 20:50 applications.menu.undo-107
-rw-r--r--  1 root  root 12970 Jul 15 20:50 applications.menu.undo-108
-rw-r--r--  1 root  root 12970 Jul 15 20:55 applications.menu.undo-109
-rw-r--r--  1 david dcr   1443 Nov 29  2009 applications.menu.undo-11
-rw-r--r--  1 root  root 13075 Jul 15 20:56 applications.menu.undo-110
-rw-r--r--  1 root  root 13142 Jul 15 20:56 applications.menu.undo-111
-rw-r--r--  1 root  root 13206 Jul 15 20:56 applications.menu.undo-112
-rw-r--r--  1 root  root 13274 Jul 15 20:56 applications.menu.undo-113
-rw-r--r--  1 root  root 13354 Jul 15 20:56 applications.menu.undo-114
-rw-r--r--  1 root  root 13418 Jul 15 20:57 applications.menu.undo-115
-rw-r--r--  1 root  root 13487 Jul 15 20:57 applications.menu.undo-116
-rw-r--r--  1 root  root 13558 Jul 15 20:57 applications.menu.undo-117
-rw-r--r--  1 root  root 13627 Jul 15 20:58 applications.menu.undo-118
-rw-r--r--  1 root  root 13732 Jul 15 20:58 applications.menu.undo-119
-rw-r--r--  1 david dcr   1509 Nov 29  2009 applications.menu.undo-12
-rw-r--r--  1 root  root 13802 Jul 15 20:58 applications.menu.undo-120
-rw-r--r--  1 root  root 13875 Jul 15 20:59 applications.menu.undo-121
<snip>

	They all look to be from the time I edited the gnome menu and from when the 
menus in kde3 broke. The file content looks like this:

04:49 alchemy:~/.config/menus> cat applications.menu.undo-100
<!DOCTYPE Menu
   PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
   'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'>
<Menu>
         <Move>
                 <Old>Accessories/alacarte-made</Old>
                 <New>alacarte-made-1/alacarte-made</New>
         </Move>
         <Move>
                 <Old>Games</Old>
                 <New>Accessories/Games</New>
         </Move>
         <Move>
                 <Old>Education</Old>
                 <New>Accessories/Education</New>
         </Move>
         <Move>
                 <Old>Archlinux</Old>
                 <New>Accessories/Archlinux</New>
         </Move>
         <Name>Applications</Name>
         <MergeFile type="parent">/etc/xdg/menus/applications.menu</MergeFile>
         <Menu>
[snip]

	So it was gnome that trashed my kde menu. But now -- how do I fix this mess? 
Let me know if I can provide any more information. If you would like the 
complete contents of one of these undo files, you can grab the rest of that one 
here:

(12k)
http://www.3111skyline.com/dl/Archlinux/bugs/applications.menu.undo-100

	I hope there is a tool that can reverse the changes. That would seem to be the 
purpose of the 'undo', but I don't want to lose my new menu items either. How 
should we handle this mess?

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


More information about the arch-general mailing list