[Konsole-devel] [konsole] [Bug 307355] Konsole titlebar now includes the word "Konsole" . Ugh!

Miklos Karacsony mkaracsony81 at gmail.com
Mon Jan 27 11:31:55 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=307355

Miklos Karacsony <mkaracsony81 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mkaracsony81 at gmail.com

--- Comment #11 from Miklos Karacsony <mkaracsony81 at gmail.com> ---
How to remove the " - Konsole" part from the titlebar of Konsole (KDE)?

You have to modify a tiny little word in the source code (setCaption to
setPlainCaption in src/MainWindow.cpp), here is how:

First, download the konsole source files (here:
http://ftp.kde.org/stable/4.12.1/src/konsole-4.12.1.tar.xz), because you have
to modify and compile it for yourself.
Unpack the tarball to a directory of your choice (eg: /source). Open up the
terminal (not konsole, but xterm) and execute: cd /source/konsole-4.12.1
Then execute the following commands one-by-one:

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
sed -i 's at setCaption@setPlainCaption@' ../src/MainWindow.cpp
make

And finally (as the root user, still from xterm) install the package:

make install

Enjoy!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list