Results 1 to 5 of 5

Thread: How to add manually installed software to gnome-software

  1. #1

    Default How to add manually installed software to gnome-software

    Hello,

    I'm having trouble figuring out how to add manually installed software to gnome-software in Gnome 3.14.1. These are applications (mostly games) that I have installed in /opt and /usr/local, with .desktop files in /usr/local/share/applications. They show up properly in the application list (Super Key->Show Applications), but they don't exist in gnome-software. The reason I would like to add them is so I can group them into categories, the way it is described here: http://blogs.gnome.org/mclasen/2014/...configuration/.

    Can anyone point me in the right direction on this? I'm willing to hack away at xml files if I need to. Thanks!

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,128
    Blog Entries
    15

    Default Re: How to add manually installed software to gnome-software

    Hi
    You need to ensure the 'Categories' entry in the desktop file is correct;
    https://en.opensuse.org/openSUSE:Pac...enu_categories
    http://specifications.freedesktop.or...egory-registry

    You can also use a X- option as well in the categories for your own. You would also need to run the update-desktop-database command, look at the man page for details.q
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: How to add manually installed software to gnome-software

    Thanks for your reply. I believe the categories entry in the desktop files are correct. Here is an example:

    Code:
    [Desktop Entry]
    Categories=Game;
    Encoding=UTF-8
    Name=Bastion
    GenericName=Bastion
    Comment=Indie Action Role-Playing Game
    Exec=bastion
    Icon=/opt/bastion/Bastion.png
    Type=Application
    This program shows up in the "Show Applications" list, but not in gnome-software's list of installed applications. I need it to appear in there, so that I can use gnome-software to create a custom category for it, the way the link I posted earlier describes. As I understand it, this is the only way to create groups of applications in the "Show Applications" list in Gnome 3.12+.

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,128
    Blog Entries
    15

    Default Re: How to add manually installed software to gnome-software

    On Sat 31 Jan 2015 04:26:01 PM CST, keitolainen wrote:


    Thanks for your reply. I believe the categories entry in the desktop
    files are correct. Here is an example:


    Code:
    --------------------

    [Desktop Entry]
    Categories=Game;
    Encoding=UTF-8
    Name=Bastion
    GenericName=Bastion
    Comment=Indie Action Role-Playing Game
    Exec=bastion
    Icon=/opt/bastion/Bastion.png
    Type=Application

    --------------------


    This program shows up in the "Show Applications" list, but not in
    gnome-software's list of installed applications. I need it to appear in
    there, so that I can use gnome-software to create a custom category for
    it, the way the link I posted earlier describes. As I understand it,
    this is the only way to create groups of applications in the "Show
    Applications" list in Gnome 3.12+.


    Hi
    You need to add a sub category from the list under 'Game' in the first
    link.

    When you say 'gnome-software' you mean the application? If so then that
    needs a file called name.appdata.xml created living
    in /usr/share/appdata (or in your case /usr/local/share/appdata).


    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.36-38-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  5. #5

    Default Re: How to add manually installed software to gnome-software

    Thanks! That was exactly what I was looking for. I copied /usr/share/appdata/sol.appdata.xml to /usr/local/share/appdata/bastion.appdata.xml and edited it appropriately, and it worked perfectly. It shows up in gnome-software (the application... sorry I should have specified), and I can add it to custom categories now. Thanks again.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •