Registered Member
|
Hi,
I'm trying to change the task manager (at the bottom of the screen) to display the application names instead of file names - so this Window would be called "Konqueror" instead of "Post a new topic - KDE Community For...". Any ideas? Cheers, Aston |
Administrator
|
The name used in the Task Manager is not specified by the Task Manager widget, but by the applications themselves. Unfortunately this means it cannot be done at this time, unless the applications whose behaviour you wish to change supports this.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Cheers for the response. Are you sure though? The weird thing is that ALL applications list *filename* - *application name*, you'd think if that were application specific that some wouldn't have the space hyphen space application name.
|
Administrator
|
This is a window title standard applied by KMainWindow, which is part of kdeui in kdelibs. It defines the standard as <desired text> - <application name>.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Administrator
|
Shouldn't it be possible to change this in the source though, by transforming the string?
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
KDE Developer
|
It would, but this is an unwritten rule (that is, I don't know whether it is written somewhere) - format the title as [document - app name] Firefox, Chromium, OpenOffice.org, gVim, Gnome applications and *many* more programs do this. From my experience, only a few programs have a different format (and I can't remember which at the moment). |
Registered Member
|
I can certainly think of examples where it would make sense to have it the other way around - Okular, for one, tends to show in the taskbar as "MS Word" or "untitled", with some other useless information before cutting off the word "Okular". To me, the fact that Konqueror is MDI (tab) based means that the file currently focussed is irrelevant to the Window, but I can see what you're saying and that it doesn't look like there's any universal way of changing it.
|
KDE Developer
|
The reason it shows 'MS Word' is that it is the defined PDF title. It sucks, but the PDF converters for Word files are to blame for that one.
I get your point, but unless the protocol in X (or wherever it is) is changed to support setting application_display_name and document_display_name separately the only way this could be solved is by dirty hacks that don't work in some cases to libtaskmanager (search for the last dash and swap). Changing it in KMainWindow would break consistency, so IMO, it is out of the question. |
Administrator
|
It's written somewhere on Techbase if I remember correctly, I know I've read it somewhere at least. My point was that if it could be implemented in a third-party task manager plasmoid, e.g. Smooth Tasks. I don't know if there's a big demand for this feature, however, or if the OP knows how to change it in the source himself.
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar