Comments (21)
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.
then that means you are running hyprland, not sway. Hyprland support will be tricky to achieve, if possible.
from ueberzugpp.
that flag is only set on compilation, on runtime it will try to detect sway or hyprland
from ueberzugpp.
hi, is there a variable called SWAYSOCK? or does it have another name
from ueberzugpp.
Are you referring to environment variables? If so, I dont have any env variable by that name.
from ueberzugpp.
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.
Which file manager are you using?
from ueberzugpp.
it's ranger.
from ueberzugpp.
Can you test lf using the integration script here? https://github.com/jstkdng/ueberzugpp/tree/master/scripts/lf
from ueberzugpp.
hmmmm, have you used lf before? if not lets just stay on ranger.
What is the output of /tmp/ueberzugpp-rukh.log
?
from ueberzugpp.
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.
Is there no variable called SWAYSOCK in your sway setup? if not sway won't work.
from ueberzugpp.
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.
but it says you are running hyprland, not sway
from ueberzugpp.
Idk its an issue with neofetch it seems. I just realized myself.
But i am currently inside swaywm
from ueberzugpp.
what does this return? echo $HYPRLAND_INSTANCE_SIGNATURE
from ueberzugpp.
rukh@ ?1 ~ echo $HYPRLAND_INSTANCE_SIGNATURE
a2bb95fc60c717c873eff273f5ee035e622565d0_1685193909
from ueberzugpp.
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.
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.
Will there be any issue by making like this, if we detect hyprland we automatically set this flag?
from ueberzugpp.
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)
- Error using ueberzugpp in ranger HOT 1
- statically linked stand alone binary? HOT 1
- why some random characters shown when I do preview, iterm2 HOT 1
- core dumped in vifmrun HOT 3
- Socket isn't responding to coordinates HOT 8
- Using `ueberzugpp` through `ssh` HOT 2
- Using ueberzugpp for image previews makes me exit my hyprland session or completely turn off my system. HOT 4
- [lf, st, X11] Launching lfub sometimes hangs HOT 1
- libopencv outdated dependency. HOT 1
- can not find libopencv_videoio.so.409 on arch HOT 1
- libopencv update 4.10 HOT 2
- Image is shown if other tab is focused in sway. HOT 2
- How to use the fzfub script in the export FZF_DEFAULT_OPTS= HOT 1
- Execute windows rules before creating wayland windows HOT 4
- No images showing, how to test if it is my app/terminal or ueberzug? HOT 6
- ueberzugpp layer not working in Gnome Terminal HOT 1
- Image not hidden when switching between tmux sessions HOT 2
- Images opened in an unfocussed Tmux window (via script) are overlaid on top of the active window HOT 2
- X component is off in lf image previews HOT 7
- Does not work in urxvt with X forwarding HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ueberzugpp.