Closed GoogleCodeExporter closed 9 years ago
Agreed, it is annoying.
The configuration lives in ~/.config/key-mon/config, deleting that file will
bring you back to the default (in the meantime).
I'll work on testing and fixing the --noswap style parameters.
Original comment by scottaki...@gmail.com
on 20 Sep 2010 at 2:33
Thanks, I hadn't figured out "~/.config/key-mon/config". It's probably
documented. :-)
Yes, deleting works for me.
The sticky opts may or may not be a feature, personally, I don't like it. ;-)
(w3m behaves similarly, other programs usually don't.) But it ills on the fact
that there are some --no switches missing, like --nolarge. Or am I wrong? (I
saw the scale 1.25 in that file, which I had only ever passed once.)
Thanks!
Original comment by mbst...@googlemail.com
on 20 Sep 2010 at 2:54
Originally, there was only command line parameters and they weren't sticky.
Then a patch came it to make them all sticky.
Now I've added an options page where stickiness makes some sense (and the
command line parameters are starting to make less sense).
For now I'm going to leave it the way it is (sticky command line parameters)
but I'm adding a --reset go bring everything back to defaults.
Original comment by scottaki...@gmail.com
on 20 Sep 2010 at 3:04
Sounds perfect so far. Thanks!
Original comment by mbst...@googlemail.com
on 20 Sep 2010 at 3:08
The fix you introduced in 1.4.1 does work around this issue. But the whole
thing is still cludgy. That's why I don't like the sticky feature. :) (That's a
matter of taste of course.)
a) key-mon --reset --theme=oblivion
will not display the oblivion theme
b) key-mon --reset
will reset the settings, but still execute key-mon. So to use (e.g.)
the oblivion theme, I need to
key-mon --reset
Ctrl+C
key-mon --theme=oblivion
c) And even then if I only wanted to change the theme, I have reset
all other config file options.
As I said, it's not a bug, it's just a usability thing. I understand that
mixing config file settings and command line options is tricky.
I would usually understand a command line option as: "Please do this." That's
why it startles you if it doesn't behave that way.
Perhaps a suggestion is:
a) Handle config files for defaults.
b) Prefer command line settings over defaults.
c) Offer a command line option to store the given config (file+cmdline) as
new default.
c1) Need to figure out whether to keep stuff in the file not specified on
the command line; or
c2) Offer a command line option for everything to be able to reverse the
config file setting.
Or something along these lines. And perhaps:
d) Keep the "--reset" option just for ease of use. :-)
Just a suggestion! :-)
Original comment by mbst...@googlemail.com
on 22 Sep 2010 at 2:06
Original comment by scottaki...@gmail.com
on 23 Sep 2010 at 12:55
Original issue reported on code.google.com by
mbst...@googlemail.com
on 20 Sep 2010 at 2:15