mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
feat(lmstudio): add Vulkan-aware desktop entry for LM Studio
This commit is contained in:
1 parent
4a43ecaea2
commit
2d008fe1ce
2 files changed
+23
No files matched your search
@@ -0,0 +1,18 @@
|
||||
[Desktop Entry]
|
||||
# Replaces lmstudio-bin's lmstudio.desktop (hidden by lmstudio.desktop here).
|
||||
# The ID matches the window app_id and the scratchpad spawn
|
||||
# (`gtk-launch ai.elementlabs.lmstudio` in umbriel/rules.toml and
|
||||
# omarchy-toggle-scratch). The session pins Vulkan to RADV; LM Studio's Vulkan
|
||||
# backend also gets the NVIDIA ICD so it can run models on the Thunderbolt eGPU.
|
||||
# The iGPU stays Vulkan device 0. Keep the env in sync with fish conf.d/10-env.fish.
|
||||
Type=Application
|
||||
Name=LM Studio
|
||||
GenericName=Large Language Model Studio
|
||||
Comment=A desktop app for exploring and running large language models locally
|
||||
Exec=env VK_DRIVER_FILES=/usr/share/vulkan/icd.d/radeon_icd.json:/usr/share/vulkan/icd.d/nvidia_icd.json MESA_VK_DEVICE_SELECT=1002:1586 lm-studio %U
|
||||
Icon=lmstudio-bin
|
||||
Categories=Development;ArtificialIntelligence;
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
StartupWMClass=ai.elementlabs.lmstudio
|
||||
MimeType=text/plain;
|
||||
@@ -0,0 +1,5 @@
|
||||
[Desktop Entry]
|
||||
# Hides lmstudio-bin's entry; ai.elementlabs.lmstudio.desktop replaces it.
|
||||
Type=Application
|
||||
Name=LM Studio
|
||||
Hidden=true
|
||||
Reference in new issue
Block a user