Gnome

2426 readers
3 users here now

The GNOME Project is a free and open source desktop and computing platform for open platforms like Linux that strives to be an easy and elegant way to use your computer. GNOME software is developed openly and ethically by both individual contributors and corporate partners, and is distributed under the GNU General Public License.

founded 2 years ago
MODERATORS
751
 
 

How do I make it learn? It should learn from previous searches.

752
753
754
 
 

cross-posted from: https://lemmy.ml/post/6104990

755
756
757
758
759
760
761
 
 

I'm working on a little program that'll launch different browsers based on the content of the URL passed and I'd like to set it as the default Web app in this list (under Settings → Default Apps). I've written a .desktop file based on the epiphany.desktop file, but it doesn't show up when I hit [Win]+o+p+e and it doesn't show up in the default apps either, so I'm hoping that someone here can explain what I've done wrong.

Here's the contents of the opening.desktop file:

$ cat ~/.local/share/applications/opening.desktop 
[Desktop Entry]
Name=Opening
GenericName=Web Browser
Comment=Open links in the right browsers
Keywords=web;browser;internet;opening;
Exec=opening %u
StartupNotify=true
Terminal=false
Type=Application
Icon=/home/daniel/.local/share/applications/opening.png
Categories=Network;WebBrowser;
MimeType=text/html;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;multipart/related;application/x-mimearchive;message/rfc822;application/x-xpinstall;

Any criticisms are much appreciated!

762
763
764
765
766
767
768
769
770
771
772
13
submitted 2 years ago* (last edited 2 years ago) by petsoi@discuss.tchncs.de to c/gnome@discuss.tchncs.de
773
774
775
view more: ‹ prev next ›