Support for alternate slideshow path

Bug #526483 reported by Lionel Le Folgoc
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ubiquity

Hi,

In ubiquity/frontend/gtk_ui.py, slideshow location is hardcoded (slideshow_dir = '/usr/share/ubiquity-slideshow'). But ubiquity-slideshow-xubuntu ships its slideshows in /usr/share/ubiquity-slideshow-xubuntu (I thought it was better if it didn't conflict with ubiquity-slideshow-ubuntu, hence the different path). Unfortunately, this prevents our slideshows from being displayed.

I can move xubuntu's slideshows to /usr/share/ubiquity-slideshow and a conflicts: ubiquity-slideshow-ubuntu if this is the preferred solution.
Or, since ubiquity-slideshow-ubuntu/xubuntu aren't shipped together on the livecd, ubiquity could check for /usr/share/ubiquity-slideshow-xubuntu if /usr/share/ubiquity-slideshow doesn't exist.
Another solution (proposed by didrocks), is to use GDMSESSION (e.g., if it is defined, build the directory with something like slideshow_dir = '/usr/share/ubiquity-slideshow' + '-' + os.getenv('GDMSESSION')), but I don't know if it will behave correctly in "install only" mode, when the desktop environnement isn't started).

Any thought?
Thanks.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Should be fixed in ubiquity-slideshow-ubuntu 15, just uploaded, and apparently, option1 was chosen.

Changed in ubiquity (Ubuntu):
status: New → Fix Released
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.