wavetermdev / waveterm

An open-source, cross-platform terminal for seamless workflows
https://www.waveterm.dev
Apache License 2.0
4.37k stars 112 forks source link

Loss of Application Icon for Pinning to Dash After Upgrade on Arch Linux #863

Open C0sm0cats opened 1 month ago

C0sm0cats commented 1 month ago

when I upgrade from version 0.7.6-1 to 0.8.5-1 on Arch Linux I lose the application icon to pin to the Dash.

esimkowitz commented 1 month ago

Yeah this is likely because we renamed the Linux binary, are you able to re-add it?

C0sm0cats commented 1 month ago

Hello. I’m not sure how to re-enable pinning waveterm to the dash-to-panel with its icon. Do you have any suggestions on how to restore that functionality?

Additionally, I previously uninstalled version 0.7.6-1 and installed the pacman version 0.8.6-1. When I run it from the command line, I receive the following error message:

"shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory error configuring updater Error: ENOENT: no such file or directory, open '/usr/lib/electron32/resources/app-update.yml"

WR

C0sm0cats commented 1 month ago

Hello, I wanted to provide an update regarding the installation of Waveterm. Here are the key details:

The binary is located at /usr/bin/waveterm -rw-r-xr-x root root 1.1 KB Fri Sep 27 08:06:49 2024 waveterm

The .desktop file is located at /usr/share/applications/waveterm.desktop -rw-r--r-- root root 292 B Fri Sep 27 08:06:49 2024 waveterm.desktop

Modification Summary I made the following modification to the waveterm.desktop file to ensure it points to the correct executable: Original line: Exec=/opt/Wave/waveterm %U Updated line: Exec=/usr/bin/waveterm %U

This change resolved my issue, and Waveterm is now successfully pinned to the Dash to Panel with its icon.

esimkowitz commented 1 month ago

Thank you for this, sounds like we need a custom postinstall script

C0sm0cats commented 1 month ago

You're welcome! And absolutely, a custom postinstall script would be ideal for this scenario. By the way, I must say that Waveterm is undoubtedly the best terminal editor out there right now and works perfectly on Manjaro. congratulations on such an outstanding tool!

C0sm0cats commented 1 month ago

It would be amazing if AI could directly analyze the code in a separate Waveterm block and assist with development, even though it seems quite challenging. It's something I dream of!

esimkowitz commented 1 month ago

Yes!! We're really excited about the AI functionality. We're experimenting now with giving it more context into what's actually happening in the app so it can assist you better

esimkowitz commented 1 month ago

Hey @C0sm0cats I'm a bit confused as to why the desktop needs to point to /usr/bin/waveterm, I am not seeing the same issue on my computer, despite the desktop entry pointing to /opt/Wave/waveterm.

Did you have an old desktop entry for the v0.7 version of the app?

C0sm0cats commented 1 month ago

Hi @esimkowitz Yes, I did have an older version installed, which was installed using the command: sudo pacman -U Wave-linux-x64-0.7.6.pacman .

I might have also tried upgrading through pamac using either waveterm-bin or waveterm-git to version 0.7.6-1, which could have led to my issue. but I don’t really remember for sure