Hamish wrote:
Hello everyone I know not really a suse question, but just in case someone on this list knows: I use konsole with tabs quite a lot to connect to a few of our servers - konsole makes this quite quick and easy with tabs, but there is one more thing I would like: Tabs named according to hostname. I can rename them manually, but this is not ideal - What I would like is for the tab to get renamed as soon as I connect to the new host (like the window title, it changes to the prompt - this would be ok as well). Does anyone know if this is possible? Thanks, H
Just create a file containing something like : [Desktop Entry] Encoding=UTF-8 Cwd= Type=KonsoleApplication Icon=openterm Name=ssh'd to work Comment=ssh'd to work Exec=ssh -X me@www.work.com for each connection you normally make called something.desktop in the ~home/.kde/share/apps/konsole directory. Then restart konsole. The session name will appear in you konsole sessions tab and when you select the session it will execute your command in another tab named whatever you named it in the above file. Mark