Comments (9)
I think this is up to the underlying compositor to configure. So if you use Sway to run ReGreet, you would have to search how to use Sway in clamshell mode. I suggest looking into kanshi for automatic display configuration based on rules you set.
from regreet.
I'm not entirely sure it's the compositor. I was using GTKGreet before switching to ReGreet, and it handled clamshell mode just fine. I have the snippet from Sway's wiki about running clamshell mode in the greeter-sway's config, which was there with GTKGreet too.
Snippet in question:
set $laptop eDP-1
bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable
However, when I use ReGreet, if the laptop is closed the greeter does not switch to the external monitor, and in fact as far as I can tell the greeter isn't even responding; if try to log in "blind" following the normal keystrokes needed, the external monitor continues to be grey (indicating a failure to log in), and even if I open the laptop lid (and therefore enable laptop output), ReGreet won't appear on either screen. I have to reboot with the lid open until ReGreet loads in order to actually log in.
Hence why I think it's a ReGreet issue, and not a compositor issue. With GTKGreet the greeter would load on the external monitor when in clamshell mode without issue.
from regreet.
In that case, I'll have to investigate how GTKGreet handles this, since I was under the impression that it's just a simple GTK3 window, similar to ReGreet (which is GTK4).
from regreet.
@AjiBuster499 could you test ReGreet from PR #25? I don't have a proper multi-monitor setup, so I can't fully test this.
from regreet.
Hi, I just tested it. It did not work, the external monitor had the grey "secondary screen" background, and also based on the mouse being limited to just the external monitor, was the only one it recognized. However ReGreet did not show up on either display, and I had to reboot and keep the lid open to log in successfully like without the PR.
However, I think the PR did restrict it to one display like I said, because if I recall correctly, the main branch allows me to move my mouse between both screens, even though ReGreet doesn't appear on either of them.
EDIT: the main branch regreet-git
in the AUR, also only recognizes one display when the lid is closed, but recognizes both when the lid is open, however ReGreet won't appear on either. So nothing has particularly changed.
from regreet.
@AjiBuster499 Could you try the newest commit on #25 and upload the logs (when running ReGreet with -l debug
)?
from regreet.
Hello, sorry for the delay, it's finals season and I've been focused on other things.
Here is the log, I excluded the lines that weren't from the run with -l debug
.
This time, ReGreet appeared on my external monitor after a short delay, although the UI was in light mode.
from regreet.
@AjiBuster499 Try the latest commit to see if everything works as intended.
from regreet.
It is in dark mode now, so I do believe everything is working.
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.