You are not logged in.

#1 2017-04-16 07:36:24

nannerpussy
Member
Registered: 2017-02-15
Posts: 96

[SOLVED] Changing the display name of Plasma system tray entries

I'm trying to change the name of an item listed in my System Tray (Entries) tab. This is found by right-clicking the tray and selecting Properties. The items listed in the hidden tab, such as Notifications and Clipboard, those can all be hidden or shown, including the one I'm talking about which is the Octopi Notifications utility. I manually installed the octopi-notification-frameworks packages and dependencies and it seems to work and update fine, I enabled the systemd octopi.service, and other than a random pacman warning during startup, it's totally fine. This is just about renaming its display name in the tray, if possible. I found the systemd entries and targets, and the .conf files, but what I'd expect to find somewhere is a kde/plasma tray conf file or xml file or something that feeds the entry names to the System Tray widget. It's superficial, but I'm wondering if it's possible without renaming the actual octopi-notification binary or doing some kind of weird symlink. I checked both the Arch Wiki and the KDE Plasma Wiki, and Google results invariably lead to now to show/hide or how to add/remove entries, when what I'm trying to do isn't technically possible through the Plasma UI menus.

Also, what ever happened to the built-in Update Notification widget or app that used to be displayed in Plasma? In Arch is it always done manually like this, getting the notifier package from the AUR? I could be mistaken, but I would have swore there was an in-built notifier for pacman updates, but it's been several months since I last paid attention.

Screenshot of exactly what I mean: http://i.imgur.com/Al41kd3.png

Last edited by nannerpussy (2017-05-08 03:50:37)

Offline

#2 2017-04-16 08:19:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Changing the display name of Plasma system tray entries

Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code



Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-04-16 11:12:13

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,313

Re: [SOLVED] Changing the display name of Plasma system tray entries

Renaming the system tray entry is generally not possible without patching the application, but in any case it depends on the specific application, not on Plasma.
The "built-in Update Notification widget" you're talking about is provided by the discover package.

Offline

#4 2017-04-17 04:34:59

nannerpussy
Member
Registered: 2017-02-15
Posts: 96

Re: [SOLVED] Changing the display name of Plasma system tray entries

arojas wrote:

Renaming the system tray entry is generally not possible without patching the application, but in any case it depends on the specific application, not on Plasma.
The "built-in Update Notification widget" you're talking about is provided by the discover package.

Thank you much.

Offline

#5 2017-05-08 03:48:49

nannerpussy
Member
Registered: 2017-02-15
Posts: 96

Re: [SOLVED] Changing the display name of Plasma system tray entries

This is old, but I found a way to do this easily:

Make a symlink from the /usr/bin/octopi-notifier to your .config/autostart directory, doesn't matter what the name of the target is.
Make a new symlink from your new /.config/autostart target to WHATEVER YOU WISH THE NAME TO BE IN THE KDE MENU
Remove the first symlink, leaving a binary symlink in autostart with your chosen pretty name (mine is "Update Notifier")

If you wish to use a space in your symlink like I did with "Update Notifier" you will need to use a backslash-space in between the words, like this:

 ln -s /usr/bin/octopi-notifier ~/.config/autostart/Update\ Notifier 

.

ln -s Update\ Notifier Update\ Notifier

.

All done. If you symlink only once to your autostart from the binary, for whatever reason the system tray will not reflect the name change, but it will still start. I had to symlink the symlink to have the change show up in my tray:

http://imgur.com/JolI0Yn

Edit: my code tag is having a bad day I guess.

Last edited by nannerpussy (2017-05-08 03:53:39)

Offline

Board footer

Powered by FluxBB