Help with editing .desktop files

Forum rules
Before you post please read this

Help with editing .desktop files

Postby neruson1981 on Fri Nov 02, 2012 10:32 am

Linux Mint 13 Maya Xfce 64 bit.

First off, I'm mainly a Fedora user. I have been since Fedora 7. With the exception of using Arch Linux for a couple years that's really the only Linux distro I've used (with the exception of brief trial runs), but over the years Linux has become my main OS and I want my desktop (it's basically my TV/media center) to have better proprietary driver support. Fedora, due to it's philosophy has no official support for this.

But anyway, I'm trying to manually edit the .desktop files in the xfce menu to get rid of double entries. In the Settings entry, at least in Fedora, I could just add a "NoDisplay=true" to the end of the file and have it removed from the Menu but still have it show up in the Settings Manager application. This doesn't seem to be the case in Mint because when I add this to the Accessibility entry it removes it from both the menu and the application (I'm assuming this is due to it being packaged differently under Mint/Ubuntu). So how do I get rid of the entry in the menu but keep the entry in the Settings Manager application?

Here's my example of accessibility.desktop with my changes:

Code: Select all
[Desktop Entry]
Version=1.0
Name=Accessibility
Name[ar]=الإتاحة
Name[ast]=Accesibilidá
Name[bn]=স্বাচ্ছন্দ্যকরণ
Name[ca]=Accessibilitat
Name[cs]=Přístupnost
Name[da]=Tilgængelighed
Name[de]=Barrierefreiheit
Name[el]=Προσβασιμότητα
Name[en_GB]=Accessibility
Name[es]=Accesibilidad
Name[eu]=Erabilerraztasuna
Name[fi]=Esteettömyys
Name[fr]=Accessibilité
Name[gl]=Accesibilidade
Name[he]=נגישות
Name[hr]=Pristupačnost
Name[hu]=Akadálymentesítés
Name[id]=Aksesibilitas
Name[is]=Aðgengi
Name[it]=Accessibilità
Name[ja]=アクセシビリティ
Name[kk]=Қолжетерлілік
Name[ko]=접근성
Name[lt]=Prieinamumas
Name[lv]=Pieejamība
Name[nb]=Tilgjengelighet
Name[nl]=Toegankelijkheid
Name[nn]=Tilgjenge
Name[pa]=ਅਸੈਸਬਿਲਟੀ
Name[pl]=Ułatwienia dostępu
Name[pt]=Acessibilidade
Name[pt_BR]=Acessibilidade
Name[ro]=Accesibilitate
Name[ru]=Специальные возможности
Name[si]=ප්‍රවේශ්‍යතාව
Name[sk]=Prístupnosť
Name[sv]=Hjälpmedelsfunktioner
Name[te]=దర్శనసౌలభ్యత
Name[tr]=Erişilebilirlik
Name[uk]=Доступність
Name[ur]=قابلیت رسائی
Name[ur_PK]=قابلیت رسائی
Name[zh_CN]=辅助功能
Name[zh_TW]=輔助功能
Comment=Improve keyboard and mouse accessibility
Comment[ar]=تحسين الولوج للوحة المفاتيح والفارة
Comment[ast]=Meyora l'accesibilidá de tecláu y mur
Comment[bn]=কীবোর্ড ও মাউসের স্বাচ্ছন্দ্যকরণ উন্নত করুন
Comment[ca]=Millora l'accessibilitat del teclat i ratolí
Comment[cs]=Vylepšete přístupnost klávesnice a myši
Comment[da]=Forbedr tastatur- og mustilgængelighed
Comment[de]=Erleichtern Sie sich die Verwendung von Tastatur und Maus
Comment[el]=Βελτίωση προσβασιμότητας πληκτρολογίου και ποντικιού
Comment[en_GB]=Improve keyboard and mouse accessibility
Comment[es]=Mejore la accesibilidad de teclado y ratón
Comment[eu]=Gaitu teklatu eta sagu erabilerraztasuna
Comment[fi]=Helpota näppäimistön ja hiiren käyttöä
Comment[fr]=Améliorer l'accessibilité du clavier et de la souris
Comment[gl]=Mellorar a accesibilidade do teclado e do rato
Comment[he]=שיפור נגישות של עכבר ומקלדת
Comment[hr]=Poboljšajte pristupačnost tipkovnice i miša
Comment[hu]=Billentyűzet és egér akadálymentesítésének javítása
Comment[id]=Tingkatkan aksesibilitas papan ketik dan tetikus
Comment[it]=Impostazione dell'accessibilità di mouse e tastiera
Comment[ja]=キーボードとマウスのユーザー補助機能を向上させます
Comment[kk]=Пернетақта мен тышқан қолжетерлілігін жақсарту
Comment[ko]=키보드와 마우스의 접근성을 향상합니다
Comment[lt]=Pagerinti klaviatūros ir pelės pasiekiamumą
Comment[lv]=Uzlabo klaviatūras un peles pieejamību
Comment[nb]=Forbedre tilgjengeligheten med tastatur og mus
Comment[nl]=Toegankelijkheid van muis en toetsenbord verbeteren
Comment[nn]=Betra tilgjenget for mus og tastatur
Comment[pl]=Konfiguruje ułatwienia dostępu interfejsów klawiatury i myszy
Comment[pt]=Melhorar a acessibilidade do teclado e do rato
Comment[pt_BR]=Melhore a acessibilidade do teclado e do mouse
Comment[ro]=Îmbunătățiți accesibilitatea tastaturii și a mausului
Comment[ru]=Настройка специальный вожможностей клавиатуры и мыши
Comment[sk]=Zlepšite prístupnosť klávesnice a myši
Comment[sv]=Förbättra hjälpfunktioner för tangentbord och mus
Comment[tr]=Klavye ve fare erişilebilirliklerini düzenleyiniz
Comment[ug]=باستاختا ۋە چاشقىنەك accessibility نى ياخشىلاش
Comment[uk]=Покращення доступності миші і клавіатури
Comment[ur]=کیبورڈ اور ماؤس کی قابلیت رسائی بہتر کریں
Comment[ur_PK]=کیبورڈ اور ماؤس کی قابلیت رسائی بہتر کریں
Comment[zh_CN]=改善键盘和鼠标的辅助功能
Comment[zh_TW]=改善鍵盤與滑鼠的輔助能力
Exec=xfce4-accessibility-settings
Icon=preferences-desktop-accessibility
Terminal=false
Type=Application
Categories=XFCE;Settings;GTK;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;
StartupNotify=true
OnlyShowIn=XFCE;
X-XfcePluggable=true
X-XfceHelpPage=accessibility
NoDisplay=true
Desktop: LMDE Mate / Windows 7 Ultimate
Laptop: Fedora 18 Xfce
neruson1981
Level 1
Level 1
 
Posts: 9
Joined: Wed Aug 03, 2011 1:29 pm

Linux Mint is funded by ads and donations.
 

Re: Help with editing .desktop files

Postby jjaythomas on Fri Nov 02, 2012 11:34 am

http://forums.linuxmint.com/viewtopic.php?f=110&t=111564

Already was disscussed few question down. :?

'alacarte' menu editor does not work as expected in 'Mints' (little buggy but does work in Buntu's). **Opinion** think Mint doesn't use standard menu totally unmolested** :?:

Using 'mintconfig-xpce' control center (still in LMDE repo, but not in standard(Buntu) repos. Not sure if Debian package will work in Maya? :roll:

I get around it by (in LMDE-Xfce) my using 'mintconfig (drag & drop anything else on custom tab) and use alacarte to disable 'setting' (& system) in main menu (that part works in 'alacarte in mint!) I then use a panel lancher to mintconfig-xfce.

LMDE isn't that much differnt to a 'Main' edition (read Buntu) but xfce still 4.8 (better than using a PPA for 4.10 core with lots of stuff in repo breaking :cry: )
But with LMDE still no (Jockey) offically for Video drivers (good howtos tho) :wink:

Maybe the Mint14-Xfce will have menu and editors (alacarte) sorted out. :oops:

P.S. I also like 'app Finder' as replacement for main menu. (Uses same menu base listings) :wink:

J.Jay
jjaythomas
Level 5
Level 5
 
Posts: 597
Joined: Sun Mar 07, 2010 12:52 pm

Re: Help with editing .desktop files

Postby neruson1981 on Tue Nov 06, 2012 12:15 pm

jjaythomas wrote:http://forums.linuxmint.com/viewtopic.php?f=110&t=111564

Already was disscussed few question down. :?

'alacarte' menu editor does not work as expected in 'Mints' (little buggy but does work in Buntu's). **Opinion** think Mint doesn't use standard menu totally unmolested** :?:

Using 'mintconfig-xpce' control center (still in LMDE repo, but not in standard(Buntu) repos. Not sure if Debian package will work in Maya? :roll:

I get around it by (in LMDE-Xfce) my using 'mintconfig (drag & drop anything else on custom tab) and use alacarte to disable 'setting' (& system) in main menu (that part works in 'alacarte in mint!) I then use a panel lancher to mintconfig-xfce.

LMDE isn't that much differnt to a 'Main' edition (read Buntu) but xfce still 4.8 (better than using a PPA for 4.10 core with lots of stuff in repo breaking :cry: )
But with LMDE still no (Jockey) offically for Video drivers (good howtos tho) :wink:

Maybe the Mint14-Xfce will have menu and editors (alacarte) sorted out. :oops:

P.S. I also like 'app Finder' as replacement for main menu. (Uses same menu base listings) :wink:

J.Jay


Oops, sorry about that. Didn't notice the other post. I work 10-12 hour night shifts. I'm not all there at times :oops:

Oh well though. I guess I can just remove the settings manager entry from my menu and just add the launcher to my panel or AWN.

I like appfinder to, but I actually use Synapse. It's more complete and I can search anything and even launch google searches from it, but I still like having a nice, traditional clean menu as well. That's the one thing that always aggravated me about Xfce: so many needless, double entries in that menu. I have a serious pet peeve about my setups on my computers. Little things like that just tend to drive me nuts. :lol:
Desktop: LMDE Mate / Windows 7 Ultimate
Laptop: Fedora 18 Xfce
neruson1981
Level 1
Level 1
 
Posts: 9
Joined: Wed Aug 03, 2011 1:29 pm

Re: Help with editing .desktop files

Postby jjaythomas on Wed Nov 07, 2012 12:40 am

Oops, sorry about that. Didn't notice the other post. I work 10-12 hour night shifts. I'm not all there at times :oops:


No problem I worked 3rd shift most of 30 years (mostly 12 hours so actually nite or day shift not 3rd :shock: )

J.Jay
jjaythomas
Level 5
Level 5
 
Posts: 597
Joined: Sun Mar 07, 2010 12:52 pm


Return to XFCE

Who is online

Users browsing this forum: Pierre and 1 guest