Git Product home page Git Product logo

Comments (11)

nathaniel-winters avatar nathaniel-winters commented on June 6, 2024 1

@aadcg I believe I've figured out the source of the problem. Flatpak requires xdg-desktop-portal as a dependency. Unfortunately, it seems like xdg-desktop-portal has compatibility issues with swaywm or with wayland.

I couldn't figure out why my applications started acting funky when I installed flatpak. Uninstalling xdg-desktop-portal is the only way I'm able to boot Nyxt (the non-flatpak version), the flatpak version simply won't boot because xdg-desktop-portal comes with flatpak. And pacman complains that I shouldn't remove it because it's a dependency for flatpak.

So, I can't really have it on my system, and the other versions (-wir, -gnome, -gtk, -kde) don't fix it. This probably means that I'd need to switch to a different WM/DE or continue with the non-flatpak version.

I doubt this has anything to do with your end, so it's likely something that will need to be handled by swaywm or xdg-desktop-portal.

My only current issue with Nyxt (non-flatpak version. I'm only able to use the pacman or aur version), is that the mini buffers are very slow. E.g., C-l > start typing > starts lagging like crazy. Aside from that, no real issues anymore. I'll continue using it until something else get solved for swaywm, or I'll just switch to a different wm.

Appreciate all the help.

from nyxt.

fictitiousexistence avatar fictitiousexistence commented on June 6, 2024

@nathaniel-winters do you mind sharing your auto-config.3.lisp ?

from nyxt.

nathaniel-winters avatar nathaniel-winters commented on June 6, 2024

@fictitiousexistence

(define-configuration web-buffer
  ((default-modes (pushnew 'nyxt/mode/vi:vi-normal-mode %slot-value%))))
(define-configuration browser
  ((theme
    (make-instance 'theme:theme :background-color "fbf1c7"
                   :on-background-color "#282828" :accent-color
                   "#458588" :on-accent-color "282828" :primary-color
                   "076678" :on-primary-color "f9f5d7" :secondary-color
                   "7c6f6r" :on-secondary-color "282828")
    :doc
    "You can omit the colors you like in default theme, and they will stay as they were.")))

This was me messing with colors to make the 'f' search a bit more visibible when navigating using the keyboard. I should note that these issues were present before messing with my config. I was using light theme for a day or so and the same with the default dark theme.

from nyxt.

aadcg avatar aadcg commented on June 6, 2024

@nathaniel-winters I can't reproduce any of your reports. I think they either related to the fact that you're on Wayland or due to Nyxt being not properly packaged by Arch maintainers.

Are you willing to try Nyxt using another method of installation and/or trying it out on X11? Thanks.

Also, when trying to make sure that you have found a bug, see if you can reproduce it when you start Nyxt via nyxt --failsafe.

from nyxt.

f0086 avatar f0086 commented on June 6, 2024

Having the same problem mentioned (and nearly the same setup as @nathaniel-winters) with claws-mail (also a gtk app). Seems like a gtk/wayland/sway problem to me.

from nyxt.

aadcg avatar aadcg commented on June 6, 2024

It seems that there's nothing Nyxt can do. I'd suggest reporting the issue to Arch maintainers. They can open an issue if they're unsure on how to package Nyxt.

In the meantime, I'd suggest installing Nyxt as a Flatpak. From user's reports, it runs on Wayland. Find it at https://github.com/atlas-engineer/nyxt/releases. Let me know if you need instructions on how to install it.

from nyxt.

nathaniel-winters avatar nathaniel-winters commented on June 6, 2024

@aadcg

I haven't been able to get around to any of this until today, but I uninstalled Nyxt and removed the config file.

Then, I installed it using flatpak. I downloaded the flatpak from the official nyxt website, then ran flatpak install ~/Downloads/nyxt-3.5.0.flatpak

Nyxt would only open to a fully blank white screen and gave the following errors:


(sbcl:2): Gdk-WARNING **: 11:31:54.042: Settings portal not found: Error calling StartServiceByName for org.freedesktop.portal.Desktop: Timeout was reached
Nyxt version 3.5.0
<INFO> [11:31:54] Source location: #P""
<INFO> [11:31:54] Listening to socket: #P"/run/user/1000/nyxt/nyxt.socket"
<INFO> [11:31:54] GTK extensions directory: #P"/home/nat-winters/libraries/web-extensions/"
<INFO> [11:31:54] GTK extensions directory: #P"/home/nat-winters/libraries/web-extensions/"
<INFO> [11:31:54] Loading #P"/home/nat-winters/.local/share/nyxt/history/default.lisp".

(WebKitWebProcess:2): Gtk-WARNING **: 11:31:54.728: cannot open display:
<WARN> [11:31:54] Warning: Web process terminated for buffer 6848 (opening ) because it crashed

(WebKitWebProcess:2): Gtk-WARNING **: 11:31:54.732: cannot open display:
<WARN> [11:31:54] Warning: Web process terminated for buffer 6899 (opening nyxt:new) because it crashed

(WebKitWebProcess:2): Gtk-WARNING **: 11:31:54.866: cannot open display:
<WARN> [11:31:54] Warning: Error in signal on renderer thread: The value
  NIL
is not of type
  CL-WEBKIT2:WEBKIT-WEB-VIEW
when binding CL-WEBKIT2::WEB-VIEW
<WARN> [11:31:54] Warning: Error in FFI method: The value
  NIL
is not of type
  CL-WEBKIT2:WEBKIT-WEB-VIEW
when binding CL-WEBKIT2::WEB-VIEW
<WARN> [11:31:54] Warning: Error in FFI method: The value
  NIL
is not of type
  CL-WEBKIT2:WEBKIT-WEB-VIEW
when binding CL-WEBKIT2::WEB-VIEW

(WebKitWebProcess:2): Gtk-WARNING **: 11:31:55.015: cannot open display:
<WARN> [11:31:55] Warning: Web process terminated for buffer 6951 (opening nyxt:new) because it crashed
<WARN> [11:31:55] Warning: Error in signal on renderer thread: The value
  NIL
is not of type
  CL-WEBKIT2:WEBKIT-WEB-VIEW
when binding CL-WEBKIT2::WEB-VIEW
^C
[nat-winters@nat-winters ~]$ <INFO> [11:31:58] Deleting socket #P"/run/user/1000/nyxt/nyxt.socket".
fatal error encountered in SBCL pid 2 tid 88:
deferrable signals partially blocked: {2}

   0: fp=0x7f313f0bdd30 pc=0x560421c8d0b0 Foreign function (null)
   1: fp=0x7f313f0bdd40 pc=0x560421c8d0ca Foreign function (null)
   2: fp=0x7f313f0bde30 pc=0x560421c8d263 Foreign function (null)
   3: fp=0x7f313f0bdfc0 pc=0x560421c8e3d0 Foreign function (null)
   4: fp=0x7f313f0be0b0 pc=0x560421c8e65e Foreign function (null)
   5: fp=0x7f313f0be670 pc=0x7f315e63f0c0 Foreign function (null)
   6: fp=0x7f313f0be680 pc=0x7f315e6e1c37 Foreign function __nanosleep
   7: fp=0x7f313f0be6c0 pc=0x560421c9e4ae Foreign function sb_nanosleep
   8: fp=0x7f313f0be6e0 pc=0x53703242 SB-UNIX::NANOSLEEP
   9: fp=0x7f313f0be820 pc=0x52b463d7 (LAMBDA () :IN NYXT::QUIT)
  10: fp=0x7f313f0be8a0 pc=0x5319ba88 (LAMBDA () :IN BORDEAUX-THREADS::BINDING-DEFAULT-SPECIALS)
  11: fp=0x7f313f0be990 pc=0x53860718 (FLET SB-UNIX::BODY :IN SB-THREAD::RUN)
  12: fp=0x7f313f0bea80 pc=0x53860fd6 (FLET "WITHOUT-INTERRUPTS-BODY-156" :IN SB-THREAD::RUN)
  13: fp=0x7f313f0bebd8 pc=0x538602a3 (FLET SB-UNIX::BODY :IN SB-THREAD::RUN)
  14: fp=0x7f313f0becc8 pc=0x53860aca (FLET "WITHOUT-INTERRUPTS-BODY-149" :IN SB-THREAD::RUN)
  15: fp=0x7f313f0bedb8 pc=0x53860060 SB-THREAD::RUN
  16: fp=0x7f313f0bedf0 pc=0x560421cb9901 Foreign function call_into_lisp_
  17: fp=0x7f313f0bee10 pc=0x560421c8410a Foreign function funcall1```

from nyxt.

aadcg avatar aadcg commented on June 6, 2024

@nathaniel-winters how did you start Nyxt - flatpak run engineer.atlas.Nyxt?

What's the output of flatpak list? Did you run flatpak update?

from nyxt.

aadcg avatar aadcg commented on June 6, 2024

@nathaniel-winters The last thing I can recommend would be to install the Guix package manager on top of your Arch Linux distribution.

Download this script, make it executable and run it. Then run guix pull (may take a while) and guix install nyxt. Let me know if you need help.

from nyxt.

nathaniel-winters avatar nathaniel-winters commented on June 6, 2024

@aadcg Just got it downloaded and everything works perfectly. I'm very glad since I like Nyxt a lot. The usability just skyrocketed. Minibuffers are incredibly snappy.

Thanks a bunch!

from nyxt.

aadcg avatar aadcg commented on June 6, 2024

@nathaniel-winters I can feel your motivation to give Nyxt a try. Thanks for the interest and persistence.

You may find some issues running Nyxt from Guix in Wayland, so feel free to report them. My intuition tells me that the clipboard will not work. A way to test it is to issue the nyxt-version command - Control-Space nyxt-version.

Also, it's unfortunate that Nyxt's distribution by Arch Linux has issues. I'd suggest reporting them to the maintainers of those packages. If those people are no longer maintaining the packages, then we need to find new interested ones.


Finally, as a general rule of thumb for new Nyxt users, the team officially curates the Flatpak and the distribution on Guix. Other means of distributions are curated by enthusiasts.

from nyxt.

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.