kupiqu/plasma-active-application

Application name replacements

kupiqu opened this issue · 7 comments

Note as of 2018/11/08: Window titles have been replaced by proper application names (64d7250 see issue #5), which means that your replacements (version 0.1) will likely need an adjustment (if using the master version or the upcoming version 0.2, when released).

These are the application name replacements I find useful to have:

"LibreOffice ", "";
".* Firefox", "Firefox";
".* Chromium", "Chromium";
"Google ", "";
" Player", "";
"Gimp.*", "Gimp";
"MATLAB", "Matlab";

Feel free to add yours.

trmdi commented

"GNU Image Manipulation Program", "Gimp"

trmdi commented

Is there any way to make the search string language-independent? E.g: use the process name as the search string?

And you should use a table instead of just a simple textbox. That would look much better.

Another idea is, users could quickly add a replacement for the current window name by right clicking on the applet > Rename...

Is there any way to make the search string language-independent? E.g: use the process name as the search string?

The way it works now is by deriving application names from window titles (see issue #4 for a brief explanation of that decision). This may change because some applications do not inform at all about the application name in the window title. Once window titles are replaced by truly application names, then I think it will be language-independent.

And you should use a table instead of just a simple textbox. That would look much better.

Sounds like a good idea. If only I knew how... ;)

Another idea is, users could quickly add a replacement for the current window name by right clicking on the applet > Rename...

Another good idea.

Btw, could you please open specific issues for these two ideas?

"Pidgin Internet Messenger", "Pidgin"
"Telegram Desktop", "Telegram"
"QBittorrent", "qBittorrent"

Window titles have been replaced by proper application names (64d7250 see issue #5), which means that these replacements will likely need an adjustment (if using the master version or the upcoming release).

"QBittorrent", "qBittorrent"

This shouldn't be needed anymore