Benutzer-Werkzeuge

Webseiten-Werkzeuge


debian_gnome_menu_item

Gnome Menu Item [name.desktop]

To create a menu item entry, create a file (e.g. I will add Ride IDE)

$ vi ~/local/share/applications/rider.desktop

Now add the following content with your pathes.

[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Rider IDE
Comment=Rider IDE
Icon=/opt/jetbrains/JetBrains.Rider-2023.3.4/bin/rider.png
Exec=/opt/jetbrains/JetBrains.Rider-2023.3.4/bin/rider.sh
Terminal=false
Categories=Development

Desktop file entries

  • [Desktop Entry] the Desktop Entry group header identifies the file as a desktop entry
  • Type the type of the entry, valid values are Application, Link and Directory
  • Encoding the character encoding of the desktop file
  • Name the application name visible in menus or launchers
  • Comment a description of the application used in tooltips
  • Icon the icon shown for the application in menus or launchers
  • Exec the command that is used to start the application from a shell.
  • Terminal whether the application should be run in a terminal, valid values are true or false
  • Categories semi-colon (;) separated list of menu categories in which the entry should be shown

Available categories

AudioVideo
Audio   
Video   
Development 
Education   
Game    
Graphics    
Network 
Office  
Settings
Utility 

Additional categories

Building
Debugger
IDE
GUIDesigner
Profiling
RevisionControl
Translation
Calendar
ContactManagement
Database
Dictionary
Chart
Email
Finance
FlowChart
PDA
ProjectManagement
Presentation
Spreadsheet
WordProcessor
2DGraphics
VectorGraphics
RasterGraphics
3DGraphics
Scanning
OCR
Photography
Publishing
Viewer
TextTools
DesktopSettings
HardwareSettings
Printing
PackageManager
Dialup
InstantMessaging
Chat
IRCClient
FileTransfer
HamRadio
News
P2P
RemoteAccess
Telephony
TelephonyTools
VideoConference
WebBrowser
WebDevelopment
Midi
Mixer
Sequencer
Tuner
TV
AudioVideoEditing
Player
Recorder
DiscBurning
ActionGame
AdventureGame
ArcadeGame
BoardGame
BlocksGame
CardGame
KidsGame
LogicGame
RolePlaying
Simulation
SportsGame
StrategyGame
Art
Construction
Music
Languages
Science
ArtificialIntelligence
Astronomy
Biology
Chemistry
ComputerScience
DataVisualization
Economy
Electricity
Geography
Geology
Geoscience
History
ImageProcessing
Literature
Math
NumericalAnalysis
MedicalSoftware
Physics
Robotics
Sports
ParallelComputing
Amusement
Archiving
Compression
Electronics
Emulator
Engineering
FileTools
FileManager
TerminalEmulator
Filesystem
Monitor
Security
Accessibility
Calculator
Clock
TextEditor
Documentation
Core
KDE
GNOME
GTK
Qt
Motif
Java
ConsoleOnly

Reserved categories

Screensaver
TrayIcon
Applet
Shell
debian_gnome_menu_item.txt · Zuletzt geändert: 2025/02/09 16:31 von raiser