x-terminal-emulator being launched with incorrect parameters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTimeLog |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hello and thanks for your nice time tracker.
On my Debian systems I use terminator as my default terminal:
$ ls -la /usr/bin/
lrwxrwxrwx 1 root root 37 May 14 2008 /usr/bin/
$ ls -la /etc/alternativ
lrwxrwxrwx. 1 root root 19 May 28 2009 /etc/alternativ
When I try to generate a report terminator is being run and it quits producing the following error:
$ x-terminal-emulator -e mutt -H /tmp/tmpdk3VGLg
Usage: x-terminal-emulator [options]
x-terminal-
GTimeLog is making assumptions on how x-terminal-emulator handle parameters.
The fix, for terminator, is very simple - just add some quoting:
x-terminal-emulator -e "mutt -H /tmp/tmpdk3VGLg
Thanks
summary: |
- x-terminal-emulator being lunched with incorrect parameters + x-terminal-emulator being launched with incorrect parameters |
Changed in gtimelog: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in gtimelog: | |
status: | Fix Committed → Fix Released |
Fixed in trunk.
Note that the command passed to x-terminal-emulator is stored in ~/.gtimelog/ gtimelogrc and GTimeLog won't change existing config files. The fix I committed makes GTimeLog write the correct version when it creates the config file on first run. You'll have to make the change yourself if you already have a gtimelogrc.