From 310cea82d554ea06d04b27adcc058988ef83cc83 Mon Sep 17 00:00:00 2001 From: iovar Date: Fri, 17 Nov 2006 00:29:49 +0000 Subject: default working directory changed to /tmp git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@180 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- gtk-recordmydesktop/src/rmdConfig.py.in | 2 +- recordmydesktop/include/recordmydesktop.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk-recordmydesktop/src/rmdConfig.py.in b/gtk-recordmydesktop/src/rmdConfig.py.in index 2c5d873..8753c59 100644 --- a/gtk-recordmydesktop/src/rmdConfig.py.in +++ b/gtk-recordmydesktop/src/rmdConfig.py.in @@ -24,7 +24,7 @@ default_values=[15, #framerate 1, #drop frames,unused in 0.3,0 on 1 off 75, #shared threshold 1, #quick subsampling,0 on 1 off - os.path.join(os.getenv('HOME')), #working directory + "/tmp", #working directory 1, #on the fly encoding,0 on 1 off 1, #zero compression,0 on 1 off False #overwrite existing files diff --git a/recordmydesktop/include/recordmydesktop.h b/recordmydesktop/include/recordmydesktop.h index 74e30b8..585a3d1 100644 --- a/recordmydesktop/include/recordmydesktop.h +++ b/recordmydesktop/include/recordmydesktop.h @@ -420,8 +420,8 @@ int capture_busy, (args)->v_bitrate=45000;\ (args)->v_quality=63;\ (args)->s_quality=10;\ - (args)->workdir=(char *)malloc(strlen(getenv("HOME"))+1);\ - strcpy((args)->workdir,getenv("HOME"));\ + (args)->workdir=(char *)malloc(5);\ + strcpy((args)->workdir,"/tmp");\ } #define QUERY_DISPLAY_SPECS(display,specstruct){\ -- cgit v1.2.3