Skip to content

Troubleshooting

rbn42 edited this page Feb 4, 2020 · 13 revisions

Background transparency

To achieve background transparency, after installing panon, go to ~/.local/share/plasma/plasmoids/panon/contents/ui/main.qml in your home directory, alter the following part and add the line marked below:

   Plasmoid.preferredRepresentation: Plasmoid.compactRepresentation
++ Plasmoid.backgroundHints: PlasmaCore.Types.NoBackground

Cannot load Visual Effects section in the configuration dialog

If your KDE Framework version is lower than 5.63, your system will not provide a qml component NewStuff.Button required by panon. There are 2 solutions.

  1. Downgrade panon to version 0.3.1, which does not require this component.
  2. Remove the component manually from ConfigEffect.qml.
import org.kde.newstuff 1.1 as NewStuff
NewStuff.Button {
    downloadNewWhat: i18n("Effects")
    configFile: Utils.get_root() + "/config/panon.knsrc"
    onChangedEntriesChanged:{
        /*
         * Triggers the executable DataSource to execute this line again: 
         * if(shaderOptions.count<1)return[sh_get_visual_effects]
         * So that the list model shaderOptions will be refreshed.
         */
        shaderOptions.clear()
    }
}
Clone this wiki locally