Comments (5)
I'll need to reproduce this before I can fix it... I'll probably see it when testing 20.1 Xfce and MATE.
These DE should really use the name that is in the .desktop file but if they didn't, here are a couple of ideas.
We can call self.window.set_title("Hypnotix") to set the window name. We can also use the python setproctitle module to set the process name.
from hypnotix.
from hypnotix.
That's a good idea @clefebvre. So I was working on my iHeartRadio Electron Webapp and I noticed GNOME Shell titled the window 'iheartradio-webapp'. I figured out this was because the name of the NPM package name was 'iheartradio-webapp'. The fix was renaming the package to 'iHeartRadio'.
It is clear that the whatever the window/process is named after is what it will be called.
Technically the baby solution is to just rename hypnotix.py to just "Hypnotix" but that's probably not a good idea. The configuration for the title seems fine, so I'm going to look at other GNOME projects and see what I can do.
from hypnotix.
Actually, we're already using setproctitle... the process name is hypnotix
.
Other than Cinnamon, it's fine also in Xfce and in MATE. There's one place where I see something wrong though... in Xfce's Alt-tab, one label says Hypnotix and the other says Hypnotix py... I get the feeling it's the window title which is not set.
from hypnotix.
I have an idea.
Setproctitle docs say that setthreadtitle() is a thing. (https://pypi.org/project/setproctitle/)
However pip3 claims the latest version is 1.1.10 and this was added in 1.2, so if I can force update proctitle then maybe that will work.
from hypnotix.
Related Issues (20)
- Possible to add VLC as an optional player? It supports auto reconnect to stream. HOT 2
- Incorrect or missed flags HOT 1
- Request - Saving Bookmarks HOT 1
- Not working channels shows loading icon forever instead of showing error HOT 1
- 'gi.repository.XApp' object has no attribute 'DarkModeManager' AND cannot resize vertical on some streams.
- Ship yt-dlp with Linux Mint package repository HOT 1
- Add AR (Arabic) badge and documentaries badge
- It stopped working after recent updates. HOT 1
- What does these letter markings mean? HOT 2
- how to build or run? documentation bug
- file:/// works instead of imgur. So say it. Why not support paths like in warpinator-send?
- [ITA] RAI Works temporarily, then stops. Might be redirect + frequent change of m3u8 HOT 1
- [Request] Add scrape/length limit for playlists
- Several channels are not loading (e. g. UK, USA, Poland, Austria and some others (Hypnotix 4.3) HOT 1
- Hypnotix frozen when installing new provider HOT 1
- More of a question than an issue.
- [ISSUE] Can't pin to panel on Debian Bookworm (GNOME)
- Cannot get EPG to show HOT 2
- Odd behaviour when playing channels, new window is opened HOT 3
- [Feature Request] "Shuffle" option for playlists
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 hypnotix.