Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
prey
session_functions.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File session_functions.patch of Package prey
--- modules/session/platform/linux/functions 2010-08-30 19:00:54.000000000 -0500 +++ modules/session/platform/linux/functions.orig 2010-09-08 16:15:11.000000000 -0500 @@ -7,10 +7,14 @@ get_screenshot() { + local xwd=`which xwd` local scrot=`which scrot` # scrot is lighter local import=`which import` # imagemagick - if [ -n "$scrot" ]; then + if [ -n "$xwd" ]; then + /usr/bin/xwd -display :0 -root | convert - $session__screenshot + + elif [ -n "$scrot" ]; then run_as_current_user "$scrot $session__screenshot"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor