[Bug]: AppImage integration with gnome launcher broken

Aperta
#35,990 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
linux
Ambito
desktop

Direzione di ricerca

Start in apps/desktop, looking for the code that writes the AppImage's Linux .desktop entry at launch, and check the NoDisplay and StartupWMClass values it sets. The linked comment on issue 27257 describes the manual fix that works with the .deb build. Done means a generated entry with NoDisplay=false and StartupWMClass=com.t3tools.T3Code that survives relaunching the AppImage, verified on GNOME.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug needs-triage
Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/desktop

Steps to reproduce

When installing t3 code via .AppImage in gnome (Ubuntu 26.10 and 26.04 tested in this case), it doesn't integrate with gnome activities overview launcher, like it is not available to launch/switch in there via the activities launcher.

Even if you manually edit the .desktop file to make it available, every launch of the app overwrites the .desktop with no activities launcher integration.

This makes using t3 code inconvenient to use via the .AppImage in gnome as the activities launcher is the main way in gnome to launch/switch to applications.

Steps to reproduce in gnome (ubuntu 26.10 and 26.04)

  1. Download the .AppImage
  2. Change the permissions of the .AppImage for it to be launched chmod +x T3-Code-0.1.9-x86_64.AppImage
  3. Launch the .AppImage manually via the files app or terminal
  4. No integration with the activities overview launcher, you can't launch or switch to t3 code with it.

The fix would be that when the .AppImage creates the .desktop files, it sets NoDisplay=false and adds StartupWMClass=com.t3tools.T3Code.

  • Current .desktop the .AppImage creates
[Desktop Entry]
Type=Application
Name=T3 Code (Beta)
Exec=/home/danielc/Applications/T3-Code-0.1.9-x86_64.AppImage %U
Icon=/home/danielc/.local/share/icons/com.t3tools.T3Code.desktop.png
Terminal=false
NoDisplay=true
StartupNotify=false
MimeType=x-scheme-handler/t3code;
  • .desktop fix
[Desktop Entry]
Type=Application
Name=T3 Code (Beta)
Exec=/home/danielc/Applications/T3-Code-0.1.9-x86_64.AppImage %U
Icon=/home/danielc/.local/share/icons/com.t3tools.T3Code.desktop.png
Terminal=false
NoDisplay=false
StartupNotify=false
MimeType=x-scheme-handler/t3code;
StartupWMClass=com.t3tools.T3Code

The main fixes are this

NoDisplay=false
StartupWMClass=com.t3tools.T3Code

The NoDisplay=false allows launcher integration and StartupWMClass=com.t3tools.T3Code allows switching to the app via the launcher when the app is open.

The path /home/danielc is for my system, this is different for every installation home folder.

Expected behavior
  1. Download the .AppImage
  2. Change the permissions of the .AppImage for it to be launched chmod +x T3-Code-0.1.9-x86_64.AppImage
  3. Launch the .AppImage manually via the files app or terminal
  4. Full integration with the activities overview launcher.
  5. When t3 code closed, launch the activities launcher, search for t3 code to launch it.
  6. When t3 code already open but other app is in focus, launch the activities launcher, search for t3 code to switch to it.
Actual behavior
  1. Download the .AppImage
  2. Change the permissions of the .AppImage for it to be launched chmod +x T3-Code-0.1.9-x86_64.AppImage
  3. Launch the .AppImage manually via the files app or terminal
  4. No integration with the activities overview launcher, you can't launch or switch to t3 code with it.
Impact

Blocks work completely

Version or commit

No response

Environment

Ubuntu 26.10 (also tested 26.04 with the same result)

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

Even if you manually edit the .desktop file to make it available, every launch of the app overwrites the .desktop with no activities launcher integration, so in regards of the .AppImage there is no workaround.

Install t3 code with the .deb and apply the one shot fix in here https://github.com/pingdotgg/t3code/issues/27257#event-35822844264

The caveat of using the .deb is that to update you need to enter your sudo password in t3 code.

Lingua principale
TypeScript
Stelle
24.8k
Fork
6.4k
Merge medio
59m
PR unite (30g)
418

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pingdotgg/t3code

Tutte le issue di pingdotgg/t3code

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.