Exec line truncated when 'AndYetItMoves' game is added

Bug #1028114 reported by icb410
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drawers
Fix Released
Critical
icb410

Bug Description

Hey, I am LOVING the drawers! It's somthing I've always wanted on Unity! I do have one problem, though. Is there a way to access the file's properites when inside the Drawer? For example, my icon for AndYetItMoves the game doesn't work when clicked, so I tried putting the actual file that executes the game. The only problem is it only opens up gedit to show the code. Usually I'd go into properites and hit check the "Allow executing file as program" but I can't do that from here. Is there a way to do that now, or are you already planning it for an update?

Revision history for this message
icb410 (ian-berke) wrote :

When the 'AndYetItMoves.desktop' file is added from /usr/share/applications, the last 's' is removed from the exec line.

I suspect it's the function that strips off the %s from Exec line files.

Changed in drawers:
importance: Undecided → Critical
assignee: nobody → icb410 (ian-berke)
icb410 (ian-berke)
Changed in drawers:
status: New → Confirmed
Revision history for this message
icb410 (ian-berke) wrote :

As I suspected... strip just removed the terminal s. would happen with any of the substrings I gave it. Here's a patch that fixes the problem. It will be applied in the next release (today or tomorrow). To apply it yourself in the meantime to version 12.07.5, do the following:

cd /opt/extras.ubuntu.com/drawers/drawers
patch < 'downloadpath'/execline.patch

Changed in drawers:
status: Confirmed → Fix Committed
Revision history for this message
Arturo Bory (arturobory) wrote :

Thank you very much!

Revision history for this message
Arturo Bory (arturobory) wrote :

Hey just tried the patch, and it works perfectly! Thanks!

icb410 (ian-berke)
Changed in drawers:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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