Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: How to remove compton (Read 1662 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to remove compton

Today I installed Artix with XFCE and for whaterver reason comes with compton.

I also put DWM and removed lightdm (runit) and gkt-greeter and made a .xinitrc file and put picom in it to start but id does not start.

log:
Code: [Select]
[1] 4269
[ 05.01.2022 03:31:52.181 open_config_file_at WARN ] This compositor has been renamed to "picom", the old config file paths is deprecated. Please replace the "compton"s in the path with "picom"
[ 05.01.2022 03:31:52.181 parse_config_libconfig WARN ] Option `no-dock-shadow` is deprecated, and will be removed. Please use the wintype option `shadow` of `dock` instead.
[ 05.01.2022 03:31:52.181 parse_config_libconfig WARN ] Option `no-dnd-shadow` is deprecated, and will be removed. Please use the wintype option `shadow` of `dnd` instead.
[ 05.01.2022 03:31:52.181 parse_config_libconfig WARN ] Option `menu-opacity` is deprecated, and will be removed.Please use the wintype option `opacity` of `popup_menu` and `dropdown_menu` instead.
[ 05.01.2022 03:31:52.181 parse_config_libconfig WARN ] vsync option will take a boolean from now on. "none" is interpreted as "false" for compatibility, but this will stop working soon
[03:31]-ht-~:$ [ 05.01.2022 03:31:52.182 parse_config_libconfig WARN ] glx-swap-method has been deprecated since v6, your setting "undefined" should be replaced by `use-damage = true`.
[ 05.01.2022 03:31:52.182 parse_config_libconfig WARN ] "clear-shadow" is removed as an option, and is always enabled now. Consider removing it from your config file
[ 05.01.2022 03:31:52.182 parse_config_libconfig ERROR ] "paint-on-overlay" has been removed as an option, and the feature is enabled whenever possible
[ 05.01.2022 03:31:52.182 main FATAL ERROR ] Failed to create new session.

I want to remove compton and use picom but it canot be removed, it even says that is not installed but is present in allover the system:

Code: [Select]
-ht-~:$ locate compton
/etc/skel/.config/compton.conf
/etc/skel/.config/autostart/lxqt-compton.desktop
/home/ht/.config/compton.conf
/home/ht/.config/autostart/lxqt-compton.desktop
/usr/bin/compton
/usr/bin/compton-trans
/usr/share/applications/compton.desktop
/usr/share/icons/hicolor/48x48/apps/compton.png
/usr/share/icons/hicolor/scalable/apps/compton.svg

Moreover, compton does not start either :

Code: [Select]
-ht-~:$ compton &
[1] 4537
bash: compton: command not found
[1]+  Exit 127                compton
[03:35]-ht-~:$ compton
bash: compton: command not found
[03:35]-ht-~:$

Paru cannot find it installed, pacman cannot find it installed.

How can I uninstall this crap so I can use picom?

Edit: I don't want to uninstall xfce.

Re: How to remove compton

Reply #1
Are you sure you don't have picom installed? It has the compton library and other stuff as legacy fallbacks and stuff.

Code: [Select]
[ 05.01.2022 03:31:52.182 parse_config_libconfig ERROR ] "paint-on-overlay" has been removed as an option, and the feature is enabled whenever possible
Your output has a bunch of warnings in it but this specific one says ERROR so maybe that's your issue.

Re: How to remove compton

Reply #2
Code: [Select]
This compositor has been renamed to "picom", the old config file paths is deprecated. Please replace the "compton"s in the path with "picom"
The first line in the log tells you the name of the program which is picom.

Regarding compton binary in your system, run:
Code: [Select]
pacman -Qo /usr/bin/compton

You can run this command with other files, or you can list the content of the picom package:
Code: [Select]
pacman -Ql picom

Next, it looks like you have some old config file for Compton and you wish to use it with Picom.
You can try to manually fix your local compton config (check the config lookup order on picom website/readme).
I recommend you to copy the picom.conf and adjust it to your needs.
You can copy one from either "/etc/xdg/picom.conf" or "/usr/share/doc/picom/picom.conf.example" to "~/.config/picom.conf".

 

Re: How to remove compton

Reply #3
Quote
You can copy one from either "/etc/xdg/picom.conf" or "/usr/share/doc/picom/picom.conf.example" to "~/.config/picom.conf".

This solved the problem. But still I want to remove compton or I cannot since looks like is owned by picom.
Code: [Select]
$ pacman -Qo /usr/bin/compton
/usr/bin/compton is owned by picom 8.2-1



Re: How to remove compton

Reply #4
Package galaxy/picom provides compton, and conflicts with any packages literally named "compton":
Code: [Select]
$ pacman -Qi compton
Name            : picom
Version         : 8.2-1
Description     : X compositor that may fix tearing issues
Architecture    : x86_64
URL             : https://github.com/yshui/picom
Licenses        : MIT  MPL
Groups          : None
Provides        : compton
Depends On      : hicolor-icon-theme  libconfig  libdbus  libev  libgl  pcre  pixman  xcb-util-image  xcb-util-renderutil
Optional Deps   : dbus: For controlling picom via D-Bus [installed]
                  python: For running picom-convgen.py [installed]
                  xorg-xwininfo: For picom-trans [installed]
                  xorg-xprop: For picom-trans [installed]
Required By     : None
Optional For    : None
Conflicts With  : compton
Replaces        : compton
Installed Size  : 375.46 KiB
Packager        : Artix Build Bot <[email protected]>
Build Date      : Mon Dec 21 00:27:05 2020
Install Date    : Wed Jan  5 11:38:24 2022
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

$ pacman -Ql compton
picom /etc/
picom /etc/xdg/
picom /etc/xdg/picom.conf
picom /usr/
picom /usr/bin/
picom /usr/bin/compton
picom /usr/bin/compton-trans
picom /usr/bin/picom
picom /usr/bin/picom-trans
picom /usr/share/
picom /usr/share/applications/
picom /usr/share/applications/compton.desktop
picom /usr/share/applications/picom.desktop
picom /usr/share/doc/
picom /usr/share/doc/picom/
picom /usr/share/doc/picom/picom.conf.example
picom /usr/share/icons/
picom /usr/share/icons/hicolor/
picom /usr/share/icons/hicolor/48x48/
picom /usr/share/icons/hicolor/48x48/apps/
picom /usr/share/icons/hicolor/48x48/apps/compton.png
picom /usr/share/icons/hicolor/scalable/
picom /usr/share/icons/hicolor/scalable/apps/
picom /usr/share/icons/hicolor/scalable/apps/compton.svg
picom /usr/share/licenses/
picom /usr/share/licenses/picom/
picom /usr/share/licenses/picom/MIT
picom /usr/share/licenses/picom/MPL-2.0
picom /usr/share/man/
picom /usr/share/man/man1/
picom /usr/share/man/man1/picom-trans.1.gz
picom /usr/share/man/man1/picom.1.gz
https://wiki.archlinux.org/title/PKGBUILD#provides