Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
debian_gnome_menu_item [2025/02/09 16:24] raiser angelegt |
debian_gnome_menu_item [2025/02/09 16:31] (aktuell) raiser |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Gnome Menu Item [name.desktop] ====== | ====== Gnome Menu Item [name.desktop] ====== | ||
- | To create a menu item entry, create a file | + | To create a menu item entry, create a file (e.g. I will add Ride IDE) |
<code> | <code> | ||
- | $ vi ~/local/share/applications/NAME.desktop | + | $ vi ~/local/share/applications/rider.desktop |
</code> | </code> | ||
+ | Now add the following content with your pathes. | ||
+ | <code> | ||
+ | [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 | ||
+ | </code> | ||
+ | |||
+ | ===== 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 ===== | ||
+ | <code> | ||
+ | AudioVideo | ||
+ | Audio | ||
+ | Video | ||
+ | Development | ||
+ | Education | ||
+ | Game | ||
+ | Graphics | ||
+ | Network | ||
+ | Office | ||
+ | Settings | ||
+ | Utility | ||
+ | </code> | ||
+ | |||
+ | ==== Additional categories ==== | ||
+ | |||
+ | <code> | ||
+ | Building | ||
+ | Debugger | ||
+ | IDE | ||
+ | GUIDesigner | ||
+ | Profiling | ||
+ | RevisionControl | ||
+ | Translation | ||
+ | Calendar | ||
+ | ContactManagement | ||
+ | Database | ||
+ | Dictionary | ||
+ | Chart | ||
+ | |||
+ | 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 | ||
+ | </code> | ||
+ | |||
+ | ==== Reserved categories ==== | ||
+ | |||
+ | <code> | ||
+ | Screensaver | ||
+ | TrayIcon | ||
+ | Applet | ||
+ | Shell | ||
+ | </code> | ||
+ | |||
+ |