Summary: | Custom session names should not be overwritten by shell escape codes | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Douglas E. Warner <silfreed-kdebugs> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | opensource |
Priority: | NOR | ||
Version: | 1.6.5 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Patch to give priority to titles explicitly set by the user
Revised patch. Cleaner code and added documentation. |
Description
Douglas E. Warner
2007-01-27 03:36:13 UTC
Created attachment 19442 [details]
Patch to give priority to titles explicitly set by the user
This patch gives priority to titles set explicitly by the user ( by
double-clicking on the tab title and providing a new name ).
Created attachment 19444 [details]
Revised patch. Cleaner code and added documentation.
Revised patch to give priority to user set titles. Cleaned up the code and
added documentation to explain the difference between the two titles which can
be set by a terminal program. Most terminal programs only set the dynamic
title, which is shown alongside the standard session title. Konsole also
allows terminal programs to replace the standard session title.
If I'm reading the patch correctly, it looks like this takes into account three (maybe four) different types of session names, and handles them in this priority: 1) Default session names which are setup by Konsole when a new session is started (stuff like "shell", "shell #2", etc). 2) Dynamically-set session names from the prompt, similar to what I'm doing above. 3) User-set session names through "rename session" (double-clicking on the session tab, ctrl-alt-s, etc). Is it possible to checkout Konsole from KDE SVN and compile it independantly? Or should I just grab KDE 3.5.6 and apply the patch there? I'd like to just compile Konsole to test out the patch, but not completely replace my distro's KDE installation. Thanks! Hello Douglas, This probably will not work, but you can try this binary: http://www.robertknight.me.uk/files/kde/konsole-140700-wish.tar.gz Extract the library to a folder somewhere in your home directory, open a new shell, navigate to that directory and point LD_LIBRARY_PATH there ( eg. "export LD_LIBRARY_PATH=$PWD" ) then run "konsole". Failing that, you can get Konsole from the KDE SVN branch. Install any development packages which your distro provides for KDE (usually kdelibs4-dev or similar) then: mkdir ~/kde3-test cd ~/kde3-test svn co -N svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kdebase cd kdebase svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin svn up konsole make -f Makefile.cvs ./configure --prefix=$PWD/../kde make && make install export LD_LIBRARY_PATH=$PWD/../kde/lib export PATH=$PWD/../kde/bin:$PATH konsole Oh, and if the above steps work, you can then apply the patch, repeat the "make && make install" and test the feature. Is this patch already in KDE4? this functionality seems to have disappeared with KDE4 this functionality have disappeared with KDE4 but the priority to user changed text would be still very good feature in KDE4 once bug #179142 is fixed I'm fairly sure this is fixed. re-open if you can reproduce in a late KDE version |