Hari's Corner
Humour, comics, tech, law, software, reviews, essays, articles and HOWTOs intermingled with random philosophy now and thenSimple HOWTO: set "working directory" with the Gnome launcher
Filed under:
Tutorials and HOWTOs by
Hari
Posted on Wed, Jul 22, 2009 at 22:40 IST (last updated: Wed, Jul 22, 2009 @ 22:52 IST)
gnome-terminal
to wrap around the executable program/script. Seems a very obvious ploy on hindsight, but it took me a while to hit upon the solution.
Here's the necessary command for the launcher window:
gnome-terminal --working-directory /path/to/working/dir/ -e /path/to/executableJust replace the
/path/to/working/dir/
and /peth/to/executable
with your own and you're set. Hope you find it useful.
Comments closed
The blog owner has closed further commenting on this entry.
12 comment(s)
Comment by MrCorey (visitor) on Thu, Jul 23, 2009 @ 09:56 IST #
Comment by Hari (blog owner) on Thu, Jul 23, 2009 @ 10:56 IST #
So, this is an upgrade from 7.04 and its still kicking. Its like using Debian Testing with fewer binary incompatibilities.
That doesn't mean that I'm not going to continue playing around. I've still got VirtualBox to play with until I can get another hard drive or another computer. I would still like a laptop to put something interesting on but that's not feasible right now.
Comment by MrCorey (visitor) on Thu, Jul 23, 2009 @ 18:18 IST #
I think with KDE, they could have built on top of the 3.5.x series or at least kept an active 3.5.x branch alive. I hope somebody takes up that as a project and maintains it.
Comment by Hari (blog owner) on Thu, Jul 23, 2009 @ 19:11 IST #
Comment by Teknomancer (visitor) on Sun, Aug 9, 2009 @ 17:03 IST #
gnome-terminal --working-directory /path/to/working/dir/ -e /path/to/executable
commd
Comment by yash (visitor) on Sat, Sep 12, 2009 @ 17:34 IST #
Comment by William (visitor) on Fri, Oct 1, 2010 @ 08:47 IST #
Comment by Hari (blog owner) on Fri, Oct 1, 2010 @ 12:39 IST #
bash -c "cd /path/to/working/dir && ./executable"
Comment by mech (visitor) on Thu, Nov 11, 2010 @ 18:45 IST #
Comment by Hari (blog owner) on Thu, Nov 11, 2010 @ 20:37 IST #
Comment by John Bartholomew (visitor) on Mon, Sep 19, 2011 @ 20:05 IST #
Comment by Hari (blog owner) on Mon, Sep 19, 2011 @ 22:06 IST #