VLC doesn't open when double-clicking file on Nautilus
When double-clicking any video (I tried different formats) VLC just open and close again after around 14 seconds:
It works fine if I:
- Open VLC from terminal or any other way and then open the same file.
killall nautilus
, runnautilus
and double-clic the file (that surprise me).- Use Nemo, Double-commander or other file manager and double-clic the file.
Last think make me think is a nautilus bug, but doesn't happened with any other program.
I tried:
- Bizarre things like tring to fetch stdout/stderr with
strace -p`pgrep -l '^vlc$' | col1 | head -1` -s9999 -e write
withwatch
. I couldn't do it. - On
Exec
parameter of/usr/share/applications/vlc.desktop
I have/usr/bin/vlc --started-from-file %U
. without luck I tried changing to:
/usr/bin/vlc
xterm -e "vlc"
gnome-terminal -e "vlc"
. In this last case before previous behavior I get this window:
File format is correctly associated with VLC. If I associate it with other program everything goes fine.
I believe this is a different situation than this one. I already read this, this and this.
Maybe a related useful question could be: How exactly Nautilus run associated program of double-clicked file?
Update 2018-02-12
Now with VLC 2.2.2-0-g6259d80 and GNOME nautilus 3.14.3 I don't have this problem anymore. So probably it was a bug on nautilus (since is the same version of VLC).
16.04 nautilus gui vlc
add a comment |
When double-clicking any video (I tried different formats) VLC just open and close again after around 14 seconds:
It works fine if I:
- Open VLC from terminal or any other way and then open the same file.
killall nautilus
, runnautilus
and double-clic the file (that surprise me).- Use Nemo, Double-commander or other file manager and double-clic the file.
Last think make me think is a nautilus bug, but doesn't happened with any other program.
I tried:
- Bizarre things like tring to fetch stdout/stderr with
strace -p`pgrep -l '^vlc$' | col1 | head -1` -s9999 -e write
withwatch
. I couldn't do it. - On
Exec
parameter of/usr/share/applications/vlc.desktop
I have/usr/bin/vlc --started-from-file %U
. without luck I tried changing to:
/usr/bin/vlc
xterm -e "vlc"
gnome-terminal -e "vlc"
. In this last case before previous behavior I get this window:
File format is correctly associated with VLC. If I associate it with other program everything goes fine.
I believe this is a different situation than this one. I already read this, this and this.
Maybe a related useful question could be: How exactly Nautilus run associated program of double-clicked file?
Update 2018-02-12
Now with VLC 2.2.2-0-g6259d80 and GNOME nautilus 3.14.3 I don't have this problem anymore. So probably it was a bug on nautilus (since is the same version of VLC).
16.04 nautilus gui vlc
add a comment |
When double-clicking any video (I tried different formats) VLC just open and close again after around 14 seconds:
It works fine if I:
- Open VLC from terminal or any other way and then open the same file.
killall nautilus
, runnautilus
and double-clic the file (that surprise me).- Use Nemo, Double-commander or other file manager and double-clic the file.
Last think make me think is a nautilus bug, but doesn't happened with any other program.
I tried:
- Bizarre things like tring to fetch stdout/stderr with
strace -p`pgrep -l '^vlc$' | col1 | head -1` -s9999 -e write
withwatch
. I couldn't do it. - On
Exec
parameter of/usr/share/applications/vlc.desktop
I have/usr/bin/vlc --started-from-file %U
. without luck I tried changing to:
/usr/bin/vlc
xterm -e "vlc"
gnome-terminal -e "vlc"
. In this last case before previous behavior I get this window:
File format is correctly associated with VLC. If I associate it with other program everything goes fine.
I believe this is a different situation than this one. I already read this, this and this.
Maybe a related useful question could be: How exactly Nautilus run associated program of double-clicked file?
Update 2018-02-12
Now with VLC 2.2.2-0-g6259d80 and GNOME nautilus 3.14.3 I don't have this problem anymore. So probably it was a bug on nautilus (since is the same version of VLC).
16.04 nautilus gui vlc
When double-clicking any video (I tried different formats) VLC just open and close again after around 14 seconds:
It works fine if I:
- Open VLC from terminal or any other way and then open the same file.
killall nautilus
, runnautilus
and double-clic the file (that surprise me).- Use Nemo, Double-commander or other file manager and double-clic the file.
Last think make me think is a nautilus bug, but doesn't happened with any other program.
I tried:
- Bizarre things like tring to fetch stdout/stderr with
strace -p`pgrep -l '^vlc$' | col1 | head -1` -s9999 -e write
withwatch
. I couldn't do it. - On
Exec
parameter of/usr/share/applications/vlc.desktop
I have/usr/bin/vlc --started-from-file %U
. without luck I tried changing to:
/usr/bin/vlc
xterm -e "vlc"
gnome-terminal -e "vlc"
. In this last case before previous behavior I get this window:
File format is correctly associated with VLC. If I associate it with other program everything goes fine.
I believe this is a different situation than this one. I already read this, this and this.
Maybe a related useful question could be: How exactly Nautilus run associated program of double-clicked file?
Update 2018-02-12
Now with VLC 2.2.2-0-g6259d80 and GNOME nautilus 3.14.3 I don't have this problem anymore. So probably it was a bug on nautilus (since is the same version of VLC).
16.04 nautilus gui vlc
16.04 nautilus gui vlc
edited Feb 12 '18 at 4:34
Pablo Bianchi
asked Apr 8 '17 at 16:52
Pablo BianchiPablo Bianchi
2,4751532
2,4751532
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Open the terminal:
sudo nano /usr/share/applications/vlc.desktop
After Exec=
add:
/usr/bin/vlc --started-from-file %U
If this doesn't work, try just with /usr/bin/vlc
. Last resort you could use the following line:
xterm -e "vlc"
But I assume you want to avoid terminal dependency.
Doesn't work. file already have "--star..". Both other options didn't work. gnome-open filename from terminal also works fine. Maybe is more a nautilus problem.
– Pablo Bianchi
Apr 8 '17 at 17:35
1
Exec=xterm -e "vlc"
orExec=gnome-terminal -e "vlc"
in/usr/share/applications/vlc.desktop
should work regardless. But yeah, seems to be a bug
– user633551
Apr 8 '17 at 17:47
add a comment |
I had a very similar issue - doubleclicking a file did not seem to do anything but when running VLC from command line I was able to play videos. The VLC GUI was missing though.
Because Pablo Bianchi suggested doing killall nautilus
, I ran nautilus from command line. That showed me that when I doubleclicked a video, VLC displayed errors I could not see without the command line. I then googled them and stumbled upon this thread.
For me, installing QT4 fixed the problem. Apparently it was an issue with the VLC GUI, not Nautilus.
Please add the details of how to install Qt 4.
– Chai T. Rex
Feb 11 '18 at 1:41
I'm on Antergos, so I just didpacman -S qt4
. Pretty sure on Ubuntu you can alsoapt install qt4
. Apparently qt5 was installed but VLC is not compatible.
– Konzertheld
Feb 11 '18 at 12:57
There's noqt4
package.
– Chai T. Rex
Feb 12 '18 at 4:23
I updated the question. I don't have anyqt4-*
package installed.
– Pablo Bianchi
Feb 12 '18 at 4:35
@ChaiT.Rex There are several qt4 packages in Ubuntu. packages.ubuntu.com/…
– Konzertheld
Feb 12 '18 at 15:49
|
show 3 more comments
Had same problem. This worked for me:
- Open VLC > Tools > Preferences > "Show all" settings
- Scroll to Interface> Main Interface
- Uncheck qt4 interface
- Save
All worked OK then.
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f902605%2fvlc-doesnt-open-when-double-clicking-file-on-nautilus%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Open the terminal:
sudo nano /usr/share/applications/vlc.desktop
After Exec=
add:
/usr/bin/vlc --started-from-file %U
If this doesn't work, try just with /usr/bin/vlc
. Last resort you could use the following line:
xterm -e "vlc"
But I assume you want to avoid terminal dependency.
Doesn't work. file already have "--star..". Both other options didn't work. gnome-open filename from terminal also works fine. Maybe is more a nautilus problem.
– Pablo Bianchi
Apr 8 '17 at 17:35
1
Exec=xterm -e "vlc"
orExec=gnome-terminal -e "vlc"
in/usr/share/applications/vlc.desktop
should work regardless. But yeah, seems to be a bug
– user633551
Apr 8 '17 at 17:47
add a comment |
Open the terminal:
sudo nano /usr/share/applications/vlc.desktop
After Exec=
add:
/usr/bin/vlc --started-from-file %U
If this doesn't work, try just with /usr/bin/vlc
. Last resort you could use the following line:
xterm -e "vlc"
But I assume you want to avoid terminal dependency.
Doesn't work. file already have "--star..". Both other options didn't work. gnome-open filename from terminal also works fine. Maybe is more a nautilus problem.
– Pablo Bianchi
Apr 8 '17 at 17:35
1
Exec=xterm -e "vlc"
orExec=gnome-terminal -e "vlc"
in/usr/share/applications/vlc.desktop
should work regardless. But yeah, seems to be a bug
– user633551
Apr 8 '17 at 17:47
add a comment |
Open the terminal:
sudo nano /usr/share/applications/vlc.desktop
After Exec=
add:
/usr/bin/vlc --started-from-file %U
If this doesn't work, try just with /usr/bin/vlc
. Last resort you could use the following line:
xterm -e "vlc"
But I assume you want to avoid terminal dependency.
Open the terminal:
sudo nano /usr/share/applications/vlc.desktop
After Exec=
add:
/usr/bin/vlc --started-from-file %U
If this doesn't work, try just with /usr/bin/vlc
. Last resort you could use the following line:
xterm -e "vlc"
But I assume you want to avoid terminal dependency.
edited Apr 8 '17 at 17:50
answered Apr 8 '17 at 17:23
user633551user633551
30129
30129
Doesn't work. file already have "--star..". Both other options didn't work. gnome-open filename from terminal also works fine. Maybe is more a nautilus problem.
– Pablo Bianchi
Apr 8 '17 at 17:35
1
Exec=xterm -e "vlc"
orExec=gnome-terminal -e "vlc"
in/usr/share/applications/vlc.desktop
should work regardless. But yeah, seems to be a bug
– user633551
Apr 8 '17 at 17:47
add a comment |
Doesn't work. file already have "--star..". Both other options didn't work. gnome-open filename from terminal also works fine. Maybe is more a nautilus problem.
– Pablo Bianchi
Apr 8 '17 at 17:35
1
Exec=xterm -e "vlc"
orExec=gnome-terminal -e "vlc"
in/usr/share/applications/vlc.desktop
should work regardless. But yeah, seems to be a bug
– user633551
Apr 8 '17 at 17:47
Doesn't work. file already have "--star..". Both other options didn't work. gnome-open filename from terminal also works fine. Maybe is more a nautilus problem.
– Pablo Bianchi
Apr 8 '17 at 17:35
Doesn't work. file already have "--star..". Both other options didn't work. gnome-open filename from terminal also works fine. Maybe is more a nautilus problem.
– Pablo Bianchi
Apr 8 '17 at 17:35
1
1
Exec=xterm -e "vlc"
or Exec=gnome-terminal -e "vlc"
in /usr/share/applications/vlc.desktop
should work regardless. But yeah, seems to be a bug– user633551
Apr 8 '17 at 17:47
Exec=xterm -e "vlc"
or Exec=gnome-terminal -e "vlc"
in /usr/share/applications/vlc.desktop
should work regardless. But yeah, seems to be a bug– user633551
Apr 8 '17 at 17:47
add a comment |
I had a very similar issue - doubleclicking a file did not seem to do anything but when running VLC from command line I was able to play videos. The VLC GUI was missing though.
Because Pablo Bianchi suggested doing killall nautilus
, I ran nautilus from command line. That showed me that when I doubleclicked a video, VLC displayed errors I could not see without the command line. I then googled them and stumbled upon this thread.
For me, installing QT4 fixed the problem. Apparently it was an issue with the VLC GUI, not Nautilus.
Please add the details of how to install Qt 4.
– Chai T. Rex
Feb 11 '18 at 1:41
I'm on Antergos, so I just didpacman -S qt4
. Pretty sure on Ubuntu you can alsoapt install qt4
. Apparently qt5 was installed but VLC is not compatible.
– Konzertheld
Feb 11 '18 at 12:57
There's noqt4
package.
– Chai T. Rex
Feb 12 '18 at 4:23
I updated the question. I don't have anyqt4-*
package installed.
– Pablo Bianchi
Feb 12 '18 at 4:35
@ChaiT.Rex There are several qt4 packages in Ubuntu. packages.ubuntu.com/…
– Konzertheld
Feb 12 '18 at 15:49
|
show 3 more comments
I had a very similar issue - doubleclicking a file did not seem to do anything but when running VLC from command line I was able to play videos. The VLC GUI was missing though.
Because Pablo Bianchi suggested doing killall nautilus
, I ran nautilus from command line. That showed me that when I doubleclicked a video, VLC displayed errors I could not see without the command line. I then googled them and stumbled upon this thread.
For me, installing QT4 fixed the problem. Apparently it was an issue with the VLC GUI, not Nautilus.
Please add the details of how to install Qt 4.
– Chai T. Rex
Feb 11 '18 at 1:41
I'm on Antergos, so I just didpacman -S qt4
. Pretty sure on Ubuntu you can alsoapt install qt4
. Apparently qt5 was installed but VLC is not compatible.
– Konzertheld
Feb 11 '18 at 12:57
There's noqt4
package.
– Chai T. Rex
Feb 12 '18 at 4:23
I updated the question. I don't have anyqt4-*
package installed.
– Pablo Bianchi
Feb 12 '18 at 4:35
@ChaiT.Rex There are several qt4 packages in Ubuntu. packages.ubuntu.com/…
– Konzertheld
Feb 12 '18 at 15:49
|
show 3 more comments
I had a very similar issue - doubleclicking a file did not seem to do anything but when running VLC from command line I was able to play videos. The VLC GUI was missing though.
Because Pablo Bianchi suggested doing killall nautilus
, I ran nautilus from command line. That showed me that when I doubleclicked a video, VLC displayed errors I could not see without the command line. I then googled them and stumbled upon this thread.
For me, installing QT4 fixed the problem. Apparently it was an issue with the VLC GUI, not Nautilus.
I had a very similar issue - doubleclicking a file did not seem to do anything but when running VLC from command line I was able to play videos. The VLC GUI was missing though.
Because Pablo Bianchi suggested doing killall nautilus
, I ran nautilus from command line. That showed me that when I doubleclicked a video, VLC displayed errors I could not see without the command line. I then googled them and stumbled upon this thread.
For me, installing QT4 fixed the problem. Apparently it was an issue with the VLC GUI, not Nautilus.
edited 2 days ago
Pablo Bianchi
2,4751532
2,4751532
answered Feb 10 '18 at 22:41
KonzertheldKonzertheld
112
112
Please add the details of how to install Qt 4.
– Chai T. Rex
Feb 11 '18 at 1:41
I'm on Antergos, so I just didpacman -S qt4
. Pretty sure on Ubuntu you can alsoapt install qt4
. Apparently qt5 was installed but VLC is not compatible.
– Konzertheld
Feb 11 '18 at 12:57
There's noqt4
package.
– Chai T. Rex
Feb 12 '18 at 4:23
I updated the question. I don't have anyqt4-*
package installed.
– Pablo Bianchi
Feb 12 '18 at 4:35
@ChaiT.Rex There are several qt4 packages in Ubuntu. packages.ubuntu.com/…
– Konzertheld
Feb 12 '18 at 15:49
|
show 3 more comments
Please add the details of how to install Qt 4.
– Chai T. Rex
Feb 11 '18 at 1:41
I'm on Antergos, so I just didpacman -S qt4
. Pretty sure on Ubuntu you can alsoapt install qt4
. Apparently qt5 was installed but VLC is not compatible.
– Konzertheld
Feb 11 '18 at 12:57
There's noqt4
package.
– Chai T. Rex
Feb 12 '18 at 4:23
I updated the question. I don't have anyqt4-*
package installed.
– Pablo Bianchi
Feb 12 '18 at 4:35
@ChaiT.Rex There are several qt4 packages in Ubuntu. packages.ubuntu.com/…
– Konzertheld
Feb 12 '18 at 15:49
Please add the details of how to install Qt 4.
– Chai T. Rex
Feb 11 '18 at 1:41
Please add the details of how to install Qt 4.
– Chai T. Rex
Feb 11 '18 at 1:41
I'm on Antergos, so I just did
pacman -S qt4
. Pretty sure on Ubuntu you can also apt install qt4
. Apparently qt5 was installed but VLC is not compatible.– Konzertheld
Feb 11 '18 at 12:57
I'm on Antergos, so I just did
pacman -S qt4
. Pretty sure on Ubuntu you can also apt install qt4
. Apparently qt5 was installed but VLC is not compatible.– Konzertheld
Feb 11 '18 at 12:57
There's no
qt4
package.– Chai T. Rex
Feb 12 '18 at 4:23
There's no
qt4
package.– Chai T. Rex
Feb 12 '18 at 4:23
I updated the question. I don't have any
qt4-*
package installed.– Pablo Bianchi
Feb 12 '18 at 4:35
I updated the question. I don't have any
qt4-*
package installed.– Pablo Bianchi
Feb 12 '18 at 4:35
@ChaiT.Rex There are several qt4 packages in Ubuntu. packages.ubuntu.com/…
– Konzertheld
Feb 12 '18 at 15:49
@ChaiT.Rex There are several qt4 packages in Ubuntu. packages.ubuntu.com/…
– Konzertheld
Feb 12 '18 at 15:49
|
show 3 more comments
Had same problem. This worked for me:
- Open VLC > Tools > Preferences > "Show all" settings
- Scroll to Interface> Main Interface
- Uncheck qt4 interface
- Save
All worked OK then.
New contributor
add a comment |
Had same problem. This worked for me:
- Open VLC > Tools > Preferences > "Show all" settings
- Scroll to Interface> Main Interface
- Uncheck qt4 interface
- Save
All worked OK then.
New contributor
add a comment |
Had same problem. This worked for me:
- Open VLC > Tools > Preferences > "Show all" settings
- Scroll to Interface> Main Interface
- Uncheck qt4 interface
- Save
All worked OK then.
New contributor
Had same problem. This worked for me:
- Open VLC > Tools > Preferences > "Show all" settings
- Scroll to Interface> Main Interface
- Uncheck qt4 interface
- Save
All worked OK then.
New contributor
edited 2 days ago
Pablo Bianchi
2,4751532
2,4751532
New contributor
answered Jan 23 at 18:16
bob hopebob hope
11
11
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f902605%2fvlc-doesnt-open-when-double-clicking-file-on-nautilus%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown