Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Per-user configuration #54

Closed
ralphbean opened this issue Jan 16, 2012 · 3 comments
Closed

Per-user configuration #54

ralphbean opened this issue Jan 16, 2012 · 3 comments

Comments

@ralphbean
Copy link
Contributor

There are a number of features requested that it would be nice to keep in an 'rc' config file. This need not be called ~/.shellshaperc but could be in a smarter, gnome-shell-type location (like ~/.config/$SOME_LOCATION).

Issues like #20, #43 and #48 could benefit from this.

Issuing export SHELLSHAPE_DEBUG=all is a little cumbersome when you want to run shellshape by default. This could be changed to be a config file value along with a filename to which logs should be sent.

@timbertson
Copy link
Owner

fair point, those are good examples of features that may be configurable.

The gnome way would be to have those stored in gsettings (which is where the configurable keybindings are going for the next version of gnome-shell), although that makes it hard to keep personal config in a git repo (which I do).

So I'm not sure whether this should be a file or a bunch of gsettings, but I'm leaning towards gsettings unless they get particularly complex. That makes them far easier to expose in the UI, and watch for changes without restarting the shell.

As for the debug level, I'm not sure why you would really want that as a setting. You should only need to run with logging short-term when developing or when something breaks, and if you want to do it permanently you can easily use a bash alias or script, or just type

SHELLSHAPE_DEBUG=all shellshape --replace

when launching.

@timbertson
Copy link
Owner

Preferences is now (on master) implemented the gnome-shell way, with a prefs.js UI backed by gsettings. As an aside it'd be nice if you could store dconf setting overrides as an rcfile somewhere (maybe you can?), but that's well outside shellshape's scope ;).

@ralphbean
Copy link
Contributor Author

Awesome. Thanks @gfxmonk!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants