Comments (16)
Sounds good to me. Send a PR to review?
from dwl.
I am not able to do this. I just want to ask or encourage the conversation.
from dwl.
A pull request has been added trying to copy this feature form Sway #36
from dwl.
Can someone with this use case test the PR?
from dwl.
I would test, but I cant build dwl because of missing xwayland
. I cannot find a way to disable it in the makefile.
from dwl.
xwayland is not optional; you'll need it to build and run.
from dwl.
It ought to be optional, really. You shouldn't have to install X11 cruft in order to run dwl.
from dwl.
Fixed that. @sdsddsd1, give it another try!
from dwl.
I have no success to start dwl. It cannot become 'drm master' and ends with a segmention fault. There is chmod u+s /usr/bin/dwl
.
Here is a strace, if that helps. https://termbin.com/195v
from dwl.
@LukasZumvorde , I somehow couldnt ping you in the first post.
from dwl.
Is this feature still relevant? As of linux 5.8 it is possible to become and drop drm_master for unprevileged users. This feature is available in the latest wlroots master. I can run other compositors with setgid on input as a user process.
chown :input /usr/bin/sway
chmod g+s /usr/bin/sway
I can start also dwl like this, but firefox refuses to start because of allegedly root permissions.
from dwl.
@sdsddsd1 Do you still have an issue with this on your setup, or did the Linux fix (plus, perhaps, adding your user to the input
group) solve it?
from dwl.
@djpohly : I dont have wayland setup at the moment to test on. My setup was the lines above and to be in the video group. I think I tried with to be in the input group aswell. When I remember right dwl
was still started as a root process. My guess is, it does not know how to drop root.
from dwl.
Hi,
I have just tried to compile dwl
but on running it the tty gets frozen even with:
chown :input dwl
chmod g+s dwl
Does dwl
requires to be run as root?
Thanks
from dwl.
No having my user part of the input
group was the problem.
from dwl.
I think this was due to missing either the input
or video
group for the running user, so I'm going to go ahead and close it.
from dwl.
Related Issues (20)
- Some applications with minimum value restrictions refuse to resize the window size, resulting in layout chaos. HOT 5
- The Obs-studio mouse cursor is not visible in the wlroo-next branch It is visible in the main branch HOT 11
- discussion: migrate to codeberg HOT 7
- DWL not launching as GDM session HOT 5
- OpenBSD support discussion HOT 2
- Dwl HOT 2
- Confusion about the Floating Rules HOT 4
- tile layout is completely broken on monitor with at least one negative coord
- Migration to Codeberg
- Keybinds that contain XF86* keys don't work when combined with a modifier HOT 6
- Nvidia HOT 4
- Doesn't get the right resolution HOT 5
- context menu being cut off HOT 27
- GTK top bars are being cut off HOT 4
- Invisible cursor using Intel graphics card HOT 3
- Run or Raise HOT 3
- libwlroots.so.11: cannot open shared object file: No such file or directory HOT 2
- wlroots-next branch not build becuse of too few arguments to function ‘wlr_output_layout_create’ HOT 1
- Could not build dwl on Fedora 39 HOT 2
- Compiling on pop os HOT 9
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 dwl.