Closed 6FaNcY9 closed 1 year ago
when you start the WM from tty with startx, it also blackscreens?
yes maybe the config.h is missing and the content of .xinitrc is exec ragnar
so you cannot get past startx in any way?
and if not, please send what startx outputs after crash
yes but it doesnt crash it just stays black
maybe its becaus of my nvidia gpu
and this is the output of the install script:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gcc is already the newest version (4:11.2.0-1ubuntu1).
make is already the newest version (4.3-4.1build1).
xorg is already the newest version (1:7.7+23ubuntu2).
xorg-dev is already the newest version (1:7.7+23ubuntu2).
git is already the newest version (1:2.34.1-1ubuntu1.9).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libfreetype6-dev is already the newest version (2.11.1+dfsg-1ubuntu0.2).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Cloning into 'Ragnar'...
remote: Enumerating objects: 242, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 242 (delta 3), reused 1 (delta 0), pack-reused 231
Receiving objects: 100% (242/242), 1.32 MiB | 4.89 MiB/s, done.
Resolving deltas: 100% (136/136), done.
rm -f ragnar
rm -f /usr/bin/ragnar
gcc ragnar.c -o ragnar -I/usr/include/freetype2 -lX11 -lXcursor -lXft -O3 -ffast-math -Wall -Wextra
ragnar.c: In function ‘handle_button_press’:
ragnar.c:464:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
464 | system(BarButtons[i].cmd);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
ragnar.c: In function ‘handle_key_press’:
ragnar.c:492:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
492 | system(TERMINAL_CMD);
| ^~~~~~~~~~~~~~~~~~~~
ragnar.c:494:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
494 | system(WEB_BROWSER_CMD);
| ^~~~~~~~~~~~~~~~~~~~~~~
ragnar.c:589:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
589 | system(APPLICATION_LAUNCHER_CMD);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cp ragnar /usr/bin/ragnar
try installing alacritty and then press super + enter in the blackscreen. this should open alacritty
maybe its just because you dont have a wallpaper set and there is a bug that the bar is not showing so this could look like a blackscreen.
and it's probably not because of your nvidia gpu because i also have one (rtx 3070) and it works
yes your right i can start alacritty, it just doesnt show the bar and no wallpaper
perfect!
i suggest that in your .xinitrc add "nitrogen --restore &" and install nitrogen and set a wallpaper and for the bar, just fullscreen a window and unfullscreen it. this should show the bar. or just press super + i two times.
boath solutions doesnt work should i put config.h in $HOME/.config/ragnar/config.h because there is no config file for the vm
the config is managed like in dwm. there is a config.h file in the repo and you have to edit the macro values. than recompile with "sudo make ragnar clean install".
thx you very much for the quick response 😇 after school I will try it on my other maschine are there any log files that get created to show why top bar isnt launching?
is the bar also not showing when you hit super + i two times?
This issue has been addressed in the latest release v1.1 (https://github.com/cococry/Ragnar/releases/tag/1.1). After opening a window, the bar will be displayed.
I wanted to install the WM on pop OS but when i logout and change the desktop i just get a black screen. Also i tried to launch it with the tty i also get a black screen could u maybe tell me where to view for logs for debugging. And some common issues that i have to look for.
THX :D