创建.desktop文件时,有效的类别是什么?


23

我可以获取创建桌面图标时可以放置的所有类别的列表或列表的链接吗?具体来说,我希望我的图标出现在“游戏”镜头中,但我对所有可用类别感到好奇。运行Ubuntu 14.04。


1
我添加了类别“游戏”,运行桌面文件验证时,它给了我错误,并且不会在游戏镜头中显示。
cosmoflop12 2015年

1
我添加了类别列表;)看起来像是“游戏”而不是“游戏”
Rinzwind

Answers:


27

有关.desktop条目的官方规范,请参见http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html,该页面还包含指向类别的链接。

  • 主要类别。请注意,类别名称区分大小写。

    AudioVideo
    Audio   
    Video   
    Development 
    Education   
    Game    
    Graphics    
    Network 
    Office  
    Settings
    Utility 
    
  • 它也有很长的“其他类别”列表

    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
    
  • 和“保留类别”。

    Screensaver
    TrayIcon
    Applet
    Shell
    

我们可以添加自己的类别吗?
亚伦弗兰克
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.