LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to remove "(on localhost.localdomain)" from window titles? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-remove-on-localhost-localdomain-from-window-titles-712590/)

stuntbairn 03-18-2009 03:13 PM

How to remove "(on localhost.localdomain)" from window titles?
 
I'm running on an Acer Aspire One running the Xfce desktop environment v4.4.2.

Each window title is appended with "(on localhost.localdomain)" - how do I remove this?

grizly 03-20-2009 12:38 AM

If you tell us your Linux version, we may be able to help you,

According to the FAQ, you can set a hostname in /etc/hosts and it will display that name instead.

Or, according to: http://foo-projects.org/pipermail/xf...ch/000091.html

Quote:

you can eliminate the hostnames from the titlebar by choosing the "shorttitles" in preferences.

hariarr 03-20-2009 04:53 AM

localhost.localdomain is the hostname of your computer... you can change it (like hari.hackbook.com)
2 do this,

Open terminal

sudo vim /etc/sysconfig/network

then add HOSTNAME=<whatever u want>

and save it.... u can see your new hostname frm d nxt reboot.............

stuntbairn 03-21-2009 12:58 PM

1 Attachment(s)
I'm running Linpus Linux Lite v1.0.15E

the following is the output from uname -a:
Linux localhost.localdomain 2.6.23.9lw #105 SMP PREEMPT Fri Jun 27 18:56:59 EDT 2008 i686 i686 i386 GNU/Linux

To expand on my problem, I don't want to change my network hostname. The issue is the extra text that appears on each of the GUI windows, appended after the normal window title, as shown on the attached screenshots. Perhaps there something in my settings that X thinks that it is running remotely?

grizly 03-22-2009 03:43 AM

I already told you:

Go here: http://foo-projects.org/pipermail/xf...ch/000091.html

They explain that to remove that extra heading from XFCE, you have to change the shorttitles in the preferences. Not having a copy of xfce running on any of my boxes, I couldn't step-by-step you, but it can't be that hard to find surely.

stuntbairn 03-22-2009 03:24 PM

Thanks, but I looked at the link you previously posted. This link relates to a file manager program which runs under xfce and the link notes changes which relate to that program only not the whole system.

I've looked through all the xfce settings available on my system with no obvious way to resolve this issue.

Although posted in the Linux-Newbie forum, I don't need step-by-step instructions, but it does appear to be "quite hard to find"...

grizly 03-23-2009 03:20 AM

Ahh.. apologies chief. ;)


All times are GMT -5. The time now is 03:13 AM.