Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

If I lock the screen using gnome-screensaver (gnome-screensaver-command --lock) and enter the password, a big dot is shown instead of each character. Is it possible to change this behaviour such that no place-holders are shown if I type in my password (like normally in the shell)?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

There's a way to change it but it doesn't completely answer your question.
You can edit /usr/share/gnome-screensaver/lock-dialog-default.ui in your favorite text editor (be sure to make a backup first!). Scroll down and find

<object class="GtkEntry" id="auth-prompt-entry">
        <property name="can_focus">True</property>
        <property name="editable">True</property>
        <property name="visibility">False</property>
        <property name="max_length">0</property>
        <property name="text" translatable="yes"/>
        <property name="has_frame">True</property>
        <property name="activates_default">True</property>
</object>

"visibility" = False causes the password text effect. You can add a new property right below visibility to change the character (replacing the dot).

<property name="invisible-char"> </property>

I tried this on Debian 6 but it should work on any Gnome system. Unfortunately, it needs to show some kind of placeholder so it won't work like a terminal password prompt and show nothing. The closest I got was using a blank space. But you could experiment to see what does work.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.