Comments (3)
According to the specification $XDG_RUNTIME_DIR
would probably be the best fit if not for the following:
The lifetime of the directory MUST be bound to the user being logged in. It MUST be created when the user first logs in and if the user fully logs out the directory MUST be removed. If the user logs in more than once he should get pointed to the same directory, and it is mandatory that the directory continues to exist from his first login to his last logout on the system, and not removed in between. Files in the directory MUST not survive reboot or a full logout/login cycle.
Which begs the question how being logged in is defined in the systemd world ...
With the latest commits it should be possible to give it a try by adding the relevant lines to the start of the dirs array as in:
dirs[] = {
{ getenv("XDG_RUNTIME_DIR"), true },
...
}
Anyway I agree that it would probably be a good idea to change the default directory from $HOME
to a temporary one which does not survive a reboot.
from abduco.
With the latest commits the used directories can be configured through config.def.h. Furthermore there exists a special environment variable called $ABDUCO_SOCKET_DIR
hence adding something like export ABDUCO_SOCKET_DIR="$XDG_CACHE_HOME"
to your shell/login/PAM whatever startup scripts should have the desired effect.
from abduco.
Wow! It's been so long already?! I have not been active. Thanks for the good work. Will try to provide feedback going forward.
from abduco.
Related Issues (20)
- Cannot scroll HOT 12
- Is abdcuo dead code base or in a need of maintainer? HOT 3
- Conflict with CMUS HOT 2
- RFE: session timeout
- Programmatically send keys to session HOT 6
- Various keys behaving funky (KEY_HOME, KEY_IC, etc.) HOT 1
- Feature request: Auto naming of sessions HOT 4
- Race condition between EOF & MSG_EXIT
- get current session HOT 2
- -f
- Active sessions depend on network connection on macOS
- Remotely run a command in running session an additional command on attach HOT 8
- Follow Freedesktop's XDG base directory specification
- Is there a way to share a session?
- detach not working on re-attach HOT 2
- Fhjjj
- History
- Crash ( all session gone) after `:update<CR>`
- Session missing after restart HOT 1
- Can't put file paths in session-name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abduco.