Skip to content

ajdunevent/IconValidatorShim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Icon Validator Shim

Purpose:

  • Translates bad calls to xdg-desktop-portal-validate-icon into good calls

How to install:

  • Copy the script somewhere (recommend /usr/local/bin/xdg-desktop-portal-validate-icon.bash)
  • Then
    • Move /usr/libexec/xdg-desktop-portal-validate-icon to /usr/libexec/xdg-desktop-portal-validate-icon.orig
    • Symlink /usr/libexec/xdg-desktop-portal-validate-icon to the script
    • Package updates that overwrite /usr/libexec/xdg-desktop-portal-validate-icon will require that you move the new version to *.orig (overwriting the previous version) and then recreate the symlink to the script.
  • Or

How to uninstall

  • Delete the script, wherever it is you put it.
  • Then
    • Remove the /usr/libexec/xdg-desktop-portal-validate-icon symlink (ONLY IF IT IS THE SYMLINK!)
    • Move /usr/libexec/xdg-desktop-portal-validate-icon.orig to /usr/libexec/xdg-desktop-portal-validate-icon
  • Or
    • If you did a package diversion instead, do whatever you have to do to undo that...

Shout out

  • FuriLabs for making the FLX1s, the first mobile Linux phone I've ever been able to comfortably (enjoyably even!) daily drive.

License

About

Fix the mismatch between expectations regarding xdg-desktop-portal-validate-icon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages