Giter Site home page Giter Site logo

Comments (8)

ruanformigoni avatar ruanformigoni commented on June 16, 2024

Hi @Blad3forc3 ! There is a way to do that, it is:

./my-game.flatimage fim-exec cp ./my-new.png /fim/desktop/icon.png

You will need to clear the icon cache on your desktop environment or rename the flatimage file, for it to update the icon. Also, on the icon screen you can click on the field with the path to the selected image, to select another one.

from gameimage.

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024

from gameimage.

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024

Ive tried deleting the icon cache and renaming the flatimage but the icon doesn't get updated. I'm using kubuntu

from gameimage.

ruanformigoni avatar ruanformigoni commented on June 16, 2024

That's odd, after copying the file what I do is to delete ~/.cache/icon-cache.kcache and restart the file manager.

from gameimage.

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024

WHen i run the command i get this error

cp: cannot create regular file '/fim/dekstop/icon.png': No such file or directory

from gameimage.

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024

That's odd, after copying the file what I do is to delete ~/.cache/icon-cache.kcache and restart the file manager.

It seems theres something more sinister going on here.

Sometimes when i build a flatimage and select the desktop icon it reverts to a different icon from previously. Something with the cache file maybe

from gameimage.

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024

Just an update to this Ruan. I think i've sorted the problem. I had some leftover files that were collecting in the var/tmp folder all related to various flatimages i had created. I deleted them all and now the icon is sticking correctly

from gameimage.

ruanformigoni avatar ruanformigoni commented on June 16, 2024

Hi @Blad3forc3 , thanks for the update. Glad it worked!

from gameimage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.