Giter Site home page Giter Site logo

Comments (6)

rharish101 avatar rharish101 commented on June 12, 2024

Okay I'm a little confused here. Where does this problem occur:

  1. The Sway that is used to launch ReGreet
  2. 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.

DylanJTodd avatar DylanJTodd commented on June 12, 2024

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.

DylanJTodd avatar DylanJTodd commented on June 12, 2024

Just to clarify, everything else in the sway launched by regreet works, just not exec scripts for some reaosn

from regreet.

rharish101 avatar rharish101 commented on June 12, 2024

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.

Xenfo avatar Xenfo commented on June 12, 2024

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.

rharish101 avatar rharish101 commented on June 12, 2024

@Xenfo The logs should be stored in /var/log/regreet by default instead of stdout. Could you check there?

from regreet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.