37 lines
1.2 KiB
Markdown
Executable File
37 lines
1.2 KiB
Markdown
Executable File
- Launching the AppImage file
|
|
- > anytype for example
|
|
- move to /opt/bin/Anytype.AppImage
|
|
- change its permission `chmod u+x`
|
|
- Within the .AppImage directory create a temp directory and cd into it
|
|
- ````zsh
|
|
mkdir temp && cd temp
|
|
```
|
|
- Umpack the .AppImage
|
|
- ```zsh
|
|
../Anytype.AppImage --appimage-extract`
|
|
```
|
|
- Copy the icon to /usr/share/icons
|
|
- ```zsh
|
|
sudo cp ./squashfs-root/usr/share/icons/hicolor/0x0/apps/anytype2.png /usr/share/icons/Anytype.png
|
|
```
|
|
- Create /usr/share/applications/anytype.desktop(change the parameters to your linking)
|
|
- ```zsh
|
|
sudo vim /usr/share/applications/anytype.desktop
|
|
################################################
|
|
[Desktop Entry]
|
|
Name=Anytype
|
|
Comment=Digital brain
|
|
Exec=/opt/bin/Anytype.AppImage %U
|
|
Icon=/usr/share/icons/Anytype.png
|
|
Terminal=false
|
|
Type=Application
|
|
Encoding=UTF-8
|
|
Categories=Application;
|
|
Name[en_US]=Anytype
|
|
```
|
|
- Delete the temp folder
|
|
- :LOGBOOK:
|
|
CLOCK: [2023-05-25 Thu 17:38:08]
|
|
CLOCK: [2023-05-25 Thu 17:38:09]--[2023-05-25 Thu 17:38:49] => 00:00:40
|
|
CLOCK: [2023-05-25 Thu 17:38:50]
|
|
:END: |