Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] spotify: no WM_NAME or icon
@ 2022-04-10 14:26 wael444
  2022-04-14 11:01 ` wael444
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: wael444 @ 2022-04-10 14:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2257 bytes --]

New issue by wael444 on void-packages repository

https://github.com/void-linux/void-packages/issues/36615

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  ``Void 5.16.18_1 x86_64 GenuineIntel uptodate rrrrmmnFFFFFFF``
* package:  
  ``spotify-1.1.80_1``

### Expected behavior
```
XdndProxy(WINDOW): window id # 0x800003
WM_CLASS(STRING) = "spotify", "Spotify"
WM_NAME(STRING) = "Spotify"
_NET_WM_NAME(UTF8_STRING) = "Spotify"
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified location: 0, 0
_NET_WM_PID(CARDINAL) = 1649
WM_CLIENT_MACHINE(STRING) = "ephemera"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING
```


### Actual behavior
```
XdndProxy(WINDOW): window id # 0x2200003
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified location: 0, 0
_NET_WM_PID(CARDINAL) = 10902
WM_CLIENT_MACHINE(STRING) = "ephemera"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING
```
there is no WM_NAME.

### Steps to reproduce the behavior
1. install spotify from void-packages
2. `xprop` on the spotify window


this causes Spotify to not be able to be recognized by window manager users. + Spotify has no icon but that is a general issue through out all Linux Distributions i use.

my only personal workaround for this was to change the spotify's template to change spotify's patch `/usr/libexec` to `/opt` and symlinking `/opt/spotify/spotify` to `/usr/bin/spotify`.
```

do_install() {
        vmkdir usr/bin
...
..
	vmkdir opt/
	vcopy usr/share/spotify opt/
...
	mv "${DESTDIR}/opt/spotify/icons" "${DESTDIR}/usr/share/spotify/"
...

...
	mv "${DESTDIR}/opt/spotify/spotify.desktop" \
...
        ln -s /opt/spotify/spotify ${DESTDIR}/usr/bin/spotify

	vlicense EULA
}
```

using Arch's spotify template or flatpak works fine however.
related to https://github.com/dasJ/spotifywm/issues/8

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: spotify: no WM_NAME or icon
  2022-04-10 14:26 [ISSUE] spotify: no WM_NAME or icon wael444
@ 2022-04-14 11:01 ` wael444
  2022-05-01  4:00 ` wael444
  2022-05-01  4:00 ` [ISSUE] [CLOSED] " wael444
  2 siblings, 0 replies; 4+ messages in thread
From: wael444 @ 2022-04-14 11:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

New comment by wael444 on void-packages repository

https://github.com/void-linux/void-packages/issues/36615#issuecomment-1099069195

Comment:
i am unable to make it have WM_NAME without setting `/usr/libexec` to anywhere else, such as `/opt`. why is it set to `libexec` exactly? or is that how its like inside the actual deb file from Spotify?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: spotify: no WM_NAME or icon
  2022-04-10 14:26 [ISSUE] spotify: no WM_NAME or icon wael444
  2022-04-14 11:01 ` wael444
@ 2022-05-01  4:00 ` wael444
  2022-05-01  4:00 ` [ISSUE] [CLOSED] " wael444
  2 siblings, 0 replies; 4+ messages in thread
From: wael444 @ 2022-05-01  4:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]

New comment by wael444 on void-packages repository

https://github.com/void-linux/void-packages/issues/36615#issuecomment-1114121837

Comment:
spotify problem. my original solution no longer works

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ISSUE] [CLOSED] spotify: no WM_NAME or icon
  2022-04-10 14:26 [ISSUE] spotify: no WM_NAME or icon wael444
  2022-04-14 11:01 ` wael444
  2022-05-01  4:00 ` wael444
@ 2022-05-01  4:00 ` wael444
  2 siblings, 0 replies; 4+ messages in thread
From: wael444 @ 2022-05-01  4:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2260 bytes --]

Closed issue by wael444 on void-packages repository

https://github.com/void-linux/void-packages/issues/36615

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  ``Void 5.16.18_1 x86_64 GenuineIntel uptodate rrrrmmnFFFFFFF``
* package:  
  ``spotify-1.1.80_1``

### Expected behavior
```
XdndProxy(WINDOW): window id # 0x800003
WM_CLASS(STRING) = "spotify", "Spotify"
WM_NAME(STRING) = "Spotify"
_NET_WM_NAME(UTF8_STRING) = "Spotify"
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified location: 0, 0
_NET_WM_PID(CARDINAL) = 1649
WM_CLIENT_MACHINE(STRING) = "ephemera"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING
```


### Actual behavior
```
XdndProxy(WINDOW): window id # 0x2200003
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified location: 0, 0
_NET_WM_PID(CARDINAL) = 10902
WM_CLIENT_MACHINE(STRING) = "ephemera"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING
```
there is no WM_NAME.

### Steps to reproduce the behavior
1. install spotify from void-packages
2. `xprop` on the spotify window


this causes Spotify to not be able to be recognized by window manager users. + Spotify has no icon but that is a general issue through out all Linux Distributions i use.

my only personal workaround for this was to change the spotify's template to change spotify's patch `/usr/libexec` to `/opt` and symlinking `/opt/spotify/spotify` to `/usr/bin/spotify`.
```

do_install() {
        vmkdir usr/bin
...
..
	vmkdir opt/
	vcopy usr/share/spotify opt/
...
	mv "${DESTDIR}/opt/spotify/icons" "${DESTDIR}/usr/share/spotify/"
...

...
	mv "${DESTDIR}/opt/spotify/spotify.desktop" \
...
        ln -s /opt/spotify/spotify ${DESTDIR}/usr/bin/spotify

	vlicense EULA
}
```

using Arch's spotify template or flatpak works fine however.
related to https://github.com/dasJ/spotifywm/issues/8

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-01  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-10 14:26 [ISSUE] spotify: no WM_NAME or icon wael444
2022-04-14 11:01 ` wael444
2022-05-01  4:00 ` wael444
2022-05-01  4:00 ` [ISSUE] [CLOSED] " wael444

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).