Comments (6)
Okay I'm a little confused here. Where does this problem occur:
- The Sway that is used to launch ReGreet
- The Sway that ReGreet launches
Also, are you saying that everything in that config file works except for the script that uses the /tmp
directory? If yes, then this could be due to systemd making a private /tmp
directory; see this: https://systemd.io/TEMPORARY_DIRECTORIES/. To rule out whether this is the case, could you try another directory in your script?
from regreet.
Basically I'm saying the sway that is launched by regreet doesn't work.
And yes, everything works in that config file except for ANY script I try. I can change the font size, and it will change the font size, but if I do an exec anything, it just refuses to even try to open it. (very strange I know, I wish I even knew where to start looking for solutions).
I've done a bunch of different scripts, in a bunch of different directories. It's just my latest attempt that I tried the /tmp directory cause i knew for sure that it would have the permissions to access it.
But for example, in that same config file I have an exec to a script that should set the background of my sway, where the script is located in my $HOME/scripts folder (in path). This script also just wont run (but runs on startup perfectly fine when I'm not using regreet and open sway through terminal).
from regreet.
Just to clarify, everything else in the sway launched by regreet works, just not exec scripts for some reaosn
from regreet.
Please post the logs, along with the contents of the Sway session file that ReGreet loads (this should be in /usr/share/wayland-sessions
or something similar. Also, could you try this with gtkgreet?
from regreet.
I'm having the same issue in my Hyprland session meant to run Regreet. I think that greetd is the problem since it repros on gtkgreet too.
This is my config for Regreet, the only things that work out of the binds and execs are the regreet one and the exit bind.
env = XCURSOR_SIZE,24
env = GBM_BACKEND,nvidia-drm
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = WLR_NO_HARDWARE_CURSORS,1
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
monitor = DP-2,2560x1440@144,0x0,1
monitor = DP-1,2560x1440@60,2560x0,1
monitor = ,preferred,auto,auto
exec-once = touch /home/sam/sddfsdf
exec-once = /etc/greetd/hypr.sh
exec-once = systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = /usr/bin/hyprpaper -c /home/sam/.config/hypr/hyprpaper.conf
# exec-once = regreet; hyprctl dispatch exit
$mainMod = SUPER
bind = $mainMod, TAB, exec, kitty
bind = $mainMod, M, exit,
I can't find any logs since they're put in stdout which gets cleared immediately when I quit (due to greetd starting another Hyprland session immediately).
Session file.
[Desktop Entry]
Name=Hyprland
Comment=An intelligent dynamic tiling Wayland compositor
Exec=Hyprland
Type=Application%
from regreet.
@Xenfo The logs should be stored in /var/log/regreet
by default instead of stdout. Could you check there?
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
- 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.