You are not logged in.

#1 2021-02-27 11:52:10

TimelyPeach
Member
Registered: 2020-05-09
Posts: 13

[SOLVED] How to re-install a plasma applet?

I would like to reinstall applet-window-buttons because of an issue that can be resolved by this action. However, I don't know how to go about this - please could someone help?

I have plasma-meta 5.21-1. Does this mean I have to reinstall the whole of plasma-meta?

System details:

Operating System: Arch Linux
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.11.1-arch1-1
OS Type: 64-bit
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce RTX 2060/PCIe/SSE2

Last edited by TimelyPeach (2021-02-27 15:35:05)

Offline

#2 2021-02-27 11:58:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,347

Re: [SOLVED] How to re-install a plasma applet?

As this is an applet outside of the shipped packages how did you acquire it originally? If via https://aur.archlinux.org/packages/plas … ttons-git/ you'll have to rebuild this package.

Online

#3 2021-02-27 12:02:33

TimelyPeach
Member
Registered: 2020-05-09
Posts: 13

Re: [SOLVED] How to re-install a plasma applet?

I think it is this one: https://archlinux.org/packages/communit … w-buttons/

However, I can't see this as a separate package when I do yay -Q | grep plasma, and so I think it's probably part of the meta package?

Last edited by TimelyPeach (2021-02-27 12:04:27)

Offline

#4 2021-02-27 12:25:22

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

Re: [SOLVED] How to re-install a plasma applet?

TimelyPeach wrote:

I think it is this one: https://archlinux.org/packages/communit … w-buttons/

However, I can't see this as a separate package when I do yay -Q | grep plasma, and so I think it's probably part of the meta package?

No, that means you didn't install the official package with pacman.

Offline

#5 2021-02-27 13:46:37

TimelyPeach
Member
Registered: 2020-05-09
Posts: 13

Re: [SOLVED] How to re-install a plasma applet?

Ok, well I installed plasma-meta a while ago, and can't seem to figure out how to uninstall this applet. There is no gui option to delete it in the widget menu, so I'm assuming it was installed together with something else. When I try to install plasma5-applets-window-buttons via pacman now, there is an error because the files already exist.

Please could you advise on how I should reinstall this applet?

Offline

#6 2021-02-27 14:26:30

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

Re: [SOLVED] How to re-install a plasma applet?

That depends on how you installed it. From the looks of it it seems you did a make install as root (which you should never do, btw). So try a make uninstall if you still have the build tree around.

there is an error because the files already exist.

Also, please always post *literal* error messages

Last edited by arojas (2021-02-27 14:29:38)

Offline

#7 2021-02-27 14:47:57

TimelyPeach
Member
Registered: 2020-05-09
Posts: 13

Re: [SOLVED] How to re-install a plasma applet?

Just found my notes from installation: I did sudo pacman -S plasma-meta, and I think the windows buttons applet was one of the provided widgets by default.

The Archwiki page for meta packages says "Users cannot remove meta package dependencies without having to uninstall the meta package itself.". Surely I'd be able to see plasma5-applets-window-buttons as a package though? I'm worried that if I pacman -Rns plasma-meta it might break my system...

pacman -Q | grep plasma gives:

kdeplasma-addons 5.21.1-1
plasma-browser-integration 5.21.1-1
plasma-desktop 5.21.1-1
plasma-disks 5.21.1-1
plasma-firewall 5.21.1-1
plasma-framework 5.79.0-1
plasma-integration 5.21.1-1
plasma-meta 5.21-1
plasma-nm 5.21.1-1
plasma-pa 5.21.1-1
plasma-sdk 5.21.1-1
plasma-systemmonitor 5.21.1-1
plasma-thunderbolt 5.21.1-1
plasma-vault 5.21.1-1
plasma-workspace 5.21.1-1
plasma-workspace-wallpapers 5.21.1-1

Offline

#8 2021-02-27 14:51:20

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] How to re-install a plasma applet?

TimelyPeach wrote:

Just found my notes from installation: I did sudo pacman -S plasma-meta, and I think the windows buttons applet was one of the provided widgets by default.

You've been told, multiple times, that this isn't the case, by the person that packages it. Why do you refuse to listen to people that know how these things work?

Offline

#9 2021-02-27 15:02:01

TimelyPeach
Member
Registered: 2020-05-09
Posts: 13

Re: [SOLVED] How to re-install a plasma applet?

arojas wrote:

That depends on how you installed it. From the looks of it it seems you did a make install as root (which you should never do, btw). So try a make uninstall if you still have the build tree around.

there is an error because the files already exist.

Also, please always post *literal* error messages

Here is the error message. I would have thought that this command would over-write the existing installation but I was wrong.

sudo pacman -S plasma5-applets-window-buttons                                                              

resolving dependencies...
looking for conflicting packages...

Packages (2) libappletdecoration-0.8.1-3  plasma5-applets-window-buttons-0.8.1-3

Total Installed Size:  0.35 MiB

:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring                                      [#####################################] 100%
(2/2) checking package integrity                                    [#####################################] 100%
(2/2) loading package files                                         [#####################################] 100%
(2/2) checking for file conflicts                                   [#####################################] 100%
error: failed to commit transaction (conflicting files)
libappletdecoration: /usr/lib/qt/qml/org/kde/appletdecoration/AuroraeButton.qml exists in filesystem
libappletdecoration: /usr/lib/qt/qml/org/kde/appletdecoration/libappletdecorationplugin.so exists in filesystem
libappletdecoration: /usr/lib/qt/qml/org/kde/appletdecoration/qmldir exists in filesystem
plasma5-applets-window-buttons: /usr/share/kservices5/plasma-applet-org.kde.windowbuttons.desktop exists in filesystem
plasma5-applets-window-buttons: /usr/share/metainfo/org.kde.windowbuttons.appdata.xml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/code/tools.js exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/config/config.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/config/main.xml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/LatteWindowsTracker.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/PlasmaTasksModel.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/config/ColorsComboBox.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/config/ConfigGeneral.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/config/DecorationsComboBox.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/config/LockItem.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/config/OrderableListView.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/main.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/metadata.desktop exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/metadata.json exists in filesystem
Errors occurred, no packages were upgraded.

PS @Scimmia: I'm not refusing to listen to @arojas. I know that they are the expert, and I'm trying to figure out what happened. I'm obviously a beginner, but trying my best to understand what I have done and how to fix it. Your message was not helpful or constructive, and it was unnecessarily aggressive. Please refrain from writing such comments in future, thanks.

Offline

#10 2021-02-27 15:08:44

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] How to re-install a plasma applet?

TimelyPeach wrote:

PS @Scimmia: I'm not refusing to listen to @arojas. I know that they are the expert, and I'm trying to figure out what happened. I'm obviously a beginner, but trying my best to understand what I have done and how to fix it. Your message was not helpful or constructive, and it was unnecessarily aggressive. Please refrain from writing such comments in future, thanks.

I'll refrain from posting them if you refrain from ignoring people and insisting on things that you've already been told are wrong.

Offline

#11 2021-02-27 15:10:29

loqs
Member
Registered: 2014-03-06
Posts: 19,024

Re: [SOLVED] How to re-install a plasma applet?

See Pacman#%22Failed_to_commit_transaction_(conflicting_files)%22_error.

libappletdecoration: /usr/lib/qt/qml/org/kde/appletdecoration/AuroraeButton.qml exists in filesystem
libappletdecoration: /usr/lib/qt/qml/org/kde/appletdecoration/libappletdecorationplugin.so exists in filesystem
libappletdecoration: /usr/lib/qt/qml/org/kde/appletdecoration/qmldir exists in filesystem
plasma5-applets-window-buttons: /usr/share/kservices5/plasma-applet-org.kde.windowbuttons.desktop exists in filesystem
plasma5-applets-window-buttons: /usr/share/metainfo/org.kde.windowbuttons.appdata.xml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/code/tools.js exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/config/config.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/config/main.xml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/LatteWindowsTracker.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/PlasmaTasksModel.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/config/ColorsComboBox.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/config/ConfigGeneral.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/config/DecorationsComboBox.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/config/LockItem.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/config/OrderableListView.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/main.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/metadata.desktop exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/metadata.json exists in filesystem

Does not show another package as owning the files and you do not have plasma5-applets-window-buttons so something else installed the files.
Edit:
You can also cross check in /var/log/pacman.log if there is a record of plasma5-applets-window-buttons being installed.

Last edited by loqs (2021-02-27 15:16:29)

Offline

#12 2021-02-27 15:34:29

TimelyPeach
Member
Registered: 2020-05-09
Posts: 13

Re: [SOLVED] How to re-install a plasma applet?

loqs wrote:

See Pacman#%22Failed_to_commit_transaction_(conflicting_files)%22_error.

libappletdecoration: /usr/lib/qt/qml/org/kde/appletdecoration/AuroraeButton.qml exists in filesystem
libappletdecoration: /usr/lib/qt/qml/org/kde/appletdecoration/libappletdecorationplugin.so exists in filesystem
libappletdecoration: /usr/lib/qt/qml/org/kde/appletdecoration/qmldir exists in filesystem
plasma5-applets-window-buttons: /usr/share/kservices5/plasma-applet-org.kde.windowbuttons.desktop exists in filesystem
plasma5-applets-window-buttons: /usr/share/metainfo/org.kde.windowbuttons.appdata.xml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/code/tools.js exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/config/config.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/config/main.xml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/LatteWindowsTracker.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/PlasmaTasksModel.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/config/ColorsComboBox.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/config/ConfigGeneral.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/config/DecorationsComboBox.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/config/LockItem.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/config/OrderableListView.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/main.qml exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/metadata.desktop exists in filesystem
plasma5-applets-window-buttons: /usr/share/plasma/plasmoids/org.kde.windowbuttons/metadata.json exists in filesystem

Does not show another package as owning the files and you do not have plasma5-applets-window-buttons so something else installed the files.
Edit:
You can also cross check in /var/log/pacman.log if there is a record of plasma5-applets-window-buttons being installed.

Thank you, this was helpful advice and fixed my issue.

For the record, I did install from a github clone, but I did not realise until I found the folder for this applet in my home directory. I was then able to uninstall, git pull, and install in the correct manner. After a restart my issue was resolved.

@Scimmia Yes, of course @arojas was correct. I was not insisting on anything, I simply did not understand his comments due to my inexperience (e.g. I did not know what 'make install' meant so I had to look this up etc), so I was just clarifying what I had already done. It is not necessary or constructive for an experienced person like you to make rude comments that contribute nothing to solve the issue at hand. You can make a great impact if you post polite and helpful comments like the majority of others on the forums. I can see that you have previously mostly been helpful in your comments to people seeking advice, so please keep it up, and I'm sorry if today was an off-day for you, or if I caused you offence.

Offline

#13 2021-02-27 15:51:42

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,456

Re: [SOLVED] How to re-install a plasma applet?

@TimelyPeach: this isn't kindergarten: you are expected to fact-check your own posts BEFORE you post them and not waste people's time by saying "I did pacman -S plasma-meta" when clearly you didn't. Also not "remembering" that you used GitHub to build an applet and installed it outside of the official repos has nothing to do with lack of experience. You are using inexperience as an excuse for not owning up to your mistakes, not for the mistakes themselves. Your condescending comments are also way more aggressive towards @Scimmia than what he ever posted towards you so stop telling people to be polite or telling them they had an off-day. What the f'k do you know about other people's lives?

Offline

#14 2021-02-27 16:23:57

TimelyPeach
Member
Registered: 2020-05-09
Posts: 13

Re: [SOLVED] How to re-install a plasma applet?

@twelveeighty thanks for your feedback. Just to clear up some points in your message:

1. I did in fact do pacman -S plasma-meta, but my mistake was not realising that this is nothing to do with the applet I was asking about. Nobody cleared this up for me until the last poster who pointed me in the right direction.
2. Yes I did not remember the way in which I installed the applet - that was a mistake I made. I explicitly owned up to that.
3. I have not been aggressive or condescending at all - I provided empathetic and constructive feedback, whilst also apologising.

You have clearly misunderstood the tone of my messages, but tbh it's hard to judge this on internet comments anyway. This whole thread was just a post asking for help, and I admit that I was ham-fisted and forgot how I set up my system. It boggles me how this has generated so much negativity as a side effect.

Anyway, in future I will make my posts clearer, and avoid making comments that may come across as aggressive or condescending. I will also avoid escalating things like this too because it is a waste of all our times. I'm sorry if I've offended anyone, and I hope you all have a nice weekend.

Offline

#15 2021-02-27 19:18:22

finoderi
Member
Registered: 2020-06-12
Posts: 76

Re: [SOLVED] How to re-install a plasma applet?

This new generation is really something else. The level of entitlement alone...

Offline

#16 2021-02-27 19:31:01

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,642
Website

Re: [SOLVED] How to re-install a plasma applet?

Enough.

https://gitlab.archlinux.org/archlinux/ … no#respect

Since the issue has been solved, I'm going to go ahead and close this now.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB