Difference between revisions of "OS-Linux-Desktop"

From KRayWiki
Jump to navigation Jump to search
(More resources related to local menu customization.)
(Add convert_gfx_to_xdg_icon.sh)
 
(3 intermediate revisions by the same user not shown)
Line 37: Line 37:
 
*: '''''*.desktop'''''
 
*: '''''*.desktop'''''
 
* '''''/home/apps/menu/'''''
 
* '''''/home/apps/menu/'''''
*: '''''generate_xdg-desktop-menu-commands.sh'''''
+
*: '''''[[OS-Linux-Desktop-Scripts|generate_xdg-desktop-menu-commands.sh]]'''''
*: '''''xdg-desktop-menu-commands.sh'''''
+
*: '''''[[OS-Linux-Desktop-Scripts|xdg-desktop-menu-commands.sh]]'''''
*: '''''xdg-icon-resource-commands.sh'''''
+
*: '''''[[OS-Linux-Desktop-Scripts|xdg-icon-resource-commands.sh]]'''''
 
*: '''''*.desktop''''''
 
*: '''''*.desktop''''''
 
** '''''128x128/'''''
 
** '''''128x128/'''''
Line 48: Line 48:
 
** '''''disable/'''''
 
** '''''disable/'''''
 
** '''''gfx/'''''
 
** '''''gfx/'''''
 +
*: '''''[[OS-Linux-Desktop-Scripts|convert_gfx_to_xdg_icon.sh]]'''''
 
** '''''ico/'''''
 
** '''''ico/'''''
  
Line 53: Line 54:
  
 
* '''''~/.config/openbox/xdg-menu.xml'''''
 
* '''''~/.config/openbox/xdg-menu.xml'''''
 +
 +
</blockquote>
 +
 +
= Icons =
 +
 +
<blockquote>
 +
 +
=== Extract From .exe Files ===
 +
 +
* https://stackoverflow.com/a/36808689/856172
 +
** Example:
 +
*: cd /home/apps/menu/ico
 +
*: wrestool -x --type=14 /home/raid/apps/x-plane/X-Plane.exe >X-Plane.ico
 +
*: cd ../gfx
 +
*: convert ../ico/X-Plane.ico X-Plane.png
 +
*: ls X-Plane-*.png
 +
*: ''Browse the folder and pick the best candidate.''
 +
*: rm -f X-Plane-?.png X-Plane-10.png
 +
*: mv X-Plane-11.png X-Plane.png
 +
*: cd ..
 +
*: ./make-icons.sh gfx/X-Plane.png
  
 
</blockquote>
 
</blockquote>

Latest revision as of 18:13, 29 March 2020

See Also 
OS-Linux

KDE

Customizing the Application Menu

Edit the Application Menu

  • Right-click the Application Menu launch button
    • Choose Edit Applications

Location of Menu Changes

  • ~/.local/share/applications

Why does installed software not show up?

  • Customizations to the application menu seem to block menu updates.

XDG

Edit the Application Menu

  • TBD

Location of Menu Files

See Also

  • ~/.config/openbox/xdg-menu.xml

Icons

Extract From .exe Files

  • https://stackoverflow.com/a/36808689/856172
    • Example:
    cd /home/apps/menu/ico
    wrestool -x --type=14 /home/raid/apps/x-plane/X-Plane.exe >X-Plane.ico
    cd ../gfx
    convert ../ico/X-Plane.ico X-Plane.png
    ls X-Plane-*.png
    Browse the folder and pick the best candidate.
    rm -f X-Plane-?.png X-Plane-10.png
    mv X-Plane-11.png X-Plane.png
    cd ..
    ./make-icons.sh gfx/X-Plane.png