-------- Tim W wrote:
>> [799] wrote
>> I have a complete How-to which you can just
>> follow per copy & paste to get a multimedia
>> AppVM which is based on Debian-8 and can
>> be used to listen to Spotify, watch DVD and
>> use Amazon Prime or Spotify.
>> If you are interested I can send you the
>> installation script.
> why not post up the how to as I think many
> would find it beneficial with so many new
> users.
Actually I started to write a how-to for Qubes, but I found it hard to understand how to add new content to the Qubes site using GITHUB.
I've read the Qubes Docu Howto located here:
https://www.qubes-os.org/doc/doc-guidelines/I was able to add a new page but it seems that it takes a long time until a push request make it back to the Qubes Doc repository, which feels kind a frustrating, as such I decided to create my own how-to repository.
[799]
Here is my procedure how to create a multimedia AppVM based on a Debian template.
# Firewall needs to be open to access Internet and DNS as we need to install additional packages on the multimedia-template VM.
# Based on the default Qubes OS Debian-8 template
# Clone template
qvm-clone debian-8 my-debian-8
# Setup networking for the new template as we need to download some files
qvm-prefs -s my-debian-8 netvm my-sys-firewall
# Launch new template
qvm-start my-debian-8
# Edit Firewall Rules in the VM
# [X] Allow network access except...
# [X] Allow DNS queries
# Launch Terminal in the newly started VM template
qvm-run my-debian-8 gnome-terminal
# Become root
su -
### Installation Spotify
apt-key adv --keyserver hkp://
keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
# TODO where to find the GPG Fingerprint for Spotify??
# Public-Key:
http://keyserver.ubuntu.com/pks/lookup?op=vindex&search=0xD2C19886&fingerprint=on# Fingerprint: BBEB DCB3 18AD 50EC 6865 0906 13B0 0F1F D2C1 9886
echo deb
http://repository.spotify.com stable non-free | tee /etc/apt/sources.list.d/spotify.list
apt-get update
apt-get install -y spotify-client
# Create a spotify desktop-entry
cp -p /usr/share/spotify/spotify.desktop /usr/share/applications/
cp /usr/share/spotify/icons/spotify-linux-16.png /usr/share/icons/hicolor/16x16/apps/spotify.png
### Installation VLC
# Add Repository for libdvdcss
#
http://www.videolan.org/developers/libdvdcss.html# TODO where to find the GPG Fingerprint for VLC??
# Public-Key:
http://keyserver.ubuntu.com/pks/lookup?op=vindex&search=0xB84288D9&fingerprint=on# Fingerprint: 8F08 45FE 77B1 6294 429A 7934 6BCA 5E4D B842 88D9
apt-key adv --keyserver hkp://
keyserver.ubuntu.com:80 --recv-keys 8F0845FE77B16294429A79346BCA5E4DB84288D9
echo "deb
http://download.videolan.org/pub/debian/stable/ /" >> /etc/apt/sources.list
echo "deb-src
http://download.videolan.org/pub/debian/stable/ /" >> /etc/apt/sources.list
apt-get update
apt-get install -y libdvdcss2
apt-get install -y vlc
### Installation Google Chrome
# Howto verify the debian repository?
#
https://www.google.com/linuxrepositories/wget -c
https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb# better option instead of using wget?
# Try to install Google Chrome
dpkg -i google-chrome-stable_current_amd64.deb
# Install dependencies for Google Chrome (if not installation will fail)
# This will install: fonts-liberation libappindicator1 libdbusmenu-glib4 libdbusmenu-gtk4 libindicator7 libxss1
apt-get -f upgrade
# Install Google Chrome
dpkg -i google-chrome-stable_current_amd64.deb
rm google-chrome-stable_current_amd64.deb
# Shutdown template
qvm-shutdown my-debian-8
# Create a new App-VM from this new Debian 8 template
qvm-create --template=my-debian-8 --label=orange --mem=512 --vcpus=2 multimedia
qvm-prefs -s multimedia netvm sys-firewall
# Add Google Chrome, VLC and Spotify to the AppVM Menu via "add/remove app shortcuts"