p-e-w / shin

A shell in every text input on your system
GNU General Public License v3.0
278 stars 12 forks source link

Support for Immutable OSes like Fedora Silverblue? #11

Open lobau opened 1 year ago

lobau commented 1 year ago

I just switched to Fedora Silverblue. I tried to install Shin but I'm running into issues. I installed Make and Go, but when I run the sudo make install command I get:

[lobau@fedora shin]$ sudo make install
[sudo] password for lobau: 
mkdir -p '/usr/share/ibus-shin'
mkdir: cannot create directory ‘/usr/share/ibus-shin’: Read-only file system
make: *** [Makefile:15: install] Error 1

Any other way to install Shin?

p-e-w commented 1 year ago

I have no experience with Silverblue; how does package installation work normally, if the base directories are read-only? Where is IBus installed?

If the only problem is that this particular directory (/usr/share) is read-only, then it can be changed by passing the IBUS_INSTALL_DIR variable to Make, as described in the README. However, note that IBUS_INSTALL_DIR must be the same directory where the IBus component XMLs are located, and that directory must be writable, else Shin cannot be installed.