[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ gpsdrive ] Save window positions
Am Sonntag 21 Januar 2007 01:09 schrieb David:
> How hard would it be to save the positions of the windows in the
> gpsdriverc file on exit and reload them on start up or just specify the
> start postions on the command line along with the -x paramater.
>
> The command line thing might be a bit clumsy as we would probably need
> an X,Y position for each of the three windows.
>
> I'm happy to work in this if someone can give me a point in the right
> direction.
>
> Thoughts anyone?
>
> David
>
you could use a tool like wmctrl and start gpsdrive with a script, that moves
the windows to the desired positions after they are created.
adding more command line options to gpsdrive is indeed not a very good idea.
but adding an option in the settings, that says something like "save windows"
and saves the geometry in the config file, would be a nice thing.
guenther
PGP signature