Commit c1760bbb authored by Alessandro Elias's avatar Alessandro Elias
Browse files

Merge branch 'issue/407' into 'master'

SCRUM#407: Fixes VLC error when using multiterminal

See merge request !18
parents 8d3af849 b6e52cb4
Pipeline #14618 failed with stages
in 8 minutes and 25 seconds
le-multiterminal (0.0.7ubuntu1) testing; urgency=medium le-multiterminal (0.0.7) testing; urgency=medium
* Fixes VLC error when using multiterminal
-- Stephanie Briere Americo <sba16@c3sl.ufpr.br> Thu, 01 Mar 2018 10:36:53 -0300
le-multiterminal (0.0.7) testing; urgency=medium
* Remove warnings and fix dependencies. * Remove warnings and fix dependencies.
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
# postinst script for le-multiterminal # postinst script for le-multiterminal
#DEBHELPER# #DEBHELPER#
set -e set -e
case "$1" in
configure)
update-xorg-conf "Silicon.Motion" /etc/X11/xorg.conf.d/98-proinfo-*.conf update-xorg-conf "Silicon.Motion" /etc/X11/xorg.conf.d/98-proinfo-*.conf
if [ ! -f /.dockerenv ]; then if [ ! -f /.dockerenv ]; then
...@@ -12,7 +15,16 @@ if [ ! -f /.dockerenv ]; then ...@@ -12,7 +15,16 @@ if [ ! -f /.dockerenv ]; then
deb-systemd-invoke start xorg-daemon.socket deb-systemd-invoke start xorg-daemon.socket
udevadm trigger udevadm trigger
sed -i "s/Exec=\/usr\/bin\/vlc --started-from-file %U/Exec=\/bin\/bash -c \"exec \/usr\/bin\/cvlc --x11-display \$DISPLAY --started-from-file %U\"/" /usr/share/applications/vlc.desktop
fi fi
echo "Por favor reinicie o sistema para o multiterminal ser reconfigurado!" echo "Por favor reinicie o sistema para o multiterminal ser reconfigurado!"
;;
triggered)
sed -i "s/Exec=\/usr\/bin\/vlc --started-from-file %U/Exec=\/bin\/bash -c \"exec \/usr\/bin\/cvlc --x11-display \$DISPLAY --started-from-file %U\"/" /usr/share/applications/vlc.desktop
;;
esac
exit 0 exit 0
interest /usr/share/applications/vlc.desktop
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment