TransWikia.com

Emacs 26.3: Weird frame title issue with KDE

Emacs Asked by Ed Sabol on November 10, 2021

I recently switched to CentOS 7.7, KDE 4.x, and Emacs 26.3. Previously, I was using GNOME and a much older version of Emacs. Before, whenever I opened Emacs, the titlebar of a lone Emacs window was emacs@hostname. Now, it’s emacs@hostname <@hostname>, which seems less than desirable. I can’t figure out if the issue is with Emacs or KDE. Any ideas as to what is wrong here and what I can do to get it back to emacs@hostname?

One Answer

Emacs controls its frametitle via variable frame-title-format.
So you could change the value of that variable temporarily, to get an idea weather or not KDE is manipulating it somehow.

I.e. do M-: (setq frame-title-format "foobar") return and check the new title of the frame.

If the frametitle is now foobar <@hostname>, then KDE changes it and you have to look into KDE settings or KDE applets, plugins or whatever to modify the behavior.

If it is now just foobar, then it is controlled entirely by emacs. Have a read at EmacsWiki: Frame Title to see what options you can use to change it to what you like.

Answered by jue on November 10, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP