You are not logged in.

#1 2017-06-09 09:26

cpcnw
Member
From: Southport, UK
Registered: 2016-02-28
Posts: 212
Website

[FIXED] Edit off redundant menu item

Hi All,

I removed an item via cli

sudo apt-get --purge autoremove packagename

rather than Synaptics and its left an entry on the menu.

How do I edit it out?

Thanks

Last edited by cpcnw (2017-06-12 10:41)


We cannot solve our problems with the same thinking we used when we created them.

Offline

#2 2017-06-09 09:32

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: [FIXED] Edit off redundant menu item

It could depend on the package removed, but most apps have its menu shortcuts stored in '/usr/share/applications/some_app.desktop' file. So you probably need to remove or edit it. You can just add 'Hidden=true' line into the shortcut to remove related entry from the start menu. However, most applications should remove its menu entries on uninstallation, so it could indicate some kind of glitch.

Offline

#3 2017-06-09 09:36

cpcnw
Member
From: Southport, UK
Registered: 2016-02-28
Posts: 212
Website

Re: [FIXED] Edit off redundant menu item

'/usr/share/applications/some_app.desktop' <- checked its not in there?


We cannot solve our problems with the same thinking we used when we created them.

Offline

#4 2017-06-09 09:39

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: [FIXED] Edit off redundant menu item

We would need to know what package, to be able to check it.

Offline

#5 2017-06-09 10:34

cpcnw
Member
From: Southport, UK
Registered: 2016-02-28
Posts: 212
Website

Re: [FIXED] Edit off redundant menu item

it was fotoxx installed via Synaptic - left a stale entry on graphics menu


We cannot solve our problems with the same thinking we used when we created them.

Offline

#6 2017-06-09 22:13

crosscourt
Member
From: Wash DC
Registered: 2017-05-07
Posts: 1,872
Website

Re: [FIXED] Edit off redundant menu item

Have you rebooted?  Many times that removes it  but typically using complete removal doesnt leave a stale entry with Synaptic.

Last edited by crosscourt (2017-06-10 00:22)


Q4OS Aquarius 5.x KDE   Dell Inspiron 3670  i5 8600, GTX 1660 Super, 32gb, 2tb NVME SSD

Offline

#7 2017-06-09 23:41

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: [FIXED] Edit off redundant menu item

You need to uninstall 'fotoxx' and 'ufraw' packages to get rid of menu entries of complete fotoxx dependencies. Just run in terminal:
$ sudo apt-get autoremove fotoxx ufraw
and report back.

Alternatively remove both, fotoxx ufraw, packages using Synaptic.

Offline

#8 2017-06-12 07:01

cpcnw
Member
From: Southport, UK
Registered: 2016-02-28
Posts: 212
Website

Re: [FIXED] Edit off redundant menu item

sysadmin@q4os-desktop:~$ sudo apt-get autoremove fotoxx ufraw
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'fotoxx' is not installed, so not removed
Package 'ufraw' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sysadmin@q4os-desktop:~$

Anyway to edit it out of the menu manually?

Its just an entry with no icon


We cannot solve our problems with the same thinking we used when we created them.

Offline

#9 2017-06-12 07:25

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,333

Re: [FIXED] Edit off redundant menu item

You may find a .desktop file in ~./local/share/applications

It is possible to edit the menus directly but I really really wouldn't go there (here be dragons!)

What may work is to force the menus to re-read by switching between menu styles. That can be done by just right click on the menu button and switch to a different style. For example I always run Classic so would switch to Kickoff.

This can also be done via Control Centre>Desktop>Panels>Menus

Offline

#10 2017-06-12 07:25

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: [FIXED] Edit off redundant menu item

Well, first we need to know, what the shortcut actually is. Navigate to the redundant entry thru the start menu -> right click on it -> select 'Add item to desktop'. Hover mouse over the desktop shortcut created and paste its name here.

Offline

#11 2017-06-12 09:13

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: [FIXED] Edit off redundant menu item

As well as the Dev's advice I would do a search for anything fotoxx related, I use mlocate for this (not installed by default) first run

sudo updatedb

after installing mlocate if necessary, and then run

locate fotoxx

to see what files are on the system with fotoxx in their name. This will give you the .deb packages in /var/cache/apt/archives along with any.desktop files and also anything else (including your own data files if they have "fotoxx" somewhere in their name). If it lists a .desktop file then use the location given to either delete or edit (add hidden-true to the end of that file).

Last edited by Dai_trying (2017-06-12 09:14)

Offline

#12 2017-06-12 10:40

cpcnw
Member
From: Southport, UK
Registered: 2016-02-28
Posts: 212
Website

Re: [FIXED] Edit off redundant menu item

bin wrote:

You may find a .desktop file in ~./local/share/applications

Correct!

Removed from here and now sorted.

Thanks all smile


We cannot solve our problems with the same thinking we used when we created them.

Offline

Board footer

Powered by FluxBB