Screenshot Launch Application fails (patch)

Bug #1363807 reported by Bryan Youse
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Compiz
Triaged
Medium
Unassigned

Bug Description

Using Compiz 0.9.11 with Screenshot plugin

Screenshot saves just fine but won't launch the specified application.

Attached patch makes the plugin work like Compiz 0.8, which was the version I was using up until today. i.e., the specified application is run with the new screenshot image as its first argument.

Revision history for this message
Bryan Youse (bryouse) wrote :
Revision history for this message
Stephen M. Webb (bregma) wrote :

The logic in the code does seem wrong. Queuing bug for further investigation.

Changed in compiz:
milestone: none → 0.9.12.1
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
alienff (alienff) wrote :

Possible workaround is to use incron instead of "Launch Application" feature.
Something like this:

$ cat /etc/incron.d/screenshot
/multimedia/photo/screenshots/ IN_CREATE /opt/bin/send-screenshot-wrapper.sh $@$#

Only problem with this workaround is environment. incron uses its own environment and commands like notify-send and xsel will not work without proper envitonment adjustments.

Stephen M. Webb (bregma)
Changed in compiz:
milestone: 0.9.12.1 → 0.9.12.2
Revision history for this message
Supersaiyan_IV (saiyan-iv) wrote :

Still not working in Compiz 0.9.13.1.

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.