dr-ni / onboard

Onboard is an onscreen keyboard useful for everybody that cannot use a hardware keyboard; for example TabletPC users, mobility impaired users,...
https://launchpad.net/onboard
Other
15 stars 2 forks source link

Uninstall instructions not complete #4

Open stephematician opened 1 month ago

stephematician commented 1 month ago

Seems to miss a few folders and the gsetting schema files, e.g. after following the uninstall instructions:

cd /usr
find -regex '\./.*onboard.*'
./local/share/gnome-shell/extensions/Onboard_Indicator@onboard.org
./local/share/gnome-shell/extensions/Onboard_Indicator@onboard.org/schemas
./local/share/doc/onboard
./local/share/help/C/onboard
./local/share/help/C/onboard/figures
./share/glib-2.0/schemas/org.onboard.gschema.xml
./share/glib-2.0/schemas/99_onboard-default-settings.gschema.override

Most are folders that are now empty. The last two are results of tools/install_gsettings_schema, so they can be removed and followed by:

sudo glib-compile-schemas /usr/share/glib-2.0/schemas
dr-ni commented 1 month ago

Is this now working?


        # Uninstall
        sudo python3 setup.py install --record files.txt
        sudo xargs -a files.txt --delimiter='\n' rm -v
        sudo rm -rf /usr/local/share/onboard
        sudo rm -rf /usr/local/gnome-shell/extensions/Onboard_Indicator@onboard.org/
        sudo rm -rf /usr/local/share/doc/onboard/
        sudo rm -rf /usr/local/share/help/C/onboard/
        sudo rm -rf /usr/local/include/onboard/
        sudo rm -rf /usr/local/lib/python3.*/dist-packages/onboard-1.4.*.egg-info/
        sudo rm -rf /usr/share/glib-2.0/schemas/99_onboard-default-settings.gschema.override
        sudo rm -rf /usr/share/glib-2.0/schemas/org.onboard.gschema.xml
        sudo glib-compile-schemas /usr/share/glib-2.0/schemas
        sudo rm files.txt
stephematician commented 4 weeks ago

Looks alright, however, I can't be sure it works on all systems. The folders probably aren't much of an issue - but the gschema files are probably worth tidying up.