end-4 / dots-hyprland

i hate minimalism so...
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.95k stars 267 forks source link

[Issue] some random issues I stumbled upon #288

Open daUnknownCoder opened 7 months ago

daUnknownCoder commented 7 months ago

The issue

I am using thorium browser, chromium fork, but i have two mpris instances, one of them is the plasma-browser-integration which has the cover art and all, and there is another one which i dont want but it is spawned by the browser itself

> dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames|grep mpris
      string "org.mpris.MediaPlayer2.plasma-browser-integration"
      string "org.mpris.MediaPlayer2.chromium.instance245302"
> playerctl -F metadata
plasma-browser-integration kde:mediaSrc              blob:https://www.youtube.com/<some-random-link>
plasma-browser-integration kde:pid                   245302
plasma-browser-integration mpris:artUrl              https://i.ytimg.com/<some-url>
plasma-browser-integration mpris:length              21550161000
plasma-browser-integration mpris:trackid             '/org/kde/plasma/browser_integration/1337'
plasma-browser-integration xesam:artist              <some artist>
plasma-browser-integration xesam:title               <some title>
plasma-browser-integration xesam:url                 https://www.youtube.com/<some-url>

idk whats wrong or i am doing wrong... 2024-02-26-175041_hyprshot

If you see the image, if the video title is long, the ram swap cpu thing gets smaller, any way to truncate the title so that it doesnt interfere with that?

end-4 commented 7 months ago

disable this flag image

end-4 commented 7 months ago

If you see the image, if the video title is long, the ram swap cpu thing gets smaller, any way to truncate the title so that it doesnt interfere with that?

It's like that by design. If you don't like it, you can take a look at ~/.config/ags/modules/bar/music.js and comment these 4 lines

image

daUnknownCoder commented 7 months ago

thanks @end-4, that workd, i also notice that clicking the play/pause button on the bar doesnt toggle, and the play/pause on the mpris menu doesnt toggle too 2024-02-26-175041_hyprshot

daUnknownCoder commented 7 months ago

i also noticed that when i have nothing playing currently, the fillbar doesnt reset image

daUnknownCoder commented 7 months ago

also, i dont have the symbol like you do in the battery thing image

daUnknownCoder commented 7 months ago

Also my keys kinda stick idk why, like pressing Ctrl+<any-key> sometimes will stick my ctrl key so i have to press Ctrl again to unstick it...

end-4 commented 7 months ago

clicking the play/pause button on the bar doesnt toggle

either an AGS problem or your player's problem ¯\_(ツ)_/¯

when i have nothing playing currently, the fillbar doesnt reset

?

also, i dont have the ⚡ symbol like you do in the battery thing

it's a charging indicator. your battery is full so of course it doesn't show

pressing Ctrl+ sometimes will stick my ctrl key so i have to press Ctrl again to unstick it...

likely a hardware issue

daUnknownCoder commented 7 months ago

clicking the play/pause button on the bar doesnt toggle

either an AGS problem or your player's problem ¯\_(ツ)_/¯

Using thorium browser

when i have nothing playing currently, the fillbar doesnt reset

?

See image, the pause button has circle fill even if there is no media

also, i dont have the ⚡ symbol like you do in the battery thing

it's a charging indicator. your battery is full so of course it doesn't show

OK saw that srry...

pressing Ctrl+ sometimes will stick my ctrl key so i have to press Ctrl again to unstick it...

likely a hardware issue

B4 using ur dotfiles, it didn't happen...

end-4 commented 7 months ago
daUnknownCoder commented 7 months ago

image doesnt work, i have grimblast installed:

Usage:
  grimblast [--notify] [--cursor] [--freeze] [--wait N] [--scale <scale>] (copy|save|copysave|edit) [active|screen|output|area] [FILE|-]
  grimblast check
  grimblast usage

Commands:
  copy: Copy the screenshot data into the clipboard.
  save: Save the screenshot to a regular file or '-' to pipe to STDOUT.
  copysave: Combine the previous 2 options.
  edit: Open screenshot in the image editor of your choice (default is gimp). See man page for info.
  check: Verify if required tools are installed and exit.
  usage: Show this message and exit.

Targets:
  active: Currently active window.
  screen: All visible outputs.
  output: Currently active output.
  area: Manually select a region or window.
daUnknownCoder commented 7 months ago

i loose keyboard input focus if i click on the toggleable windows (AI, right side menu) see Aylur#153

daUnknownCoder commented 7 months ago

i get 2 notification from my browser for the same thing, notify-send works perfectly but notifications like reddit comments are coming twice with title and some <a href=...> anchor which is annoying and Actions and Settings button do not work for these 2024-02-28-030305_hyprshot

daUnknownCoder commented 7 months ago
  • about the ctrl key, what if you run pkill fcitx5 ?

there's no process of fcitx5 or fcitx but it is installed, it happens randomly while using neovim (i tell u its not a neovim problem) where i have mapped Ctrl+s and Ctrl+<arrow-keys for write+save and resizing buffers respectively, it randomly goes into Ctrl stick mode and i have to click Ctrl key again to let it go, also happened for Shift key, it randomly happens so there's no pattern, so no video too, sorry abt that @end-4

end-4 commented 7 months ago
adhbitch commented 3 months ago

i get 2 notification from my browser for the same thing, notify-send works perfectly but notifications like reddit comments are coming twice with title and some <a href=...> anchor which is annoying and Actions and Settings button do not work for these 2024-02-28-030305_hyprshot

Did you get the notifications to parse the url and display a formatted preview instead of the html script ?

daUnknownCoder commented 3 months ago

Did you get the notifications to parse the url and display a formatted preview instead of the html script ?

idk how to do that, and its the same for dunst and end-4's ags notifications they come twice: something in the format:

<a href="https://sitename">shortname</a>
<!-- ... body ... -->

something like: image image and its a little bit too small @end-4 image

and its just for thorium, other apps like kitty and all dont give 2 notifications

adhbitch commented 3 months ago

Did you get the notifications to parse the url and display a formatted preview instead of the html script ?

idk how to do that, and its the same for dunst and end-4's ags notifications they come twice: something in the format:

<a href="https://sitename">shortname</a>
<!-- ... body ... -->

something like: image image and its a little bit too small @end-4 image

and its just for thorium, other apps like kitty and all dont give 2 notifications

I see. I use chromium. It doesnt parse the urls but hey , atleast its one notification :))