How to remove Barrier & Synergy app from Ubuntu 20.04

I installed this keyboard/mouse sharing app some time ago and no matter what I did I couldn’t get it to work and no matter what I’ve done, it always loads and randomly prompts me to connect or to find a server or client. I’m running a fully updated version of Kubuntu 20.04 if that matters.
I tried removing it a number of different ways and I get

USER@MACHINE:~$:~$ sudo apt-get purge barrier
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package ‘barrier’ is not installed, so not removed
The following packages were automatically installed and are no longer required:
libappindicator3-1 libllvm10 libllvm9 qtgstreamer-plugins-qt5
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

USER@MACHINE:~$:~$ sudo apt purge barrier
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package ‘barrier’ is not installed, so not removed
The following packages were automatically installed and are no longer required:
libappindicator3-1 libllvm10 libllvm9 qtgstreamer-plugins-qt5
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

USER@MACHINE:~$ sudo apt remove barrier
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package ‘barrier’ is not installed, so not removed
The following packages were automatically installed and are no longer required:
libappindicator3-1 libllvm10 libllvm9 qtgstreamer-plugins-qt5
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I tried a couple other methods yesterday but I forget what they were, but it always seemed like it couldn’t be found. (and it still loads on boot even though it’s not in the Startup/Autostart programs list)

SO I ran this command:
sudo apt list --installed > packages.txt
and then searched the text file for anything related to Barrier or Synergy and nothing comes up - so I’m at a lost as to where they might be hiding. I don’t recall how I installed them, if it was “apt install” or used the snap/snapd function - or if I installed from a .deb file.

Either way this thing is being a real PITA at times and it’s locking up my machine when it randomy pops up on screen telling me it’s looking for a server or a client.

If there is anything I can do to get this software removed, I’d really appreciate some tips on this! Thanks!

Try running:

$ snap list | grep barrier

If it is listed there, you can then run:

$ snap remove barrier

Thanks! That worked great. I don’t understand why normal uninstall methods (apt remove or purge) doesn’t work, but snap remove does…

That’s because barrier was apparently installed from a snap in your system. As a snap, it is managed by the snap command. If you installed it using a graphical utility, I would expect the same utility to support removal too.