Re: Automatically changing the tab name on Konsole?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30Jan2018 21:43, InvalidPath <invalid.path@xxxxxxxxx> wrote:
One last thing.. how do I get it to only display user@host rather than
the full path that I'm currently in on the remote server?
[...]
Hey Garry,  So please don't think I'm ungrateful here.. even if the konsole
tabs get long.. it's still VERY helpful to have teh hostnames in there.
Let me ask, how'd you figure out how what code/syntax was needed to do what
it does to the tab names?  I'm looking at it and I can't figure out what
part does what.. exactly.

Try here?

 https://docs.kde.org/stable5/en/applications/konsole/console-dialogs.html#rename-tab-dialog

Ignoring that for the moment, I use this script:

 https://bitbucket.org/cameron_simpson/css/src/tip/bin/ttylabel

Much like Garry's but expects to be told what to put in the label. So my prompt function calls it with what I want in the label.

The point here is that you might no need to know the % syntax, you can just put your own text there if you update it when needed.

Cheers,
Cameron Simpson <cs@xxxxxxxxxx> (formerly cs@xxxxxxxxxx)
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux