Comments (6)
Since I can't run regreet without greetd, it's hard to run regreet with GTK_DEBUG=inspector and poke around to see what can be customized. Adding a demo mode would really help.
Good idea, a demo mode would also help in development. I guess I can try to somehow mock greetd in the codebase with the demo mode.
I realized that this program needs layer shell.
Could you tell me why? Is it because the inspector doesn't work with it, or is it because it would also provide more features?
Are there extra documentation on how to theme regreet in CSS?
Not really, I didn't make any, since it's just like any other GTK app. If you want to see the GTK structure, just see src/gui/templates.rs. Specifically, these lines:
Lines 32 to 221 in 0fb4245
from regreet.
Could you tell me why? Is it because the inspector doesn't work with it, or is it because it would also provide more features?
Sorry, I didn't meant it like this - regreet would stay on top of the inspector so one can't use it.
I assume the demo mode would allow regreet to run as a normal window, so it can be moved around.
from regreet.
Sorry, I didn't meant it like this - regreet would stay on top of the inspector so one can't use it. I assume the demo mode would allow regreet to run as a normal window, so it can be moved around.
Ah, so you mean that the demo mode should "disable" layer shell? Well, ReGreet doesn't use layer shell; it's just a normal window that's fullscreen.
I develop ReGreet on an X11 desktop (although Wayland might also work, but I haven't tested it) by running it through the command line. It spawns a fullscreen window, which I can reduce to a normal window using my window manager. Then I can access the inspector.
The demo mode I'm thinking of should allow one to use all ReGreet features - like showing the list of (dummy) usernames/sessions, enter (dummy) passwords, etc. - without actually contacting greetd.
from regreet.
Ah, so you mean that the demo mode should "disable" layer shell? Well, ReGreet doesn't use layer shell; it's just a normal window that's fullscreen.
Oh, didn't know!
I develop ReGreet on an X11 desktop (although Wayland might also work, but I haven't tested it) by running it through the command line. It spawns a fullscreen window, which I can reduce to a normal window using my window manager. Then I can access the inspector.
How do you connect to greetd when running as another user? I've been trying to figure this out.
from regreet.
How do you connect to greetd when running as another user? I've been trying to figure this out.
I just run ReGreet as the greeter
user using sudo
, as follows:
sudo -Eu greeter regreet
The -E
switch is to allow passing environment variables. Here, it's needed to get the greetd IPC socket.
from regreet.
sudo -Eu greeter regreet
tried this, just got
panicked at 'called `Result::unwrap()` on an `Err` value: BoolError { message: "Failed to initialize GTK", filename: "/build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gtk4-0.5.5/src/rt.rs", function: "gtk4::rt", line: 153 }', /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/relm4-0.5.0/src/lib.rs:110:17
from regreet.
Related Issues (20)
- Turning off and on the screen and exiting river/sway results in: HOT 1
- Apply GTK settings before the UI is visible HOT 2
- [Feature] Optionally load libadwaita and use libadwaita widgets HOT 1
- Error when shutting down or restarting HOT 3
- Default environment HOT 3
- Override or remove "Welcome back!" message?
- 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 3
- On first boot, clicking 'Login' causes sway to restart HOT 1
- 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
- Keep the UI while the compositor is loading
- any plan for localization?
- Background image not showing 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.