Comments (8)
I'm glad that worked.
I'm on Arch and I think systemd sets XDG_RUNTIME_DIR
. I'm not sure what the advice is for non-systemd setups.
Presumably you could just add export XDG_RUNTIME_DIR=$HOME/.run
to .profile
, .zshrc
, .zshenv
or similar. I'm not sure what the "official" advice.
from labwc.
It looks like you've used an Openbox rc.xml
file. The syntaxes are fairly close, but just taking the openbox files is a bad starting point.
Try without an rc.xml
to just see if you can get it started with default settings.
You need a font installed (e.g. ttf-dejavu
). You probably do already, but just to make sure.
Try with:
cd $HOME
mkdir foo
XDG_RUNTIME_DIR=$HOME/foo labwc
from labwc.
Hey @johanmalm thanks for your help, actually you were right, trying to run labwc without rc.xml works without throwing errors. How could I set a proper xdg runtime directory to be set at login? I'm using zsh.
from labwc.
Thanks again @johanmalm , I don't know if there's a "best" solution for a systemd-less system, but in case I think Id have to create this .run directory by myself, right?
from labwc.
I think Id have to create this .run directory by myself, right?
Yes.
Usually $XDG_RUNTIME_DIR
is located on some tmpfs but technically its not required to be on a tmpfs. Usually its /run/user/1000
for uid 1000. This has the benefit of being empty on system restart. You can use mkdir -p "$XDG_RUNTIME_DIR"
in your .profile
to create a directory if it doesn't exist.
from labwc.
I've tried running labwc
with a very small setup on Arch a couple of times. The only dependency that was non-obvious (to me) was polkit
and ttf-dejavu
(or whatever).
I'll close this for now, but if you find a way to run without polkit, then let us know and we document it somewhere.
from labwc.
Didn't test that yet, but somewhere on my ToDo is Polkit vs Seatd setup.
And there are some sparse ressources I stumbled upon so far:
https://github.com/swaywm/sway/wiki/Running-Sway-with-seatd%2C-elogind-or-systemd%E2%80%90logind#seatd
https://wiki.archlinux.org/title/Sway#Starting
And one thing I don't get from the initial post is whether seatd service is enabled and started (or if seatd-launch is used)
from labwc.
@johanmalm and @Narrat, thanks again for your suggestions, I didn't really used seatd as a service (the runit service requires dbus, that I have disabled), but simply type:
Sudo seatd -u $user | labwc
Instead of fiddling with the shell for the runtime directory, I found another option, that is installing pam_rundir, that automatically creates the /run/user/$uid directory and exports the variable. That should, in fact, require polkit, if I'm not wrong.
from labwc.
Related Issues (20)
- Add user-configurable blocklist for the security-context implementation
- Touchscreen bindings? HOT 4
- tilde symbol in pipemenus might be causing issues with commands? HOT 1
- Set the LANG in $HOME/.config/labwc/environment , It don't take effect on the menu of windows title. HOT 21
- firefox --kiosk: starts but does not show a window at all HOT 10
- Conditional actions example HOT 1
- Flickering with magnifier and gammastep HOT 11
- Plan for release `0.7.3`
- Dual graphic card HOT 2
- gamma control of output 43 failed when launching wlsunset HOT 2
- DnD between wayland and xwayland not working
- [Question] max_render_time adjustment setting? HOT 6
- Labwc allegedly slow to send fractional scale to applications HOT 4
- Assertion failed at `wlr_libinput_get_device_handle()` in nested session HOT 2
- Very odd Thonny behaviour when unmaximising a window HOT 3
- XDG configure state gets out of sync when clients timeout HOT 5
- Modal dialogs appear behind toplevel window if set by layer-shell-qt HOT 14
- Theme title bars not having all the Openbox features HOT 2
- Tabbed Windows HOT 4
- Dnd icon is rendered below layer-shell surface HOT 3
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 labwc.