Comments (12)
I've released 0.1.0. You can find it here: https://github.com/rharish101/ReGreet/releases/tag/0.1.0
from regreet.
I am willing to adjust this, but we do need some kind of compositor dependency. Even with cage
as a dependency of course you are welcome to configure it to use any compositor you like, you don't have to use cage at all. But the package should depend on some compositor and Arch doesn't (yet) have any generic provides for "wayland-compositor" or similar. That might be a way forward but I would have to talk a whole bunch of other devs into it. To that end an open bug on the Arch bug tracker about this would be helpful if you want to get the party started.
Not including a compositor in the gtkgreet package was kind of an oversight, although mitigated by that package having transitive dependency on wayland and a whole bunch of other stuff.
from regreet.
The other somewhat off-topic thing that was discussed above was the Arch package dependency on cage, tracked and resolved in this issue.
from regreet.
Sure, I'll create a release soon, once I've fixed some of the current issues, and after deciding on some breaking changes.
from regreet.
Thanks! Given that you posted the VCS packaging to the AUR I'm assuming you use Arch yourself. I'd be glad enough of somebody to test the greetd related packages currently in [community-testing], very shortly to include this.
BTW I invented a minimal config file to include in the packaging, but it would be nice if this was upstreamed. That or the "sample" config should not what are defaults or not and probably have everything commented out so people can add in just what they want to override. If you want a separate issue or PR related to that I can do so later.
from regreet.
Thanks for being a maintainer!
I'd be glad enough of somebody to test the greetd related packages currently in [community-testing], very shortly to include this.
Sure, I'll test them out and give you feedback when I have time (might need a few days).
BTW I invented a minimal config file to include in the packaging, but it would be nice if this was upstreamed. That or the "sample" config should not what are defaults or not and probably have everything commented out so people can add in just what they want to override.
The sample config is meant to give a headstart for those looking to configure ReGreet, and also serve as documentation for the available options. When it comes to defaults, not every option's default is well known, for example GTK settings (since that depends on what the "default theme" and other defaults are set for the user that ReGreet runs as).
That is why I designed ReGreet to function without any config, and why I've supplied a sample config. Let me know if there's a use case I've missed though.
from regreet.
I had to supply a config by default to get the power commands working because the greetd
package I built is defaulting to running as greeter, not root. I guess no other defaults need changing, it just wasn't clear at first which where things than needed to be set to work vs. things users may want to tinker with.
At the moment the package as installed on my test system isn't showing any sessions. Any suggestions there? The default sessions path should be right for Arch...
from regreet.
I had to supply a config by default to get the power commands working because the
greetd
package I built is defaulting to running as greeter, not root. I guess no other defaults need changing, it just wasn't clear at first which where things than needed to be set to work vs. things users may want to tinker with.
That's odd; can you run reboot
and poweroff
without root? They're set as the default power commands in ReGreet, and I can run them without root. Maybe I've configured something on my system that lets me do it...
At the moment the package as installed on my test system isn't showing any sessions. Any suggestions there? The default sessions path should be right for Arch...
Could you attach the log file after running ReGreet with regreet -l debug
?
from regreet.
I'd be glad enough of somebody to test the greetd related packages currently in [community-testing], very shortly to include this.
Sure, I'll test them out and give you feedback when I have time (might need a few days).
I tested it, and here's my feedback:
- Works great when using Sway, just like the AUR package.
- When using Cage, I can't seem to view the dropdown menus at all. However, if I start randomly clicking on the sessions list, I am somehow able to select sessions.
- I am able to reboot and shut down using the buttons, both with and without any default config whatsoever.
I think point 2 explains why you weren't able to see the sessions list. Maybe dropdown menus in GTK4 use a feature that Cage doesn't support, since it works fine on Sway. If it works for you with Sway, then it would be better to remove the dependency on Cage and adding Sway. Since the user has to manually add the greeter command to /etc/greetd/config.toml
, maybe the Wayland compositor should be added as an optional dependency - to allow for user choice (for e.g. if someone wants to use Hyprland instead of Sway).
EDIT: Cage works perfectly well, if the latest git commit is used. Since that's on the AUR instead of the main Arch repos, my recommendations as written above still hold.
Point 3, however, is strange, since I'm able to run those commands without superuser access. Could you confirm whether you are able to run reboot
and poweroff
without root?
from regreet.
Hi @alerque, would it be possible to drop the cage
dependency in official Arch package? Since that one is fairly old, and with quite a bit of its problems (such as inability to use kanshi
to manage monitors or set up keyboards), the hard dependency to it essentially makes it unusable and instead, I'm using greetd-regreet-git
from AUR.
I also noticed that you maintain greetd-gtkgreet
, which has the similar architecture (needs to be run in a wayland session), yet you didn't include hard dependency on cage
for that package.
Thank you!
from regreet.
I have refrained from installing the package because of the dependencies. Maybe optional dependencies for some compositors could be added instead?
from regreet.
I'm gonna close the issue, since there's issue #11 for tracking Cage support, and everything else here seems resolved. Please let me know if I should reopen it.
from regreet.
Related Issues (20)
- Set window size option HOT 6
- Background image not showing HOT 3
- ReGreet does not start on wlroots 0.17.0-1 HOT 3
- Sway doesn't behave properly when ran through regreet HOT 6
- How can i disable secondary and tertiary monitors in Sway with ReGreet? HOT 2
- Skip selecting session HOT 4
- On first boot, clicking 'Login' causes sway to restart HOT 2
- Starting a session from ReGreet doesn't seem to set env vars from `~/.config/environment.d/` HOT 2
- How can I change the xkb keyboard layout in greeter? HOT 1
- How can I load env variable from /etc/profile.d for my graphic session? HOT 1
- Launching Xorg / X11 window managers HOT 2
- Keep the UI while the compositor is loading HOT 1
- any plan for localization? HOT 1
- Background image not showing HOT 7
- Regreet not detecting greetd at boot HOT 1
- Fingerprint login support HOT 2
- Having to install it twice for it to work. HOT 2
- NixOS Support HOT 2
- I have multi-monitors, and I want to set the output of ReGreet to the middle one. HOT 4
- New release? HOT 1
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 regreet.