Awn

Home directory installation broken

Bug #651592 reported by Bryan Blunt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Awn
Confirmed
Low
Unassigned

Bug Description

Avant Window Navigator 0.4.1-rewrite-bzr743+201009122042 from PPA

Home dir installation for python applets does not work in the following ways:

- schemas are not picked up from /home/user/.config/awn/schemas
- icons that are in /home/user/.config/awn/applets/xxx/icons are not picked up when using set_icon_name in the applet
- The applet icon is not shown in the Awn settings dialog available applets list - instead the "gears" icon appears

Home dir installed applets can work well enough that it appears that everything is ok, but with minor bugs caused by the above. All or nothing would be better - i.e. either fix the home dir install, or remove it completely.

Revision history for this message
Michal Hruby (mhr3) wrote :

AFAICT schemas for the gconf backend need to be installed somewhere in /etc, therefore it doesn't make much sense to try to fix the other issues for the moment. (please correct me if I'm wrong)

Changed in awn:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

First, to install applets at all from Awn Settings, see bug #553141.
The attached patch should fix the rest.

- The icon path in the .desktop file should be an absolute path, so it's not enough to just copy the .desktop file. Installing it from Awn Settings dialog should convert it now to a relative path (fix in awn-settings/awnClass.py)

- A fix in libawn/awn-config.c searches for a schema-file in the home directory if it isn't found in the package directory. Note the schema file is assumed to be in ~/.config/awn/applets/<applet-name>/ I'm not sure what the appropriate place is. I tested the patch with Awn Radio applet where the schema file is in ~/.config/awn/applets but that seems wrong to me.

- set_icon_name worked for me, I think that's releted to bug #330110.

Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

Oh, in the first point I meant it's now converted from a relative to an absolute path.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.