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


Groups > linux.debian.user > #226799

Re: Looking for a generic drag and drop gui for custom commands

From Tixy <tixy@yxit.co.uk>
Newsgroups linux.debian.user
Subject Re: Looking for a generic drag and drop gui for custom commands
Date 2020-09-08 19:00 +0200
Message-ID <AMP8m-6cx-17@gated-at.bofh.it> (permalink)
References <AMwfn-2fw-7@gated-at.bofh.it> <AMKBI-3wD-13@gated-at.bofh.it> <AMLep-3Jv-1@gated-at.bofh.it> <AMNzz-5kX-3@gated-at.bofh.it> <AMOYF-681-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 2020-09-08 at 17:41 +0100, Tixy wrote:
[...]
> You don't have to rely on the GUIs default terminal. If you set
> "Terminal=false" in the .desktop file you can launch your script how
> you want, e.g. I've used something...
> 
> Exec=lxterminal --geometry=80x30 -e "sh -c /my/script"
> 

I've just realised that may not work for you as the freedesktop spec
[1] says

"Field codes must not be used inside a quoted argument, the result of
field code expansion inside a quoted argument is undefined."

So it may not work for you using %F to specify passing multiple files
to your script like:

Exec=lxterminal --geometry=80x30 -e "sh -c /my/script %F"

[1] https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s07.html

-- 
Tixy

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


Thread

Looking for a generic drag and drop gui for custom commands "Christoph K." <christoph@kobenetz.de> - 2020-09-07 22:50 +0200
  Re: Looking for a generic drag and drop gui for custom commands David Christensen <dpchrist@holgerdanske.com> - 2020-09-08 12:00 +0200
    Re: Looking for a generic drag and drop gui for custom commands "Christoph K." <christoph@kobenetz.de> - 2020-09-08 14:20 +0200
      Re: Looking for a generic drag and drop gui for custom commands David Christensen <dpchrist@holgerdanske.com> - 2020-09-09 00:40 +0200
  Re: Looking for a generic drag and drop gui for custom commands mick crane <mick.crane@gmail.com> - 2020-09-08 14:10 +0200
    Re: Looking for a generic drag and drop gui for custom commands Tixy <tixy@yxit.co.uk> - 2020-09-08 14:50 +0200
      Re: Looking for a generic drag and drop gui for custom commands Tixy <tixy@yxit.co.uk> - 2020-09-08 15:20 +0200
      Re: Looking for a generic drag and drop gui for custom commands "Christoph K." <christoph@kobenetz.de> - 2020-09-08 17:20 +0200
        Re: Looking for a generic drag and drop gui for custom commands Tixy <tixy@yxit.co.uk> - 2020-09-08 18:50 +0200
          Re: Looking for a generic drag and drop gui for custom commands Tixy <tixy@yxit.co.uk> - 2020-09-08 19:00 +0200
          Re: Looking for a generic drag and drop gui for custom commands "Christoph K." <christoph@kobenetz.de> - 2020-10-13 14:20 +0200
  Re: Looking for a generic drag and drop gui for custom commands Charles Curley <charlescurley@charlescurley.com> - 2020-09-08 20:00 +0200

csiph-web