dark293 / garglk

Automatically exported from code.google.com/p/garglk
Other
0 stars 0 forks source link

Allow specification of a default game-file directory #156

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice if the .garglkrc / garglk.ini configuration files allowed for 
the specification of a default starting directory for the dialog that appears 
when Gargoyle is called without a specific game file to open.

Currently (on Linux) the starting directory is always /home/<user>/, a 
reasonable enough assumption. But if you store all your games elsewhere (as I 
do) it would be nice if Gargoyle could start there and eliminate some needless 
mouse-clicks.

What version of the product are you using? On what operating system?
2010.1, compiled from scratch on Linux.

Original issue reported on code.google.com by ethanher...@gmail.com on 10 Aug 2011 at 8:33

GoogleCodeExporter commented 8 years ago

Original comment by bcressey@gmail.com on 10 Aug 2011 at 9:07

GoogleCodeExporter commented 8 years ago
I agree that this is annoying.

It's actually an issue with Gtk, which until version 3.1.4 did not open its 
file chooser in the most recent directory. It will be a while before I feel 
comfortable relying on this new behavior - most users won't have that version 
for some time.

In the interim, I've patched the code to default to the $GAMES directory, so 
you can set that environment variable to any path you like. You will need a 
line like this in ~/.profile (or equivalent):

export GAMES=$HOME/Games

Original comment by bcressey@gmail.com on 5 Oct 2011 at 10:28