-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable user installation #48
base: master
Are you sure you want to change the base?
Conversation
Thanks! Can you update the README's Install section with instructions on why you'd want this, and how to use it? |
Done, take a look |
Sorry for the delay in getting back to you. One problem on my Ubuntu machine is I don't have ifdef XDG_CONFIG_HOME
CONFDIR ?= $(XDG_CONFIG_HOME)
else
CONFDIR ?= $(HOME)/.config
endif
ifdef XDG_DATA_HOME
DATADIR ?= $(XDG_DATA_HOME)
else
DATADIR ?= $(HOME)/.local/share
endif I'm also unfamiliar with |
Fallbacks for XDG Base Directory Specification
Can I ask which OS/version do you have? or if you have some very specific setup? XDG_* variables has been supported for ages :-/ About the environment.d, it's the systemd for managing user-defined environment in a sane way (opposed to just add stuff into It's not required to be a systemd service in order to inherit those variables. When a user logs-in, a systemd user session it's started, enviroment.d readed and all descendent processes (ibus included) inhreit it because the systemd session spawns all other processes. The other option is to write into the user's I also tweaked Makefile.user to restart ibus with the appropiated IBUS_COMPONENT_PATH variable set (on next user log-in it will be read as defined about). |
I'm on Ubuntu 22.04. These are the XDG_ variables I have defined:
I'll test if the |
Couldn't quite get it to work on Ubuntu. IBus apparently saw the input method in Do you mind if I leave this open if anyone else wants to tackle it? Is it important for you to have this committed, or are you fine with it staying in your branch? |
I have been wanting to retake this PR for some weeks 🙏 You can leave this open and I will work on my branch until it's fully functional, no problem. I will ping you with any updates... |
Enable user installation.
Since Makefile changes a lot I opted to create a separed
Makefile.user
Test with
make -f Makefile.user install DESTDIR=/tmp/test