Difference between revisions of "OS-Linux-Desktop"

From KRayWiki
Jump to navigation Jump to search
(Alternate local menu notes vs. method prone to blocking add of installed software icons.)
(Add convert_gfx_to_xdg_icon.sh)
 
(5 intermediate revisions by the same user not shown)
Line 33: Line 33:
  
 
* '''''~/.config/menus/applications-merged/'''''
 
* '''''~/.config/menus/applications-merged/'''''
 +
*: '''''*.menu'''''
 +
* '''''~/.local/share/applications/'''''
 +
*: '''''*.desktop'''''
 +
* '''''/home/apps/menu/'''''
 +
*: '''''[[OS-Linux-Desktop-Scripts|generate_xdg-desktop-menu-commands.sh]]'''''
 +
*: '''''[[OS-Linux-Desktop-Scripts|xdg-desktop-menu-commands.sh]]'''''
 +
*: '''''[[OS-Linux-Desktop-Scripts|xdg-icon-resource-commands.sh]]'''''
 +
*: '''''*.desktop''''''
 +
** '''''128x128/'''''
 +
** '''''16x16/'''''
 +
** '''''22x22/'''''
 +
** '''''32x32/'''''
 +
** '''''64x64/'''''
 +
** '''''disable/'''''
 +
** '''''gfx/'''''
 +
*: '''''[[OS-Linux-Desktop-Scripts|convert_gfx_to_xdg_icon.sh]]'''''
 +
** '''''ico/'''''
  
 
=== See Also ===
 
=== See Also ===
  
 
* '''''~/.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