snap/hamster question

Keith keithw at caramail.com
Sun Jan 29 19:03:44 UTC 2023


On 1/29/23 3:47 AM, Karl Auer wrote:
> I use a time management tool called Hamster. With earlier versions,
> installed as a normal package, I was able to find the code and
> modify it to tweak a few things. Now it seems to be distributed only as
> a snap. The developer-provided Ubuntu package names don't exist.
> 
> I have found the (python) source code inside the snap; an example
> path is:
> 
> /snap/hamster-snap/56/usr/lib/python3/dist-packages/hamster/reports.py
> 
> Can I just change the code and it will all still work? That's what I
> did with the package files before.
> 
> BUT: The snap package is mounted on read-only; I have no idea how
> to get it to remount writably, so if anyone has a clue there, that'd
> be good too :-)
> 
> I found this possible solution, look at the response labelled "1":
> 
> https://unix.stackexchange.com/questions/80305/mounting-a-squashfs-filesystem-in-read-write
> 
> 

https://forum.snapcraft.io/t/modifying-binaries-in-snap-files/12955/2

The above link is like yours except it's specific to snaps. Contains 
advice from Ogra who sometimes pops in here.

-- 
Keith





More information about the ubuntu-users mailing list