[Bug]: AppImage integration with gnome launcher broken

未关闭
#35,990 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
半天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
linux
领域
desktop

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
24.8k
派生
6.4k
平均合并
59 分钟
30 天内合并 PR
418

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pingdotgg/t3code 的其他 Issue

查看 pingdotgg/t3code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。