Remove old installs from Linux menu

Deploying to Linux? Get penguinated here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
BranFlayk
Posts: 10
Joined: Sun Dec 01, 2013 4:10 pm

Remove old installs from Linux menu

Post by BranFlayk »

I'm running Livecode on Linux Mint 14, and have updated from 6.1.3 to 6.5 (rc6) and then 6.5.1
Under "Programming" on the Mint menu, I now have a shortcut to each of these three versions. Does anyone know if there is a way to just have the most recent install listed?

I'm not sure if this would be a matter of uninstalling the other two versions (or removing the directory they are in)?
Under my home directory, there are files for .local/share/applications/runrev-livecodecommunity_<version>.desktop and a corresponding .png for each version.

Thanks in advance
capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: Remove old installs from Linux menu

Post by capellan »

Hi BranFlayk,

I use Lubuntu and recently have to uninstall manually
the release candidate, before installing latest stable
version.

More or less, I follow these steps:
http://ubuntuforums.org/showthread.php?t=1882099

To remove an old version of LiveCode, I visited the folder:
/opt/runrev
and deleted the old LiveCode version, but the icon of this version
still appears in the Lubuntu's programming menu.

I visited the folder: /usr/share/applications
and erased the deleted application icon.

Al
wsamples
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 264
Joined: Mon May 18, 2009 4:12 am

Re: Remove old installs from Linux menu

Post by wsamples »

This may depend on which desktop environment you're running, but try right+click on the the icon that displays the application menu. Gnome 2 under Mint 9 shows an "Edit menu" item. Under openSUSE and KDE I get "Edit Applications". These functions allow you to hide or delete items from the application menu.
BranFlayk
Posts: 10
Joined: Sun Dec 01, 2013 4:10 pm

Re: Remove old installs from Linux menu

Post by BranFlayk »

Thanks for your replies.
Right-click on Menu lets me edit it, and under Programming I can then un-select the other versions. I'd been trying to right click on the indiviual items previously and not having much luck.

I will also try the other option to delete the oldest version later.
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Remove old installs from Linux menu

Post by Klaus »

Hi friends,

since this is definitively platform specific, i will move the thread to the appropriate LINUX forum 8)


Best

Klaus
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Remove old installs from Linux menu

Post by FourthWorld »

Klaus, how do moderators move posts to other threads? I've wanted to do that a few times but couldn't find the option for it.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Remove old installs from Linux menu

Post by Klaus »

Hi Richard,

please note the "Quick-mod tools:" and the option menu at the bottomright of this page :D


Best

Klaus
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Remove old installs from Linux menu

Post by FourthWorld »

Klaus wrote:please note the "Quick-mod tools:" and the option menu at the bottomright of this page :D
As we say here in the States: D'oh!

:)

Thanks, Klaus.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10416
Joined: Fri Feb 19, 2010 10:17 am

Re: Remove old installs from Linux menu

Post by richmond62 »

Well . . . if, when you install, you click on the "Me Only" install the Livecode versions install in an invisible folder called ".runrev" inside your 'Home' folder.
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3582
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Remove old installs from Linux menu

Post by mwieder »

Inside the installation folder (if you install for all users, it's under /opt/runrev) there are folders for each installed version.
Within each folder is a hidden file named .setup.x86.
You can uninstall a particular version by bringing up a terminal window, navigating to the directory for the version you want to delete, and typing

./.setup.x86 -uninstall

That will both uninstall the selected version and remove it from the menu.
capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: Remove old installs from Linux menu

Post by capellan »

This works in my setup:
sudo /home/yourlinuxusername/.runrev/components/livecodecommunity-8.1.0-dp-1.x86_64/setup.x86_64
Post Reply