linux:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:start [2025/04/08 22:10] – [AppImages] mhlinux:start [2026/01/01 10:23] (current) – [Useful shell] mh
Line 1: Line 1:
 ====== Linux ====== ====== Linux ======
  
-  -[[linux:RBS|Razer Blade Stealth in Linux]] +  -**[[linux:RBS|Razer Blade Stealth in Linux]]** 
-  -[[linux:lampp|LAMPP local server]] +  -**[[linux:lampp|LAMPP local server]]** 
-  -[[linux:git|Git basics]] +  -**[[linux:git|Git basics]]** 
-  -[[linux:bash|Bash]] +  -**[[linux:bash|Bash]]** 
-  -[[linux:sed|sed]]+  -**[[linux:sed|sed]]**
  
 ===== PATH ===== ===== PATH =====
Line 92: Line 92:
 Extract the content of an AppImage : Extract the content of an AppImage :
  
 +<code bash>
 ./your.AppImage --appimage-extract ./your.AppImage --appimage-extract
 +#And copy to somewhere sensible
 +sudo cp squashfs-root/myapp.png /usr/share/icons/hicolor/256x256/apps/
 +</code>
  
 This is useful if you want to get the Icon. This is useful if you want to get the Icon.
Line 104: Line 108:
 $ ./example.AppImage $ ./example.AppImage
 </code> </code>
 +
 +Some AppImages support:
 +
 +<code bash>
 +./MyApp.AppImage --install
 +</code>
 +
 +This automatically:
 +  * Creates a .desktop file
 +  * Extracts the icon
 +  * Registers everything correctly
 +
 +If it works, this is the cleanest solution. If not, manual extraction remains the most reliable path.
  
 ---- ----
Line 527: Line 544:
  
 ---- ----
 +
 +=== Empty a file ===
 +
 +<code bash>
 +: > ~/path/to/file
 +</code>
 +
 +  * : is the shell’s no-op builtin
 +  * Redirection truncates the file to zero bytes
 +  * File permissions and ownership are preserved
  
 ===== apt and dpkg ===== ===== apt and dpkg =====
  • linux/start.1744143022.txt.gz
  • Last modified: 2025/06/02 21:18
  • (external edit)