REQUEST: expand the desktop module to try to detect the DE/WM/etc. in more ways #2

Closed
opened 2024-02-11 13:43:44 +01:00 by krizej · 9 comments
Contributor

this is caused by my stupid ass not having XDG_CURRENT_DESKTOP set, but neofetch works
relevant output of neofetch:
WM: i3
relevant output of modfetch:
Desktop: (null)
relevant part of the modfetch config:
./desktop.so

this is caused by my stupid ass not having XDG_CURRENT_DESKTOP set, but neofetch works relevant output of neofetch: `WM: i3` relevant output of modfetch: `Desktop: (null)` relevant part of the modfetch config: `./desktop.so`
krizej changed title from Desktop module is not functioning to REQUEST: expand the desktop module to try to detect the DE/WM/etc. in more ways 2024-02-11 13:47:19 +01:00
Owner

I have no idea how your system doesn't have xdg env vars set by default, can you post the output of env | grep XDG?

I have no idea how your system doesn't have xdg env vars set by default, can you post the output of `env | grep XDG`?
Author
Contributor
XDG_SESSION_ID=3
XDG_VTNR=1
XDG_SESSION_TYPE=tty
XDG_SESSION_CLASS=user
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
``` XDG_SESSION_ID=3 XDG_VTNR=1 XDG_SESSION_TYPE=tty XDG_SESSION_CLASS=user XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 ```
Owner

XDG_SESSION_TYPE=tty?? are you sure you're running it with i3 open?

`XDG_SESSION_TYPE=tty`?? are you sure you're running it with i3 open?
Author
Contributor

yeep

yeep
Owner

please test the desktop-x11 branch with make CFLAGS=-DMF_DESKTOP_X11

please test the `desktop-x11` branch with `make CFLAGS=-DMF_DESKTOP_X11`
Owner

changed it, use make OPTS=-DMF_DESKTOP_X11 instead

changed it, use `make OPTS=-DMF_DESKTOP_X11` instead
poz added reference desktop-x11 2024-02-11 19:25:46 +01:00
poz self-assigned this 2024-02-11 19:25:53 +01:00
Owner

confirmed in DMs that it works when -lX11ing, too many changes to fix that now, will merge and fix later

confirmed in DMs that it works when `-lX11`ing, too many changes to fix that now, will merge and fix later
poz closed this issue 2024-02-13 19:22:37 +01:00
Owner

wait shit I should close this with the pr

wait shit I should close this with the pr
poz reopened this issue 2024-02-13 19:23:03 +01:00
Owner

nvm let me just close this this is resolved

nvm let me just close this this is resolved
poz closed this issue 2024-02-13 19:26:38 +01:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: poz/modfetch#2
No description provided.