Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change password font #214

Open
hughh opened this issue Jun 24, 2020 · 1 comment
Open

Change password font #214

hughh opened this issue Jun 24, 2020 · 1 comment

Comments

@hughh
Copy link

hughh commented Jun 24, 2020

I am currently running password-gorilla on a Linux Mint 19.3 system. Some characters are difficult to distinguish with the font currently being used, e.g. "rn" vs "m" and "l" vs "I". I would like to have a font that made it easier to tell such combinations apart, such as any of the monospaced fonts. Ideally, I'd like to be able to choose from any installed on my system, but any monospaced font would really do.

@rich123
Copy link
Collaborator

rich123 commented Jun 24, 2020

Are you running a source package (gorilla.tcl) or a kit package (gorilla*.kit)?

If you are running the source, then there is a workaround that you can apply yourself that will switch the password views to a mono-space font.

Open up your gorilla.tcl file in a text editor, and search first for this comment line:

# password should show "*" by default

And change the next line in the file from this:

$widget(password) configure -show "*"

to this:

$widget(password) configure -show "*" -font TkFixedFont

Then next search for this comment line:

# notes box is now a Tk text widget (so that select+copy operates properly)

And insert this next line just before the comment:

$infoframe.passE configure -font TkFixedFont

These two lines will change the password field in both the edit and view windows to use a mono-spaced font (currently this would be the font that Tk chooses from your system as its default font). This will at least give you mono-space display of the passwords when you view them.

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

No branches or pull requests

2 participants