Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #222996

Re: Syntax regarding "Exec" instruction in .desktop files

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: Syntax regarding "Exec" instruction in .desktop files
Date 2020-06-02 07:50 +0200
Message-ID <Ad7Yd-t2-1@gated-at.bofh.it> (permalink)
References <AcSw9-84u-3@gated-at.bofh.it> <AcSFP-87G-11@gated-at.bofh.it> <AcUHE-QN-9@gated-at.bofh.it> <AcX2O-2oa-1@gated-at.bofh.it> <AcXvQ-2xy-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Lu, 01 iun 20, 20:33:28, l0f4r0@tuta.io wrote:
> 1 juin 2020 à 20:03 de andreimpopescu@gmail.com:
> >
> > Question for you: how much would it have taken you to write that into a 
> > script compared to the time you spent trying to get the quoting right?
> >
> HaHa, of course the latter is much more time-consuming than the former 
> BUT the former makes me more knowledgeable.

Some knowledge is more useful that other. Given limited time, in my 
opinion, it makes sense to (try to) pick the useful one[1].

> A workaround/bypass expedites the issue for sure and can sometimes be 
> satisfying when particularly clever, but it prevents you from 
> understanding the machinery.
>
> I tend to implement workaround when everything else fail.

In this particular case I consider the script option to be the optimal 
one, not a workaround, if only because it's easier to maintain (a proper 
script has structure and comments).

Unless you exercise your knowledge of quoting regularly you might find 
that months later, if you need to tweak or fix that Exec= line you have 
to re-learn what you did now.

Your system, your rules :)

[1] for me that means "with practical applications"

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Syntax regarding "Exec" instruction in .desktop files l0f4r0@tuta.io - 2020-06-01 15:20 +0200
  Re: Syntax regarding "Exec" instruction in .desktop files Greg Wooledge <wooledg@eeg.ccf.org> - 2020-06-01 15:30 +0200
    Re: Syntax regarding "Exec" instruction in .desktop files l0f4r0@tuta.io - 2020-06-01 17:40 +0200
      Re: Syntax regarding "Exec" instruction in .desktop files Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-01 20:10 +0200
        Re: Syntax regarding "Exec" instruction in .desktop files l0f4r0@tuta.io - 2020-06-01 20:40 +0200
          Re: Syntax regarding "Exec" instruction in .desktop files Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-02 07:50 +0200
  Re: Syntax regarding "Exec" instruction in .desktop files l0f4r0@tuta.io - 2020-06-22 19:50 +0200
    Re: Syntax regarding "Exec" instruction in .desktop files Greg Wooledge <wooledg@eeg.ccf.org> - 2020-06-22 19:50 +0200
    Re: Syntax regarding "Exec" instruction in .desktop files davidson <davidson@freevolt.org> - 2020-06-23 01:00 +0200

csiph-web