northerngugl.blogg.se

Kiwix linux package name
Kiwix linux package name




kiwix linux package name
  1. #Kiwix linux package name full
  2. #Kiwix linux package name code

Retrieve it from within the AppImage file as follows:

kiwix linux package name

desktop launcher file that you can use for a start. Once it is there, you optionally will be able to pin it to the Dash/Dock.Ĭommonly, the AppImage provides an icon and a. You can manually add a launcher for your AppImage in the dash. You can manually add a launcher to your menu, but there is also a tool in development that can integrate appimages This topic was modified 3 months, 1 week ago by PPC.ĪppImages have limited integration with your desktop environment.

#Kiwix linux package name code

#cp /tmp/appimage/$desk_file ~/appimage_$desk_fileĮdit: I altered the code above, and replaced the original version with one that *should* correctly extract and use most.

kiwix linux package name

Gksu cp /tmp/appimage/$desk_file /usr/share/applications/appimage_$desk_file desktop file in the /usr/share/applications folder with the prefix appimage (for easier management) Sed -i "s:Icon=.*:Icon=$HOME/appimage_icons/$icon :" /tmp/appimage/$desk_file Sleep 1 & echo Icon on desktop file is: $icon Sed -i "s:$original:Exec=$appimage_location :" /tmp/appimage/$desk_file ORIGINAL_EXEC=$(egrep "^Exec=" /tmp/appimage/$desk_file | cut -d'=' -f2| sed -n '1p'|cut -d' ' -f1)Īppimage_location=$(cat /tmp/appimage_path) Var=$(cat /tmp/lines_with_png_and_usr_share.txt)Ĭat /tmp/lines_with_png_and_usr_share.txtĭesk_file=$(cat /tmp/lines_with_desktop.txt| awk ''| grep "\.desktop"|head -n 1) Grep -n "usr/share" /tmp/lines_with_png.txt >/tmp/lines_with_png_and_usr_share.txt Grep -n ".png" /tmp/list.txt > /tmp/lines_with_png.txt Grep -n ".desktop" /tmp/list.txt > /tmp/lines_with_desktop.txt #find lines that contain only ".png" and "usr/share": #Check if a file was thenĮcho "This script is being run on a file (make sure it's an appimage file)."Įcho "There was no appimage file to add to the menu"įor FILE1 in sure that the appimage is executable When running the scrip, answer “a” to any question 7z asks…Īs always, please test at your own risk: #!/bin/bash

#Kiwix linux package name full

It was tested with several appimages: gimp, onlyoffice, audacity, a some more…įor now you have to run the scrip in the terminal and, launching the script, a space, and the full path to the appimage file you want to add to the menu.ĭependency: you do need to have 7z installed My aim is to add this little extra to FT10’s zzzfm configuration – simplifying the usage of appimages – you right click an appimage and have 2 extra options: – run appimage (that basicaly makes the file executable and runs it) and – add appimage to menu (that runs this script). The icon part is a bit hit or miss, it still requires a bit more work. A while back I tried to create a script that added appimage files to the menu – it kinda of worked, but I recently reworked it and it seems to work 100% of the times – the adding the appimage to the menu part.






Kiwix linux package name