Invest Applet under 12.04 LTS (Cinnamon Desktop) **Can NOT add to panel**

sktsee sktseer at gmail.com
Fri Jan 4 16:17:23 UTC 2013


On Tue, 01 Jan 2013 06:12:12 -0600, Jay Ridgley wrote:

> Folks,
> 
> HAPPY NEW YEAR!
> 
> Under 10.04 LTS and earlier I have used the Invest Applet (2.3 under
> 10.04), however, even though it is installed (gnome-applets). I have
> been unable to add it to the panel or use it any other way. It simply
> does not show up under the available items under the drop down add to
> panel!
> 
> What do I need to do to get this going???
> 
> Regards,
> Jay

You can run the Invest applet in Cinnamon as a stand-alone program. The 
method is very hackish since it relies upon a debugging tool in order to 
make it work. At minimum, you'll need to make sure the gnome-panel 
package is installed. I'm assuming that you are running Ubuntu with 
Cinnamon installed from PPA and not running on Linux Mint. If you're 
running Mint, then I have no idea whether the following will work at all 
for you.

Type this in a terminal

$ panel-test-applets

Select Invest from the drop down list and don't worry about setting the 
window orientation/size or config directory path. Click "Execute" and you 
should see the Invest applet icon in a tiny window appear in the top left 
corner of the desktop. The panel-test program will need to stay open as 
long as you want the applet to run. Like it said, hackish.

If using Invest in its intended way (hosted in a panel) is more important 
to you than using Cinnamon, you could login into a "Gnome Classic" 
session (provided by installing the gnome-session-fallback package) and 
run it from the panel as you did in 10.04. Just remember to press the 
<ALT>key + <right-click> on a panel when you want to add/remove applets. 
Use <Super><ALT> + <right-click> when you want to edit panel preferences.

With either method, you need check the following bug report link about 
the applet in order to get it working correctly. 

https://bugs.launchpad.net/ubuntu/+source/gnome-applets/+bug/972371

In short, you need to copy the applet.py file attached to the bug report 
to /usr/share/pyshared/invest/applet.py (overwriting the original) and 
then issue the following command:

$ sudo pycompile /usr/lib/python2.7/dist-packages/invest/applet.py

If you don't replace the applet.py python script, you won't be able to 
access the Preferences dialog when you right-click on the applet icon.

HTH,
-- 
sktsee





More information about the ubuntu-users mailing list