Giter VIP home page Giter VIP logo

Comments (21)

rukh-debug avatar rukh-debug commented on August 23, 2024 1
rukh@  √ temp bat 1.jpg | ./preview
stat: cannot statx '': No such file or directory
error: a value is required for '[FILE]...' but none was supplied

For more information, try '--help'.
rukh@  √ temp ls
 1.jpg   cleaner   ifub   preview   s
rukh@  √ temp ./preview 1.jpg
The following arguments were not expected: 1.jpg add
Run with --help for more information.
rukh@  ?1 temp

I dont understand what am I supposed to do.

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024 1

then that means you are running hyprland, not sway. Hyprland support will be tricky to achieve, if possible.

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024 1

that flag is only set on compilation, on runtime it will try to detect sway or hyprland

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024

hi, is there a variable called SWAYSOCK? or does it have another name

from ueberzugpp.

rukh-debug avatar rukh-debug commented on August 23, 2024

Are you referring to environment variables? If so, I dont have any env variable by that name.

from ueberzugpp.

rukh-debug avatar rukh-debug commented on August 23, 2024

support for wayland (sway only) and MacOS
tmux support on X11 and Sway
GIF and animated WEBP support on X11, Sixel and Sway

I tested on hyprland when I reported this issue. I was unaware of the Desktop Environment thing mentioned. Just now i tested on sway aswell, but the result were same. So i think DE does not matter much.

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024

Which file manager are you using?

from ueberzugpp.

rukh-debug avatar rukh-debug commented on August 23, 2024

it's ranger.

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024

Can you test lf using the integration script here? https://github.com/jstkdng/ueberzugpp/tree/master/scripts/lf

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024

hmmmm, have you used lf before? if not lets just stay on ranger.

What is the output of /tmp/ueberzugpp-rukh.log?

from ueberzugpp.

rukh-debug avatar rukh-debug commented on August 23, 2024

Never used, just installed, don't even know how it works.

Sending you the latest log of a single image test.

 _    _      _
| |  | |    | |                                _     _
| |  | | ___| |__   ___ _ __ _____   _  __ _ _| |_ _| |_
| |  | |/ _ \ '_ \ / _ \ '__|_  / | | |/ _` |_   _|_   _|
| |__| |  __/ |_) |  __/ |   / /| |_| | (_| | |_|   |_|
 \____/ \___|_.__/ \___|_|  /___|\__,_|\__, |
                                        __/ |
                                       |___/     v2.8.5
[2023-05-28 07:09:24.466] [terminal] [info] TERM="tmux-256color", TERM_PROGRAM="tmux"
[2023-05-28 07:09:24.491] [main] [info] Wayland detected, X11 output will not be used unless forced to
[2023-05-28 07:09:24.491] [chafa] [info] Canvas created
[2023-05-28 07:09:24.491] [chafa] [warning] This canvas is meant to be used as a last resort. Please use the X11 output or switch to a terminal that has kitty, sixel or iterm2 support.
[2023-05-28 07:09:24.542] [main] [info] Listening for commands on socket /tmp/ueberzugpp-250564.socket.
[2023-05-28 07:09:24.575] [main] [info] Command received: {"action":"add","identifier":"preview","max_height":63,"max_width":137,"path":"/home/rukh/temp/1.jpg","x":134,"y":1}
[2023-05-28 07:09:24.600] [opencv] [info] Loading image /home/rukh/temp/1.jpg
[2023-05-28 07:09:26.217] [main] [error] SIGTERM received, exiting.
[2023-05-28 07:09:26.247] [main] [info] Exiting ueberzugpp.

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024

Is there no variable called SWAYSOCK in your sway setup? if not sway won't work.

from ueberzugpp.

rukh-debug avatar rukh-debug commented on August 23, 2024
rukh@  √ temp echo $SWAYSOCK

rukh@  √ temp neofetch
                   -`                    rukh@archlinux
                  .o+`                   --------------
                 `ooo/                   OS: Arch Linux x86_64
                `+oooo:                  Host: Inspiron 5575 1.3.3
               `+oooooo:                 Kernel: 6.1.30-1-lts
               -+oooooo+:                Uptime: 13 hours, 7 mins
             `/:-:++oooo+:               Packages: 1307 (pacman)
            `/++++/+++++++:              Shell: zsh 5.9
           `/++++++++++++++:             Resolution: 1920x1080
          `/+++ooooooooooooo/`           DE: Hyprland
         ./ooosssso++osssssso+`          WM: sway
        .oossssso-````/ossssss+`         Theme: Gruvbox-Material-Dark [GTK2/3]
       -osssssso.      :ssssssso.        Icons: oomox-gruvbox-dark [GTK2], gruvbox-dark-icons-gtk [GTK3]
      :osssssss/        osssso+++.       Terminal: tmux
     /ossssssss/        +ssssooo/-       CPU: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx (8) @ 2.000GHz
   `/ossssso+/:-        -:/+osssso+-     GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
  `+sso+:-`                 `.-/+oso:    Memory: 3303MiB / 7583MiB
 `++:.                           `-/+/
 .`                                 `/



rukh@  √ temp

There is no SWAYSOCK in my sway setup.

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024

but it says you are running hyprland, not sway

from ueberzugpp.

rukh-debug avatar rukh-debug commented on August 23, 2024

https://old.reddit.com/r/hyprland/comments/12gm2ds/why_does_hyprland_show_up_as_a_de_instead_of_a_wm/

Idk its an issue with neofetch it seems. I just realized myself.
But i am currently inside swaywm

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024

what does this return? echo $HYPRLAND_INSTANCE_SIGNATURE

from ueberzugpp.

rukh-debug avatar rukh-debug commented on August 23, 2024

rukh@ ?1 ~ echo $HYPRLAND_INSTANCE_SIGNATURE
a2bb95fc60c717c873eff273f5ee035e622565d0_1685193909

from ueberzugpp.

rukh-debug avatar rukh-debug commented on August 23, 2024

Looks like exiting the session and chaning the WM still keeps the env variables. That's why there was HYPRLAND_INSTANCE_SIGNATURE and no SWAYSOCK, after a restart without opening hyprland, directly opening sway fixed the issue. It a hyprland issue. Thanks for your effort. Sorry for you time.

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024

hyprland support should be working on master now, you need to add the -DENABLE_WLROOTS=ON flag now though. Still not sure if I should disable animations though.

from ueberzugpp.

rukh-debug avatar rukh-debug commented on August 23, 2024

Will there be any issue by making like this, if we detect hyprland we automatically set this flag?

from ueberzugpp.

jstkdng avatar jstkdng commented on August 23, 2024

I've added general support for wayland, but wm specific changes will be required. Closing as this is now on master.

from ueberzugpp.

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.