Bug 428 - xlock fails to run
Status:
RESOLVED FIXED
Component:
GUI
Version:
1.6.2
Hardware:
PC Linux
Importance:
P2 normal
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Sep 8 2004 13:42:00 UTC
by:
PJ Goodwin
Modified:
Oct 3 2004 01:36:55 UTC
| Who | When | What | Removed | Added |
|---|---|---|---|---|
| Rob Caelers | Oct 3 2004 01:36:55 UTC | status | NEW | RESOLVED |
| resolution | FIXED |
Description
PJ Goodwin Sep 8 2004 13:42:00 UTC
Using workrave 1.6.2 and xlockmore 5.12. When I click the Lock button it fails
because --display is an invalid parameter... it is -display (only one dash).
Here's the patch of my change to get it to work for me...
--- workrave-1.6.2.orig/frontend/common/src/System.cc 2004-04-03
12:16:16.000000000 -0800
+++ workrave-1.6.2/frontend/common/src/System.cc 2004-09-08
13:18:55.000000000 -0700
@@ -198,7 +198,7 @@
}
else if ((lock = g_find_program_in_path("xlock")))
{
- xlock = g_strdup_printf("%s --display \"%s\"",
+ xlock = g_strdup_printf("%s -display \"%s\"",
lock, display);
}
g_free(lock);