Xfce Forum

Sub domains

You are not logged in.

#1 2014-03-29 17:26:50

Registered: 2011-12-11
Posts: 67

Changing Username in "Action Buttons" Name Box


My User Name is much too long when it's displayed in "Sessions Menu" mode in the "Action Buttons" app in the Panel. The only alternative is switching to "Action Buttons" mode which takes up as much space. I wish to use my initials instead. Outside of trying to change my administrative name which I used to set up my Petra account, how can I replace my full name for my initials in the "Action Buttons" name box?

Thanks for any tips!

Jim in NYC
XFCE 4.10  Linux Petra 32bit

Last edited by jimwg (2014-03-29 17:27:17)


#2 2014-03-29 18:18:50

From: Canada
Registered: 2011-06-02
Posts: 4,264

Re: Changing Username in "Action Buttons" Name Box

The Actions plugin will use the comment field from /etc/passwd (if a value exists) otherwise it will display your username. So, to change what is displayed, change the value in the comments field. (If the value in that field is blank, it will use your system username).

To see what value is there now:

cat /etc/passwd

...it is the 5th field.

To change it:

sudo usermod -c "JW" USERNAME

...where "JW" is the string that you want to appear and USERNAME is your username.

After the change, you need to restart xfce4-panel:

xfce4-panel -r

How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks


Board footer

Powered by FluxBB