The Navigatrix has been updated. The new website can be found at navigatrix.net.




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: install a new package

Joined: 27 Feb 2014, 09:23
Posts: 13
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!


Top
   
 
 Post subject: Re: install a new package

Joined: 04 Nov 2010, 20:51
Posts: 1062
There's a database of all the files on a machine. This is quickly updated with
Code:
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.
Code:
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.
Code:
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.


Top
   
 
 Post subject: Re: install a new package

Joined: 27 Feb 2014, 09:23
Posts: 13
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!
P.S.
I have already made the choice of "show hidden"


Top
   
 
 Post subject: Re: install a new package

Joined: 04 Nov 2010, 20:51
Posts: 1062
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
Code:
sudo medit /usr/share/applications/GoogleCalendargooglecom.desktop
Paste in the following text if the text editor is empty
Code:
[Desktop Entry]
Name=GoogleCalendar
Type=Application
Icon=unity-webapps-google-calendar
MimeType=
Actions=S0;S1;S2;S3;S4;S5;S6;S7;S8;S9;S10;
Exec=unity-webapps-runner -n 'R29vZ2xlQ2FsZW5kYXI=' -d 'google.com' --store-session-cookies %u
StartupWMClass=GoogleCalendargooglecom
Categories=Application;Utility;Network;
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.


Top
   
 
 Post subject: Re: install a new package

Joined: 27 Feb 2014, 09:23
Posts: 13
Great Moe! It works! Thank you a lot.
Is that possible to add categories on menĂ¹?


Top
   
 
 Post subject: Re: install a new package

Joined: 04 Nov 2010, 20:51
Posts: 1062
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 .
Quote:
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.


Top
   
 
 Post subject: Re: install a new package

Joined: 27 Feb 2014, 09:23
Posts: 13
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

than:

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:


Top
   
 
 Post subject: Re: install a new package

Joined: 04 Nov 2010, 20:51
Posts: 1062
The real question...is 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.
Code:
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.


Top
   
 
 Post subject: Re: install a new package

Joined: 27 Feb 2014, 09:23
Posts: 13
What can I say?
You are a Wizard!!!

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

Dario from Italy


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


Search for:

Credits © 2010 - 2024