Code Monkey home page Code Monkey logo

hidamari's People

Contributors

azmcode avatar c3n21 avatar cyberproton avatar fsobolev avatar jeffshee avatar lamemonster82 avatar laymoth avatar miezhiko avatar pridumkuvatyj avatar xenoney avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hidamari's Issues

UI very slow, wallpaper improperly scaled

running on Debian.
The program takes a few minutes after bootup to launch. Once open the UI is also extreamly slow to react, selecting a wallpaper and clicking apply also takes about 2-3 minutes before its actually set. But once set the scaling seems to be off, I can only see the top left quadrant of an image, no matter the actual resolution. When plugged into my dual screen dock the image is scaled appropriately on both screens

auto change local videos

How can I configure to iterate through multiple local videos on ~/Videos/Hidamari ?

Something like every N minutes.

Thanks!

Buymeacoffee - Having issues with donating

I am aware that this has nothing to do with the program itself, however I didn't know where else to forward this issue.

I tried donating by using the BuyMeACoffee link, however an error prompt appeared stating "Your account cannot currently make live charges.".

I have called my bank to make sure my card wasn't declined, however there is no history of me attempting to donate via the BuyMeACoffee URL. Perhaps the payment is configured incorrectly?

Cheers

Error buymeacoffee

VLC error message printed infinitely and crashed

As titled, vlc might print these kind of error message infinitely and crashed the program eventually on some system.

[h264 @ 0x7f1068ccb180] get_buffer() failed
[h264 @ 0x7f1068ccb180] thread_get_buffer() failed
[h264 @ 0x7f1068ccb180] decode_slice_header error
[h264 @ 0x7f1068ccb180] no frame!

not sure how to launch the program?

I ran through the install, seems to have worked, but when i right click the background theres no button to launch.
if i run hidamari in terminal i get this:

~$ hidamari
Config JSON:
{'audio_volume': 0.5,
 'detect_maximized': True,
 'mute_audio': False,
 'static_wallpaper': True,
 'static_wallpaper_blur_radius': 5,
 'video_path': ''}
Traceback (most recent call last):
  File "/home/acme/bin/hidamari", line 18, in <module>
    Player()
  File "/home/acme/.hidamari/player.py", line 166, in __init__
    self.start_all_monitors()
  File "/home/acme/.hidamari/player.py", line 195, in start_all_monitors
    vlc_widget = VLCWidget(monitor.width, monitor.height)
  File "/home/acme/.hidamari/player.py", line 29, in __init__
    self.instance = vlc.Instance()
  File "/usr/local/lib/python3.9/dist-packages/vlc.py", line 1803, in __new__
    return libvlc_new(len(args), args)
  File "/usr/local/lib/python3.9/dist-packages/vlc.py", line 4969, in libvlc_new
    _Cfunction('libvlc_new', ((1,), (1,),), class_result(Instance),
  File "/usr/local/lib/python3.9/dist-packages/vlc.py", line 292, in _Cfunction
    raise NameError('no function %r' % (name,))
NameError: no function 'libvlc_new'

Not sure what to do?

[Question] Does it work with Wayland

From what I read from xwinwrap blog post in the readme file, it is said that xwinwrap only works on xorg. That makes me wonder if hidmari could work on wayland considering there's guide for fedora which use wayland as default.

Please clarify this, maybe add to the readme file

Thanks

Weird behavior on Wayland on Fedora 36

There's another issue with a similar title, but I think this is behaving differently...

Kooha-06-22-2022-15-52-32.mp4

(In my last issue, I was on Xorg)

wallpaper not showing on overview

as said in the title

idk if its normal but when you overview it show a black background instead of the actual wallpaper.

Im on gnome 40 and on manjaro

[Feature Request] Scale video to fit multiple monitors

Suggestion
Add support for scaling video to fit multiple monitors

Example

display0           display1
1920x1080     1920x1080
Video 1           Video 1
Video 1           Video 2
V      I     D    E    O   1

How to do this

  • Scale and crop the video to fit multiple monitors
    • Example: 4K video 3840x2160 is cropped to fit two monitors total 3840x1080px in center to avoid video from being stretched
  • Pick individual videos for different monitors (ex. Video1 on Monitor1 and Video 2 on Monitor 2

One of these options would totally work. It would be really cool to add this to Hidamari, super well designed!

AttributeError: 'NoneType' object has no attribute 'force_update'

First time using this, and the app didn't start from Unity Dash.
Tried starting it up from the terminal, only to be greeted by:

Config JSON:
{'audio_volume': 50,
 'data_source': None,
 'is_detect_maximized': True,
 'is_mute': False,
 'is_static_wallpaper': True,
 'mode': None,
 'static_wallpaper_blur_radius': 5,
 'version': 2}
Mode: Null
Monitor: width 1366 height 1366

(hidamari:26187): Wnck-WARNING **: 18:12:43.989: libwnck is designed to work in X11 only, no valid display found
Traceback (most recent call last):
  File "/usr/bin/hidamari", line 3, in <module>
    server.run()
  File "/usr/share/hidamari/server.py", line 170, in run
    hidamari.dbus_published_callback()
  File "/usr/share/hidamari/server.py", line 48, in null
    self.player = NullPlayer(self.config)
  File "/usr/share/hidamari/null_player.py", line 12, in __init__
    super().__init__(config)
  File "/usr/share/hidamari/base_player.py", line 35, in __init__
    self.window_handler = WindowHandler(self._on_window_state_changed)
  File "/usr/share/hidamari/utils.py", line 104, in __init__
    self.screen.force_update()
AttributeError: 'NoneType' object has no attribute 'force_update'

How do I fix this?

Arch Linux

It would be much better if you guys put hidamari in the AUR

Himadari don't work on Ubuntu 20.04 Gnome with wayland

Hello,

To begin thanks for your program, there isn't much trying to add this functionality on Wayland. But it seems it don't work on my Ubuntu Gnome 20.04 with Wayland.

I installed all the codecs, dependencies and then install Hidamari. But when I try to launch Hidamari, it crash with this log:
``
Config JSON:
{'audio_volume': 50,
'data_source': None,
'is_detect_maximized': True,
'is_mute': False,
'is_static_wallpaper': True,
'mode': None,
'static_wallpaper_blur_radius': 5,
'version': 2}
Mode: Null
Monitor: width 1920 height 1920
Monitor: width 1920 height 1920

(hidamari:18356): Wnck-WARNING **: 18:53:44.394: libwnck is designed to work in X11 only, no valid display found
Traceback (most recent call last):
File "/usr/bin/hidamari", line 3, in
server.run()
File "/usr/share/hidamari/server.py", line 170, in run
hidamari.dbus_published_callback()
File "/usr/share/hidamari/server.py", line 48, in null
self.player = NullPlayer(self.config)
File "/usr/share/hidamari/null_player.py", line 12, in init
super().init(config)
File "/usr/share/hidamari/base_player.py", line 35, in init
self.window_handler = WindowHandler(self._on_window_state_changed)
File "/usr/share/hidamari/utils.py", line 104, in init
self.screen.force_update()
AttributeError: 'NoneType' object has no attribute 'force_update'
``
`
It seems that one of the dependencies want to work in X11 instead of wayland, maybe it's a dependencies version problem that don't work anymore on wayland ?

Thanks anyway if you have time to see why ?

[Idea] Maybe use `mpv` instead of `vlc`

mpv provides similar functionality (also support GPU video decoding).
Both vlc and mpv support Youtube video streaming.
(Yep, I would like to provide Youtube streaming function in the future as well!)

However mpv seems to work better in handling Youtube video and playlist.
There are some videos that vlc couldn't play. (It returns HTTP 403 error.)
For example: https://www.youtube.com/watch?v=1vvyyhteIv4

PyGObject embedding:
https://github.com/jaseg/python-mpv#pygobject-embedding

How to launch the program?

I have installed program, but a not sure how to launch him, don't have any icon in appgrid (DE GNOME) output of "hidamari" in terminal

$ hidamari
fish: Unknown command: hidamari

RuntimeError: Cannot communicate with Gnome Shell!

Output:

$ hidamari
Config JSON:
{'audio_volume': 50,
 'data_source': None,
 'is_detect_maximized': True,
 'is_mute': False,
 'is_static_wallpaper': True,
 'mode': None,
 'static_wallpaper_blur_radius': 5,
 'version': 2}
Mode: Null
Monitor: width 1920 height 1920
Traceback (most recent call last):
  File "/home/lomirus/.hidamari/utils.py", line 198, in eval
    raise RuntimeError("Cannot communicate with Gnome Shell!")
RuntimeError: Cannot communicate with Gnome Shell!

System Info:

OS: Manjaro Linux x86_64 
Host: 82B6 Lenovo Legion R7000 2020 
Kernel: 5.15.12-1-MANJARO 
Resolution: 1920x1080 
DE: GNOME 41.2 
WM: Mutter 
CPU: AMD Ryzen 5 4600H with Radeon Graphics (12) @ 3.000 
GPU: NVIDIA 01:00.0 NVIDIA Corporation TU117M 
GPU: AMD ATI 06:00.0 Renoir
Memory: 3451MiB / 15424MiB

Other Info:

$ python --version
Python 3.10.1

install.sh does not properly work on 22.04

I used the supplied command from the github page, and it failed to install. Here is the log:

bash <(wget -qO- https://raw.githubusercontent.com/jeffshee/hidamari/master/install.sh)
=== Hidamari (Un)Installer Script ===
0 for uninstall
1 for install
Choose [0/1]?1
This will install Hidamari to /home/joseph/.local/share/hidamari
Do you wish to proceed [y/N]?y
Dependencies check OK
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pycairo in /usr/lib/python3/dist-packages (1.20.1)
Collecting pycairo
Downloading pycairo-1.21.0.tar.gz (340 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 340.7/340.7 KB 7.0 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: PyGObject in /usr/lib/python3/dist-packages (3.42.0)
Collecting PyGObject
Downloading PyGObject-3.42.2.tar.gz (719 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 719.5/719.5 KB 12.3 MB/s eta 0:00:00
Installing build dependencies ... error
error: subprocess-exited-with-error

Γ— pip subprocess to install build dependencies did not run successfully.
β”‚ exit code: 1
╰─> [41 lines of output]
Collecting setuptools
Using cached setuptools-63.2.0-py3-none-any.whl (1.2 MB)
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting pycairo
Using cached pycairo-1.21.0.tar.gz (340 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: pycairo
Building wheel for pycairo (pyproject.toml): started
Building wheel for pycairo (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error

    Γ— Building wheel for pycairo (pyproject.toml) did not run successfully.
    β”‚ exit code: 1
    ╰─> [15 lines of output]
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build/lib.linux-x86_64-3.10
        creating build/lib.linux-x86_64-3.10/cairo
        copying cairo/__init__.py -> build/lib.linux-x86_64-3.10/cairo
        copying cairo/__init__.pyi -> build/lib.linux-x86_64-3.10/cairo
        copying cairo/py.typed -> build/lib.linux-x86_64-3.10/cairo
        running build_ext
        Package cairo was not found in the pkg-config search path.
        Perhaps you should add the directory containing `cairo.pc'
        to the PKG_CONFIG_PATH environment variable
        No package 'cairo' found
        Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.15.10']' returned non-zero exit status 1.
        [end of output]
  
    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for pycairo
  Failed to build pycairo
  ERROR: Could not build wheels for pycairo, which is required to install pyproject.toml-based projects
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

Γ— pip subprocess to install build dependencies did not run successfully.
β”‚ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
PATH check OK
Cloning into '/home/joseph/.local/share/hidamari'...
remote: Enumerating objects: 28, done.
remote: Counting objects: 100% (28/28), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 28 (delta 2), reused 9 (delta 0), pack-reused 0
Receiving objects: 100% (28/28), 461.40 KiB | 4.66 MiB/s, done.
Resolving deltas: 100% (2/2), done.

It did create a program though, and when I execute it I get this:

hidamari
/home/joseph/.local/share/hidamari/src/utils.py:10: PyGIWarning: GdkPixbuf was imported without specifying a version first. Use gi.require_version('GdkPixbuf', '2.0') before import to ensure that the right version gets loaded.
from gi.repository.GdkPixbuf import Pixbuf
Config JSON:
{'audio_volume': 50,
'data_source': None,
'is_detect_maximized': True,
'is_mute': False,
'is_static_wallpaper': True,
'mode': None,
'static_wallpaper_blur_radius': 5,
'version': 2}
Mode: Null
Traceback (most recent call last):
File "/home/joseph/.local/bin/hidamari", line 33, in
server.run()
File "/home/joseph/.local/share/hidamari/src/server.py", line 172, in run
hidamari.dbus_published_callback()
File "/home/joseph/.local/share/hidamari/src/server.py", line 49, in null
from null_player import NullPlayer
File "/home/joseph/.local/share/hidamari/src/null_player.py", line 6, in
from base_player import BasePlayer
File "/home/joseph/.local/share/hidamari/src/base_player.py", line 22, in
from monitor import Monitor
File "/home/joseph/.local/share/hidamari/src/monitor.py", line 2, in
import vlc
ModuleNotFoundError: No module named 'vlc'

After installing the VLC module, the program works but covers up the desktop icons until I quit the program.

[bug] freeze on Nvidia because VLC VDPAU bugs

I think its only Nvidia bug because VLC

On starting video with vdpau it works(displayed on Gnome desktop)
1
but right-click on Desktop to call hidamari menu - Gnome freeze or becomes unresponsive and hidamari python process has 100% CPU usage, Gnome back to work after killing hidamari from terminal(ctrl-alt-f1).

console spam with the same error (or all those errors saved to logs its gigabytes of log per minute):
1

to disable this spam - add to src/hidamari to line 16 before calling Player

os.environ["VLC_VERBOSE"] = str("-1")

removing line 62-63 from src/player.py these two lines

        # x11 = ctypes.cdll.LoadLibrary('libX11.so')
        # x11.XInitThreads()

make right-click menu work

thanks for the amazing tool hidamari, that allow set live wallpaper on Gnome 3

Hidamari doesn't open on Arch Linux

Attempting to open hidamari returns this error:
Traceback (most recent call last): File "/home/jacopo/.hidamari/hidamari", line 31, in <module> import server File "/home/jacopo/.hidamari/server.py", line 8, in <module> from utils import ConfigUtil File "/home/jacopo/.hidamari/utils.py", line 9, in <module> gi.require_version("Wnck", "3.0") File "/usr/lib/python3.9/site-packages/gi/__init__.py", line 126, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Wnck not available

[Feature Request] Video acceleration

Suggestion: Use opencl for rendering the video on GPU. Some older CPU dont have proper decoders and so it takes up 70%+ usage.

Benefits:

  • Longer battery life
  • Reduce CPU from 60-70% usage to 2-3%

Komorebi also uses CPU and that is one of the biggest faults, maybe Hidamari can overcome this challenge? Thanks!

Release in Flathub

Consider releasing the app on Flathub. It would be easy to install on any distro that way.

Gnome Top Panel Disappears When Only Viewing Desktop

Hi, I'm not sure if this is an intended feature or an unavoidable consequence, but it appears that the video frame overlaps what would be Gnome's top panel. Is there any way to either resize the view so that the panel can still show, or better yet, force the panel to be on top?

I am currently using a local video with both static image and detect maximized window enabled.

Missing dependency being listed (libwnck3)

I followed the installation guide and installed all listed dependencies, but I assume the python package from Arch Linux doesn't install libwnck3. When running hidamari I was getting ValueError: Namespace Wnck not available so I searched and found out I needed to install libwnck3.
Be sure to mention this dependency to help other Arch users.

Please help me to install I'm a newbie

So I'm on Endeavour Os Gnome and tried installing

  1. git clone https://github.com/jeffshee/hidamari.git
  2. sudo sh install.sh
    but I get this
[sudo] password for kundan: 
=== Hidamari Installer Script ===
This script will install Hidamari to /root/.hidamari
Please make sure that /root/bin is listed in the `PATH` environment variable
Otherwise please append `export PATH="$PATH:/root/bin"` to `.bashrc` (or `.zshrc` accordingly)
Current `PATH` environment variable: /usr/local/bin:/usr/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
Do you wish to proceed [y/N]?y
Cloning into '/root/hidamari_temp'...
remote: Enumerating objects: 28, done.
remote: Counting objects: 100% (28/28), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 28 (delta 2), reused 8 (delta 0), pack-reused 0
Receiving objects: 100% (28/28), 459.96 KiB | 7.67 MiB/s, done.
Resolving deltas: 100% (2/2), done.
cp: cannot create regular file '/root/.local/share/applications/hidamari.desktop': No such file or directory

Can someone help me please how to install this I'm a complete newbie

error when clicking on 'apply'

when i click on the 'apply' button on the local video section nothing happen, except this error in the terminal:

Traceback (most recent call last):
  File "/home/******/.hidamari/gui.py", line 118, in on_local_video_apply
    self.server.video(self.local_video_list[index])
  File "/usr/lib/python3.9/site-packages/pydbus/proxy_method.py", line 72, in __call__
    ret = instance._bus.con.call_sync(
gi.repository.GLib.Error: g-io-error-quark: GDBus.Error:unknown.NameError: no function 'libvlc_new' (36)

im on Manjaro with gnome 40.5

KeyError

Completed all the installation steps but got this output as issue

Config JSON:
{'audio_volume': 50,
 'data_source': None,
 'is_detect_maximized': True,
 'is_mute': False,
 'is_static_wallpaper': True,
 'mode': None,
 'static_wallpaper_blur_radius': 5,
 'version': 2}
Mode: Null
Monitor: width 1366 height 1366
WindowHandler: {'is_any_maximized': False, 'is_any_fullscreen': True}
Traceback (most recent call last):
  File "/home/om/bin/hidamari", line 33, in <module>
    server.run()
  File "/home/om/.hidamari/server.py", line 172, in run
    hidamari.dbus_published_callback()
  File "/home/om/.hidamari/server.py", line 50, in null
    self.player = NullPlayer(self.config)
  File "/home/om/.hidamari/null_player.py", line 15, in __init__
    self.menu = self._build_context_menu()
  File "/home/om/.hidamari/base_player.py", line 83, in _build_context_menu
    if 'gnome' in os.environ['XDG_CURRENT_DESKTOP'].lower():
  File "/usr/lib/python3.10/os.py", line 679, in __getitem__
    raise KeyError(key) from None
KeyError: 'XDG_CURRENT_DESKTOP'

Support for Mouse Tracking

Could you add support for mouse pointer tracking when embedding websites so that they can be more interactive?

Desktop Icons Support

Could support for showing and interacting with desktop icons be added? Currently desktop icons disappear when Hidamari is running on default Ubuntu 21.04 gnome configuration with the built-in Desktop Icons NG (DING) extension.

Possibility to choose another directory for videos

It's a good ideia to make possible to change the videos directory, i had an issue with the default videos directory, i use my OS in portuguese language and that changes the default directory name to VΓ­deos (with an accent), so i had to create another directory without the accent to resolve this.

Different videos per monitor

Sorry if this has already been discussed, but I didn't see a submitted issue for this. I'd love to be able to use different video wallpapers per monitor.

If it matters, I'm running Manjaro Gnome 21.2.4.

Thanks!

Dual monitor maximized window detection problem

I am using Hidamari on dual monitor and have enabled the detect maximized window. When I maximize a window just on the first monitor, the video wallpaper on the second monitor will also be paused, even though there maybe nothing on it. I think it is strange. So why not just detect the maximized window for each monitor?

Failed to create server

I am trying to run hidamari on fedora 36, but I get the following error:

Config JSON:
{'audio_volume': 50,
 'data_source': None,
 'is_detect_maximized': True,
 'is_mute': False,
 'is_static_wallpaper': True,
 'mode': None,
 'static_wallpaper_blur_radius': 5,
 'version': 2}
Error: Failed to create server

I tried both the bash script and the dnf package.

Hidamari auto launch not working properly on Ubuntu 20.04

The application is executed but for some reason Hidamari doesn't load.

Using top or htop I can see that the process is running (and using 100% of a single thread of the processor, I wonder why)

I tried manually creating a systemd user service, same result.

The only thing I didn't try yet is a cron job.

Hidamari not working in Gnome Wayland

Hello,
I wanted to give Hidamari a try because in the feature list is Wayland Support but i cant start it on Ubuntu 22.04 because of libwnck not working on Wayland.

On start i get this error message:

`Config JSON:
{'audio_volume': 50,
'data_source': None,
'is_detect_maximized': True,
'is_mute': False,
'is_static_wallpaper': True,
'mode': None,
'static_wallpaper_blur_radius': 5,
'version': 2}
Mode: Null
Monitor: width 1920 height 1920
Monitor: width 1920 height 1920
Monitor: width 1920 height 1920

(hidamari:9862): Wnck-WARNING **: 09:04:00.909: libwnck is designed to work in X11 only, no valid display found
Traceback (most recent call last):
File "/usr/bin/hidamari", line 3, in
server.run()
File "/usr/share/hidamari/server.py", line 170, in run
hidamari.dbus_published_callback()
File "/usr/share/hidamari/server.py", line 48, in null
self.player = NullPlayer(self.config)
File "/usr/share/hidamari/null_player.py", line 12, in init
super().init(config)
File "/usr/share/hidamari/base_player.py", line 35, in init
self.window_handler = WindowHandler(self._on_window_state_changed)
File "/usr/share/hidamari/utils.py", line 104, in init
self.screen.force_update()
AttributeError: 'NoneType' object has no attribute 'force_update'
`
If you know want I am doing wrong please help me out,
thank you :)

the .config

hello, i want to launch hidamari without have to select my wallpaper at each start. i have see there is a .config, i don t know what put in "mode" and i am not sure what put in "data source" i think the url or the absolute link to the file, can someone help me please?
thanks in advance

Got problem installing this

Hi,I tried to use apt or dpkg to install hidamari, but it said "depency python3-pydubus can't be installed", same as python3-vlc.
I am using ubuntu 16.04 right now.
Do you know what may be the cause of this?
Also, when I try to use unsuccessful installed hidamri, terminal shows that
"File "/usr/bin/hidamari", line 2, in
import server
File "/usr/share/hidamari/server.py", line 4, in
from gi.repository import GLib
ModuleNotFoundError: No module named 'gi'
"
could be a dumb question, but I really don't know how to fix it

Arch (Gnome) support?

Are there any plans of bringing this to Arch? Because right now it's not even installing properly.
I'm using Vanilla Arch with Gnome 41.2

Crash applying new local video

When applying new local video hidamari crashes.

This is the stacktrace

malloc(): unaligned tcache chunk detected
Traceback (most recent call last):
  File "/home/nezuko/Downloads/github/hidamari.git/main/src/gui.py", line 118, in on_local_video_apply
    self.server.video(self.local_video_list[index])
  File "/usr/lib/python3.9/site-packages/pydbus/proxy_method.py", line 72, in __call__
    ret = instance._bus.con.call_sync(
gi.repository.GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying (4)

Sample video
PS: in the video I'm using the main branch of my repo, which is up to date with the master branch.

Video acceleration doesn't work

OS: Fedora 33, X11
Need further investigation.

[00007f7ce8005d10] gl gl: Initialized libplacebo v2.72.0 (API v72)
libva info: VA-API version 1.9.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[00007f7ce8005d10] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
libva info: VA-API version 1.9.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[00007f7ce8005d10] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
libva info: VA-API version 1.9.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[00007f7ce8005d10] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
libva info: VA-API version 1.9.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[00007f7ce8005d10] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
libva info: VA-API version 1.9.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[00007f7ce8005d10] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
[00007f7ce8005d10] gl gl: Initialized libplacebo v2.72.0 (API v72)
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
[00007f7ce8005d10] gl gl: Initialized libplacebo v2.72.0 (API v72)

application not showing icons on pop os

i had a brief moment where i could see my icons i dont see any settings i could touch to fix it is this a glitch or it dossent have support to have icons at the same time?

Love the simplicity of your program. However.

Is it possible to not have the popup on launch the says to use the right button click on the desktop.
AND
is it possible for it to remember the last wall paper at boot so I don't have to set it each time?

Gnome become no response when right clicking the desktop

When I installed hidamari the first time, and applied the video wallpaper, it worked fine. If then I quit hidamari without saving the config (like by rebooting), the hidamari can still start up as well. But after I saving the config file:

-    "mode": null,
-    "data_source": null,
+    "mode": "MODE_VIDEO",
+    "data_source": "/home/lomirus/Videos/Hidamari/video.mp4",

And then launch the hidamari, though it can just start up, and play the animation and you can even interact with the windows, after you right clicking the desktop, all windows become no response but the wallpaper still keeps playing. You can still move the cursor, and the gnome panel and dash dock still have the hover animation. But if try to click it, it won't launch any programs.

More info:

OS: Manjaro Linux x86_64 
Host: 82B6 Lenovo Legion R7000 2020 
Kernel: 5.15.21-1-MANJARO 
Resolution: 1920x1080 
DE: GNOME 41.3 
WM: Mutter 
CPU: AMD Ryzen 5 4600H with Radeon Graphics (12) @ 3.000GHz 
GPU: NVIDIA 01:00.0 NVIDIA Corporation TU117M

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.