Giter VIP home page Giter VIP logo

Comments (13)

cococry avatar cococry commented on June 15, 2024 1

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.

from ragnar.

cococry avatar cococry commented on June 15, 2024

when you start the WM from tty with startx, it also blackscreens?

from ragnar.

6FaNcY9 avatar 6FaNcY9 commented on June 15, 2024

yes maybe the config.h is missing and the content of .xinitrc is exec ragnar

from ragnar.

cococry avatar cococry commented on June 15, 2024

so you cannot get past startx in any way?

and if not, please send what startx outputs after crash

from ragnar.

6FaNcY9 avatar 6FaNcY9 commented on June 15, 2024

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

from ragnar.

cococry avatar cococry commented on June 15, 2024

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.

from ragnar.

cococry avatar cococry commented on June 15, 2024

and it's probably not because of your nvidia gpu because i also have one (rtx 3070) and it works

from ragnar.

6FaNcY9 avatar 6FaNcY9 commented on June 15, 2024

yes your right i can start alacritty, it just doesnt show the bar and no wallpaper

from ragnar.

cococry avatar cococry commented on June 15, 2024

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.

from ragnar.

6FaNcY9 avatar 6FaNcY9 commented on June 15, 2024

boath solutions doesnt work should i put config.h in $HOME/.config/ragnar/config.h because there is no config file for the vm

from ragnar.

cococry avatar cococry commented on June 15, 2024

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".

from ragnar.

6FaNcY9 avatar 6FaNcY9 commented on June 15, 2024

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?

from ragnar.

cococry avatar cococry commented on June 15, 2024

is the bar also not showing when you hit super + i two times?

from ragnar.

Related Issues (16)

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.