waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

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

Open C0sm0cats opened this issue 1 year ago • 9 comments

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.

C0sm0cats avatar Sep 26 '24 15:09 C0sm0cats

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

esimkowitz avatar Sep 26 '24 22:09 esimkowitz

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 avatar Sep 27 '24 06:09 C0sm0cats

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.

C0sm0cats avatar Sep 27 '24 06:09 C0sm0cats

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

esimkowitz avatar Sep 27 '24 16:09 esimkowitz

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 avatar Sep 29 '24 04:09 C0sm0cats

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!

C0sm0cats avatar Sep 29 '24 04:09 C0sm0cats

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 avatar Sep 29 '24 16:09 esimkowitz

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?

esimkowitz avatar Sep 30 '24 22:09 esimkowitz

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

C0sm0cats avatar Oct 01 '24 05:10 C0sm0cats

Closing this as unplanned

esimkowitz avatar Nov 27 '24 17:11 esimkowitz