Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
clarified based on a comment
Source Link
Gilles 'SO- stop being evil'
  • 865.4k
  • 205
  • 1.8k
  • 2.3k

I'm using a LXDE desktop.

I created a shortcut in the desktop to a python program, which can be passed files to, which are then opened in the GUI.

I mean passing files (file absolute paths) to the command by drag'n'dropping them over the shortcut on the desktop.

In fact this is already working, but only if I set Terminal=true in the Desktop Entry, which obviously makes the terminal be opened. I wanted to know if there's a way to pass the arguments to the command without the need to open the terminal.

I'm creating the shortcut like this:

[Desktop Entry]
Name=TBOPlayer
Comment=UI for omxplayer
Exec=python /path/to/tboplayer/tboplayer.py "%F"
Icon=/usr/share/pixmaps/python.xpm
Terminal=true
Type=Application

Is there a way to do this?

Thanks for reading,

I'm using a LXDE desktop.

I created a shortcut in the desktop to a python program, which can be passed files to, which are then opened in the GUI.

In fact this is already working, but only if I set Terminal=true in the Desktop Entry, which obviously makes the terminal be opened. I wanted to know if there's a way to pass the arguments to the command without the need to open the terminal.

I'm creating the shortcut like this:

[Desktop Entry]
Name=TBOPlayer
Comment=UI for omxplayer
Exec=python /path/to/tboplayer/tboplayer.py "%F"
Icon=/usr/share/pixmaps/python.xpm
Terminal=true
Type=Application

Is there a way to do this?

Thanks for reading,

I'm using a LXDE desktop.

I created a shortcut in the desktop to a python program, which can be passed files to, which are then opened in the GUI.

I mean passing files (file absolute paths) to the command by drag'n'dropping them over the shortcut on the desktop.

In fact this is already working, but only if I set Terminal=true in the Desktop Entry, which obviously makes the terminal be opened. I wanted to know if there's a way to pass the arguments to the command without the need to open the terminal.

I'm creating the shortcut like this:

[Desktop Entry]
Name=TBOPlayer
Comment=UI for omxplayer
Exec=python /path/to/tboplayer/tboplayer.py "%F"
Icon=/usr/share/pixmaps/python.xpm
Terminal=true
Type=Application

Is there a way to do this?

added 2 characters in body
Source Link

I'm using a LXDE desktop.

I created a shortcut in the desktop to a python program, which can be passed files to, which are bethen opened in the GUI.

In fact this is already working, but only if I set Terminal=true in the Desktop Entry, which obviously makes the terminal be opened. I wanted to know if there's a way to pass the arguments to the command without the need to open the terminal.

I'm creating the shortcut like this:

[Desktop Entry]
Name=TBOPlayer
Comment=UI for omxplayer
Exec=python /path/to/tboplayer/tboplayer.py "%F"
Icon=/usr/share/pixmaps/python.xpm
Terminal=true
Type=Application

Is there a way to do this?

Thanks for reading,

I'm using a LXDE desktop.

I created a shortcut in the desktop to a python program, which can be passed files to, which are be opened in the GUI.

In fact this is already working, but only if I set Terminal=true in the Desktop Entry, which obviously makes the terminal be opened. I wanted to know if there's a way to pass the arguments to the command without the need to open the terminal.

I'm creating the shortcut like this:

[Desktop Entry]
Name=TBOPlayer
Comment=UI for omxplayer
Exec=python /path/to/tboplayer/tboplayer.py "%F"
Icon=/usr/share/pixmaps/python.xpm
Terminal=true
Type=Application

Is there a way to do this?

Thanks for reading,

I'm using a LXDE desktop.

I created a shortcut in the desktop to a python program, which can be passed files to, which are then opened in the GUI.

In fact this is already working, but only if I set Terminal=true in the Desktop Entry, which obviously makes the terminal be opened. I wanted to know if there's a way to pass the arguments to the command without the need to open the terminal.

I'm creating the shortcut like this:

[Desktop Entry]
Name=TBOPlayer
Comment=UI for omxplayer
Exec=python /path/to/tboplayer/tboplayer.py "%F"
Icon=/usr/share/pixmaps/python.xpm
Terminal=true
Type=Application

Is there a way to do this?

Thanks for reading,

added 3 characters in body
Source Link

I'm using a LXDE desktop.

I created a shortcut in the desktop to a clipython program, which can be passed files to, which are be opened in the GUI.

In fact this is already working, but only if I set Terminal=true in the Desktop Entry, which obviously makes the terminal be opened. I wanted to know if there's a way to pass the arguments to the command without the need to open the terminal.

I'm creating the shortcut like this:

[Desktop Entry]
Name=TBOPlayer
Comment=UI for omxplayer
Exec=python /path/to/tboplayer/tboplayer.py "%F"
Icon=/usr/share/pixmaps/python.xpm
Terminal=true
Type=Application

Is there a way to do this?

Thanks for reading,

I'm using a LXDE desktop.

I created a shortcut in the desktop to a cli program, which can be passed files to, which are be opened in the GUI.

In fact this is already working, but only if I set Terminal=true in the Desktop Entry, which obviously makes the terminal be opened. I wanted to know if there's a way to pass the arguments to the command without the need to open the terminal.

I'm creating the shortcut like this:

[Desktop Entry]
Name=TBOPlayer
Comment=UI for omxplayer
Exec=python /path/to/tboplayer/tboplayer.py "%F"
Icon=/usr/share/pixmaps/python.xpm
Terminal=true
Type=Application

Is there a way to do this?

Thanks for reading,

I'm using a LXDE desktop.

I created a shortcut in the desktop to a python program, which can be passed files to, which are be opened in the GUI.

In fact this is already working, but only if I set Terminal=true in the Desktop Entry, which obviously makes the terminal be opened. I wanted to know if there's a way to pass the arguments to the command without the need to open the terminal.

I'm creating the shortcut like this:

[Desktop Entry]
Name=TBOPlayer
Comment=UI for omxplayer
Exec=python /path/to/tboplayer/tboplayer.py "%F"
Icon=/usr/share/pixmaps/python.xpm
Terminal=true
Type=Application

Is there a way to do this?

Thanks for reading,

Source Link
Loading