linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Javier Martinez Canillas <martinez.javier@gmail.com>
To: Krzysztof <kj@limes.com.pl>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: program icon
Date: Sun, 11 Dec 2011 09:57:49 +0100	[thread overview]
Message-ID: <CAAwP0s31Ccx=jhmq3Y0NQehHA5gHOh5WAbdRNdOHfSRedbON4Q@mail.gmail.com> (raw)
In-Reply-To: <jc1oua$sdn$1@dough.gmane.org>

On Sun, Dec 11, 2011 at 9:17 AM, Krzysztof <kj@limes.com.pl> wrote:
> How to set the program icon to be showed e.g. on GUI desktop?
>
> --
> Regards
> Krzysztof J.
>
>

Not sure if I understand your question, but if what you want is to
have an application launcher with an icon in your desktop. You have to
create an .desktop file an copy it to ~/Desktop/. For example
app.desktop could be:

#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=/usr/local/myapp/bin/myapp
Name=MyApp
Icon=//usr/local/myapp/img.png

Hope it helps,

-- 
Javier Martínez Canillas
(+34) 682 39 81 69
Barcelona, Spain
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-12-11  8:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-11  8:17 program icon Krzysztof
2011-12-11  8:57 ` Javier Martinez Canillas [this message]
2011-12-11 10:19   ` Jesse Ruffin
2011-12-11 18:30   ` Krzysztof
2011-12-11 18:33     ` Aniruddha Bhattacharyya
2011-12-11 20:30       ` Krzysztof

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAwP0s31Ccx=jhmq3Y0NQehHA5gHOh5WAbdRNdOHfSRedbON4Q@mail.gmail.com' \
    --to=martinez.javier@gmail.com \
    --cc=kj@limes.com.pl \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).