Cet espace permet de solliciter aide et conseils concernant l'installation, la personnalisation et l'utilisation de Xubuntu.
Bienvenue à tous !
wOOnder
 
Messages: 219
Inscription: 02 Fév 2019, 19:19

[Résolu - utilisé une autre méthode] 18.04 : snap vlc

de wOOnder 15 Mar 2019, 05:30

bonjour

[url]sudo snap install vlc --edge[/url]

testé avec de plus vieilles versions 3.x dont la 3.x.6

Code: Tout sélectionner
vlc
Reading profile /usr/local/etc/firejail/vlc.profile
Reading profile /usr/local/etc/firejail/disable-common.inc
Reading profile /usr/local/etc/firejail/disable-devel.inc
Reading profile /usr/local/etc/firejail/disable-interpreters.inc
Reading profile /usr/local/etc/firejail/disable-passwdmgr.inc
Reading profile /usr/local/etc/firejail/disable-programs.inc
Reading profile /usr/local/etc/firejail/disable-xdg.inc
Reading profile /usr/local/etc/firejail/whitelist-var-common.inc
Parent pid 18376, child pid 18377
0 programs installed in 0.13 ms
Child process initialized in 57.35 ms
Error: no suitable /snap/bin/vlc executable found

Parent is shutting down, bye...


Code: Tout sélectionner
sudo vlc
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (fr_CH.UTF-8)
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use /snap/vlc/885/usr/bin/vlc-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).


https://forum.videolan.org/viewtopic.php?t=87924

https://unix.stackexchange.com/questions/125546/how-to-run-vlc-player-in-root

http://www.linuxintro.org/wiki/Run_vlc_as_root

https://www.tecmint.com/run-vlc-media-player-as-root-in-linux/

https://www.hackersgarage.com/vlc-is-not-supposed-to-be-run-as-root-sorry-solution.html

https://askubuntu.com/questions/413542/how-to-use-vlc-with-sudo-privileges

Code: Tout sélectionner
sed -i 's/geteuid/getppid/' /usr/bin/vlc
sed: impossible de lire /usr/bin/vlc: Aucun fichier ou dossier de ce type


c'est quand même mystérieux

+
wOOnder
 
Messages: 219
Inscription: 02 Fév 2019, 19:19

Re: 18.04 : snap vlc

de wOOnder 15 Mar 2019, 05:47

wOOnder
 
Messages: 219
Inscription: 02 Fév 2019, 19:19

Re: 18.04 : snap vlc

de wOOnder 15 Mar 2019, 06:30

Code: Tout sélectionner
sudo apt remove vlc


Code: Tout sélectionner
sudo apt purge vlc


Code: Tout sélectionner
sudo snap install vlc --edge



Code: Tout sélectionner
vlc
VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85f73)


.....
wOOnder
 
Messages: 219
Inscription: 02 Fév 2019, 19:19

Re: 18.04 : snap vlc

de wOOnder 15 Mar 2019, 06:32

Code: Tout sélectionner
snap info vlc
name:      vlc
summary:   The ultimate media player
publisher: VideoLAN✓
contact:   https://www.videolan.org/support/
license:   unset
description: |
  VLC is the VideoLAN project's media player.
 
  Completely open source and privacy-friendly, it plays every multimedia file
  and streams.
 
  It notably plays MKV, MP4, MPEG, MPEG-2, MPEG-4, DivX, MOV, WMV, QuickTime,
  WebM, FLAC, MP3, Ogg/Vorbis files, BluRays, DVDs, VCDs, podcasts, and
  multimedia streams from various network sources. It supports subtitles,
  closed captions and is translated in numerous languages.
commands:
  - vlc
snap-id:      RT9mcUhVsRYrDLG8qnvGiy26NKvv6Qkd
tracking:     edge
refresh-date: today at 06:26 CET
channels:
  stable:    3.0.6                      2019-01-10 (770) 212MB -
  candidate: 3.0.6                      2019-01-10 (770) 212MB -
  beta:      3.0.6-83-g9ee7cfa          2019-03-14 (884) 212MB -
  edge:      4.0.0-dev-6971-gdb75e293e8 2019-03-15 (885) 336MB -
installed:   4.0.0-dev-6971-gdb75e293e8            (885) 336MB -


et la 3.0.6 et la 4.0.0 sont instalées donc comment launché la 4.x ?
wOOnder
 
Messages: 219
Inscription: 02 Fév 2019, 19:19

Re: 18.04 : snap vlc

de wOOnder 15 Mar 2019, 06:35

Code: Tout sélectionner
snap switch vlc --edge
"vlc" commuté sur le canal "edge"
wOOnder
 
Messages: 219
Inscription: 02 Fév 2019, 19:19

Re: 18.04 : snap vlc

de wOOnder 15 Mar 2019, 06:40

Code: Tout sélectionner
snap version
snap    2.37.4+18.04
snapd   2.37.4+18.04
series  16
ubuntu  18.04
kernel  5.0.0-xanmod1
wOOnder
 
Messages: 219
Inscription: 02 Fév 2019, 19:19

Re: 18.04 : snap vlc

de wOOnder 15 Mar 2019, 06:46

Code: Tout sélectionner
snap interfaces vlc
Prise                    Connecteur
:desktop                 eog,gnome-system-monitor,inkscape,mumble,system-tool,vlc
:desktop-legacy          eog,gnome-system-monitor,inkscape,mumble,system-tool,vlc
:home                    alsa-utils,eog,inkscape,mumble,rclone,system-tool,udemy,vlc
:network                 eog,fast,fkill,mumble,pulsemixer,rclone,stellarium-plars,system-tool,udemy,vlc
:network-bind            rclone,stellarium-plars,system-tool,vlc
:opengl                  stellarium-plars,udemy,vlc
:optical-drive           vlc
:pulseaudio              mumble,pulsemixer,udemy,vlc
:removable-media         vlc
:screen-inhibit-control  vlc
:unity7                  eog,gnome-system-monitor,inkscape,mumble,stellarium-plars,system-tool,udemy,vlc
:x11                     mumble,pulsemixer,system-tool,udemy,vlc
vlc:mpris                -
-                        vlc:camera
-                        vlc:dvb
-                        vlc:mount-observe
Retourner vers Xubuntu

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 2 invités