Github messages for voidlinux
 help / color / mirror / Atom feed
From: wael444 <wael444@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] spotify: no WM_NAME or icon
Date: Sun, 01 May 2022 06:00:43 +0200	[thread overview]
Message-ID: <20220501040043.OYWliefmeGnNec8zZ1p2dNd4IRlskoas8aXwK2V3rbU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36615@inbox.vuxu.org>

[-- 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

      parent reply	other threads:[~2022-05-01  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-10 14:26 [ISSUE] " wael444
2022-04-14 11:01 ` wael444
2022-05-01  4:00 ` wael444
2022-05-01  4:00 ` wael444 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220501040043.OYWliefmeGnNec8zZ1p2dNd4IRlskoas8aXwK2V3rbU@z \
    --to=wael444@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).