- A Voyager's Companion

install a new package
Page 1 of 1

Author:  torototeo [ 14 Nov 2014, 06:29 ]
Post subject:  install a new package

I have installed a new package for two different software from software center but:
- Remmina (it works greatly)
- Google calendar (I can't fint the icon tu run it)
I can see it as installed software but I can't see its icon to run, where can I look for?
Thank you!

Author:  Moe [ 14 Nov 2014, 07:22 ]
Post subject:  Re: install a new package

There's a database of all the files on a machine. This is quickly updated with
sudo updatedb
You can locate entries into this database with locate <whatever>.

A quick and dirty search would locate google. The output would cause my eyes to glaze. It would be too much, but miss anything Google, so figure you're looking for google, calendar, and desktop, as that is the extension for menu entries.
locate -i -A google calendar desktop
The -i flag say ignore upper/lower case. The -A flag looks for all of the following.

See if you get a hit. Change the search parameters.
man locate
for other helpful tips.

Generally this is faster than running a file index/catalog application like recoll, et. al..

Once you locate the menu entry (possibly googlecalanedar.desktop) you investigate why it's not showing up with medit /path/to/the/file.

I had a quick look and there were too many packages as dependancies so I opted not to install and play along.

Author:  torototeo [ 17 Nov 2014, 05:28 ]
Post subject:  Re: install a new package

Thank you Moe,
strange thing is that in the route: /home/nx/usr/share
I can't find the folder Application, Share seems to be empty!
Inside of Share I can see only the folder "Zygrib" the other folder are not visible!
I have already made the choice of "show hidden"

Author:  Moe [ 17 Nov 2014, 06:35 ]
Post subject:  Re: install a new package

It's one of those things that take more work trying to figure out what went wrong than fixing it.

The file you're seeking is /usr/share/applications/GoogleCalendargooglecom.desktop

The fastest way to deal with this is
sudo medit /usr/share/applications/GoogleCalendargooglecom.desktop
Paste in the following text if the text editor is empty
[Desktop Entry]
Exec=unity-webapps-runner -n 'R29vZ2xlQ2FsZW5kYXI=' -d '' --store-session-cookies %u
If it's not empty, this last line was either missing, or misdirecting. Edited as such, Utility places the menu entry in Menu> Accessories. Network places it in Menu> Internet. Having both, places it in both categories. Your choice.

The cryptic 'R29vZ2xlQ2FsZW5kYXI=' may or may not be a unique identifier. I just don't know.

Save and exit.

Good luck.

Author:  torototeo [ 17 Nov 2014, 09:27 ]
Post subject:  Re: install a new package

Great Moe! It works! Thank you a lot.
Is that possible to add categories on menĂ¹?

Author:  Moe [ 24 Nov 2014, 08:20 ]
Post subject:  Re: install a new package

It's possible to do anything.

The 'hand hack' way use to be easy. But lately for me, it has become a House of Mirrors and I don't need to spend more time confused.

The easiest way to alter the Menu structure now, is to download 97KB of 'easy-peasy' found in the software package menulibre .
An advanced menu editor that provides modern features in a clean, easy-to-use
interface. All without GNOME dependencies, so even lightweight systems can
benefit from the sanity that MenuLibre offers. MenuLibre is your one-stop shop
for menus in Linux, whether you use GNOME, LXDE, Xfce, or Unity.
Install it with the Package Manager. It unpacks into about 1MB of 'worth it'. Its menu entry is found Menu> Preferences> Menu Editor. If you don't like it you can change it.

Modify away to your heart's content. Save it to see the work you've done.

Author:  torototeo [ 28 Nov 2014, 06:04 ]
Post subject:  Re: install a new package

After the crash of persistence file I've tryed to reinstal remmina software, but I can't find it, even with "sudo updatedb" (it seem doesn't work!)
Than I've tryed to type:

nx@nx:~$ remmina
The program 'remmina' is currently not installed. You can install it by typing:
sudo apt-get install remmina


sudo apt-get install remmina
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package remmina

I can't understand....before crashing it works greatly... :roll:

Author:  Moe [ 28 Nov 2014, 08:00 ]
Post subject:  Re: install a new package

The real it fun, yet?

I'm not sure what happened, but I'll tell you what it looks like is happening.

It looks like you are back at the beginning, or near beginning.

When you go to re/install a package and he machine responds "I don't know what you are talking about", there are three possibilities.

1) You have made a typo. You have issued an incorrect command for whatever reason. Wrong syntax, wrong spelling, wrong command.

2) There's nothing wrong with command, except the information/action you seek is not available. The file does not exist, etc.

We know the 1 and 2 are correct, what's the third option?

3) the system doesn't know that both 1 and 2 are correct. The list of packages available in the repositories is <<empty>>, or just wrong. A new/fresh persistence file can't find anything because it is 'shipped' with an empty list.
sudo apt-get update
to refresh the list. This is the error I get when both 1 and 2 are correct and the system doesn't know it.

By default, you decide when you want even to consider updating. (There are some exceptions like qtVLM, [Sailboat Router]). Therefore you must provide a current list.

Try updating the list (sudo apt-get update). If that doesn't work. We then looks for the 4th most likely cause.

Author:  torototeo [ 28 Nov 2014, 09:45 ]
Post subject:  Re: install a new package

What can I say?
You are a Wizard!!!

With this command:
sudo apt-get update
I solved everything!!
Thank you Moe.

Dario from Italy

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group