FAQ

January 6, 2013   /     Marko   /    Documentation

Your question has not been answered in F.A.Q. – just post it to newly opened forum.

1. I can’t add music to my Linux box with my external USB disk

Sometimes USB ports don’t recognize your external stick or disk. Just try to connect it to some other USB port like the one on the back.

2. What file manager can I use to transfer music?

Thunar. In XFCE in menu it’s called File manager.

3. My external disk cannot be mounted

If you have problems with mounting external media logout from Fluxbox and login in XFCE. XFCE is more user friendly desktop environment. Go to Menu -> Settings  -> Removable Drives and Media and select first three boxes in Storage tab.

4. How can I mount external disk in terminal?

“sudo fdisk -l” will give you listings of all  drives recognized in your system. Find which one is external and type this:
mount /dev/sdb1 /mnt
Replace /dev/sdb1 with your external disk

5. How can I disable pulse audio?

Open terminal and type this:  echo ‘autospawn = no’ > ~/.pulse/client.conf

6. How can I copy music from another machine via network?

First you must install sshd server. On your newly installed box type:
sudo su
apt-get install openssh-server
Then on Linux/Mac/BSD users: scp -r your-music-folder username@IP-address-of-destination-machine:
example: scp -r /home/lero/Music/flac/Mark_Knopfler lero@192.168.1.5:
Windows: install winscp
You can find your address in conky or in terminal type: /sbin/ifconfig

7. What about video?

Yes! We like to watch DVD/Blu-ray/MKV concerts as well :-).  AP Linux comes with mplayer. The best and the fastest video player on Linux. We choose Linux Mint Debian as base OS because of good native support for ATI cards and video. If you have an ATI graphic card, no  proprietary drivers are needed. Proprietary drivers are bad. They crash X windows and mess with the kernel. So If you can, use native drivers.

8. What graphic card is the best for this distribution?

We used ATI Radeon HD 6450 graphic card. It’s capable of displaying HD video, you don’t need proprietary drivers, it’s low profile so it can fit in HTPC case, and it’s silent! Absolute winner if you want to build HTPC for video and audio reproduction.

9. How can I tell mplayer to use jack?

Add this to ~/.mplayer/config file
afm=pcm
ao=jack
subcp=enca:hr:latin2

10. How can I use mplayer for video

MKV: mplayer /path/to/your/video.mkv
DVD: mplayer dvd://1 -dvd-device /dev/cdrom
or replace /dev/cdrom with /dev/sr0 or /dev/dvdrw2 etc…
DVD: mplayer dvd://1 -dvd-device Marcus_Miller_in_Concert_2001.iso where 1 is chapter 1

11. How can I backup my DVDs to hard disk

Insert your DVD into drive and type
cat /dev/sr0 > /home/yourusername/Music/Diana_Krall_Live_in_Paris.iso
If you have never played this DVD on your PC you will get some errors and before ‘cat’ command you need to play it first directly from DVD with command ‘mplayer dvd://1 -dvd-device /dev/cdrom’. You don’t need to play the whole DVD. Just for few seconds so the codecs can be copied to your home directory. Then use ‘cat’ command.
Then play this file like this: replace 1 with other chapter
mplayer dvd://1 -dvd-device /home/yourusername/Music/Diana_Krall_Live_in_Paris.iso

12. Some quick mplayer commands:

# ; change audio source, switch between DTS, AC3 and PCM
! & @ ; Previous and next chapters
3 & 4 ; Brightness control
7 & 8 ; Color
f ; full-screen
SPACE; pause
Buttons UP & DOWN; Forward and backward one minute
Buttons Left & Right; Forward and backward 10 seconds
q; Quit

13. Why vendor drivers are not good?

From Open BSD website…

Blobs are vendor-compiled binary drivers without any source code. Hardware makers like them because they obscure the details of how to make their hardware work. They hide bugs and workarounds for bugs. Newer versions of blobs can weaken support for older hardware and motivate people to buy new hardware.
Blobs are expedient. Many other open source operating systems cheerfully incorporate them; in fact their users demand them.

But when you need to trust the system, how do you check the blob for quality? For adherence to standards? How do you know the blob contains no malicious code? No incompetent code? Inspection is impossible; you can only test the black box. And when it breaks, you have no idea why.

Blobs can be ‘de-supported’ by vendors at any time.
Blobs cannot be supported by developers.
Blobs cannot be fixed by developers.
Blobs cannot be improved.
Blobs cannot be audited.
Blobs are specific to an architecture, thus less portable.
Blobs are quite often massively bloated.

14. Why build audio/video PC?

There are many advantages. First you can listen to HD audio that ordinary CD can’t reproduce. You can backup your music and videos on disk drives and listen directly from PC. No more switching CDs and DVDs when you want to listen something. No more scratching on your favorite DVD or CD. Everything is in one place and original CDs/DVDs are safe.

15. What’s with SSD disks

Some audiophiles prefer SSD disks because they don’t have mechanical parts and are quiet. Yes that’s true. But they are small and expensive. You cannot backup many things on such disks because they are small. And if you have a large collection like I have, that’s not an option. SATA disks are large and there are many of them that are very quiet. I have two SATA disks in my PC and I don’t hear them at all. So SSD disks are not necessary in my opinion.

There are some manufactures of PC cases that are more sound proof, and you can silence your SATA disks with some other methods like putting them in HDD cages or screw them with rubber between screw and HDD. This will reduce the vibration and sound. If you will be putting your HDDs in cages be careful. Some cages don’t have enough airflow for cooling and then your HDD can be damaged. There are many resources on the net like www.QuietPC.com where you can review your HDD before buying.

16. How can I backup my CDs to hard disk?

Open terminal.
sudo su
apt-get install sound-juicer
After install insert your CD into drive and open sound-juicer program. In preferences select output format Flac and go to Disk – Extract.

50 comments on “FAQ

  1. gorboman says:

    Hi!

    What’s the minimum PC specification to run AP Linux?

    • admin says:

      I would not go under 2GB of RAM but it can be played with less. Any CPU released in last 7-8 years from Intel and AMD will be fine. I just tested it with some Atom processor and 2GB of RAM and it was fine. Linux plus Fluxbox window manager will run fine under 1GB of RAM.

  2. Soren Siim Nielsen says:

    Any plans for a x64 build?

    • admin says:

      Not for now. Maybe later…

      • Soren Siim Nielsen says:

        So AP Linux shouldn’t be used with less than 2Gb of ram but anything over 4Gb won’t be supported? Sure makes my 16gb feel a bit silly. Is there somewhere I can sign up to be notified when a 64 bit version is available?

        • admin says:

          I meant AMD64 and EM64T architecture. If you have new iCore processor with 16GB of RAM it is supported. After installation when you reboot, you will have kernel that see all your cores and all of your 16GB of RAM.

        • Mario says:

          Linux is not Windows. 32bit linux supports more than 16gb ram with PAE extensions.
          The “only” advantage of 64 bit is that it is a faster.
          So don’t worry be happy!

  3. Tom says:

    is this based on the Linux Mint 32-bit? should work w/ both 32 and 64 bit CPUs?

    also, how much space should i partition for the OS? i’d like to dual boot with my current win8 install

    • admin says:

      It’s based on Linux Mint Debian, and should work w/both 32 and 64 bit CPUs. How much space depends on how much you will use Linux in the future. So it’s hard to tell. Install it for testing on small partition like 60GB (don’t forget swap partition too 2-3GB) and later if you like it, you will install it on bigger partition, or even the whole disk :-).

  4. Kuki says:

    AP Installation Linux has gone smoothly, the sound is wonderful, warm and detailed, just like Mr. Dalibor described on the web, but I noticed when using the touch pade is not working and it fell on my laptop! If there is any other software suggestions to make it up I would be grateful! Furthermore giving all the praise on this Linux distribution, and I promise I’ll be a regular visitor.

  5. Julio says:

    Congrats!!!!
    AP-Linux is the best sounding software i have ever heard.

    I have very limited linux experience, and my english is not as good as i will like, so is there something already in AP-Linux to remotely control with another machine like vnc ????

  6. giupet says:

    hi, i’m an audiophile…
    i have installed aplinux but my hiface I not recognized in qjack…
    …….in forums….:
    Open source drivers for the original Hiface devices (not the new Hiface 2 which already has Linux/Unix support) are now available from a 3rd party See here – https://github.com/panicking/snd-usb-asyncaudio
    See this post from someone using my JKDAC32 with this driver on Linux http://theartofsound.net/forum/showpost.php?p=375868&postcount=142
    This will work with all my Hiface based converters & DACs

    …..but i’m a windows user…newborn linux user (aplinux)…..it’s hard for me!
    i don’t can install this package…how can i do?
    …and i’m not on line with aplinux…how can i connect to my wifi router?
    …my english is…bad…
    thanks and congratulations for the S.O….
    i hope to use it!!!
    bye bye, giupet

      • giupet says:

        thanks…I tried…but…
        …..sudo su…apt-get install git…………………..etc………………
        (italian/english…) the package no verifiy……install no verified [Y/N]? Y
        Err http://debian.linuxmint.com/latest/ testing/main git i386 1:1.7.10.4-1+wheezy1
        impossible solve “debian.linuxmint.com”
        Impossible recover http://debian.linuxmint.com/latest/pool/main/g/git/git_1.7.10.4-1+w
        heezy1_i386.deb Impossible solve “debian.linuxmint.com”
        Impossible download some package. util apt-get update or –fix-missing

        apt-get update………….impossible solve debian.linuzmint.com………..
        w: some index files failed to download. they have been ignored, or old ones used instead.

        –fix-missing……………–fix-missing: command not found

        what i do? bye and thx…..and music: nothing!

        • admin says:

          I don’t know for sure because I am out, but maybe you have git installed in distribution so try without apt-get install. Just run git and the rest of the commands.

          • giupet says:

            thx!….git…..
            …..giupet# cd /usr/local/src
            src# git clone git://github.com/panicking/snd-usb-asyncaudio.git
            cloning into snd-usb-asyncaudio…
            fatal: unable to connect to github.com
            github.com name or service unknown

            …?…bye and thx

          • giupet says:

            i try without apt-get install…i try again the julio comment for the driver hiface….

            ”Just run git and the rest of the commands…”
            but, how i just run git?
            bye, giupet

          • admin says:

            Open terminal and type these commands:
            sudo su
            cd /usr/local/src
            git clone git://github.com/panicking/snd-usb-asyncaudio.git
            cd snd-usb-asyncaudio
            make

        • Julio says:

          Hello Giupet

          I have the same problem than you, so you can try to download the driver with another machine go to https://github.com/panicking/snd-usb-asyncaudio and click on zip, decompress and save the files in a usb memory, and put the files your ap linux machine in /usr/local/src then you can go from

          make
          insmod snd-usb-asyncaudio.ko

          With your favorite editor add this to /etc/rc.local
          insmod /usr/local/src/snd-usb-asyncaudio/snd-usb-asyncaudio.ko

          for example emacs /etc/rc.local
          scroll down to the end and add this
          insmod /usr/local/src/snd-usb-asyncaudio/snd-usb-asyncaudio.ko

          To save: CTRL+x+s (press Ctrl, then holding the Ctrl press x and then s.
          To exit the editor use Ctrl+x+c)

          • giupet says:

            hi dear julio…it’s hard for me…i’m a good win user…no linux…
            I think I have followed the steps correctly…but the hiface isn’t in jack interface (insert the usb-key, obvious)…
            i put the files in usb pen drive (after unzip the files downloaded from github with other pc) and i copy/paste in usr/local/src like root…
            after…in shells-eterm1….editor: emacs…….saved…
            sudo su…make…insmod snd-usb-asyncaudio.ko
            reboot the pc…..
            I made several attempts
            ….nothing…: no hiface interface on jack…
            bye and thanks, giupet

          • giupet says:

            p.s. my dac is usb too…but i want to use the hiface drive…it’s at the top…

          • giupet says:

            i have many hdtracks 24/96 AND 24/192khz…some hrx from reference recordings….etc….i want to test the improvement of this S.O. for pc audiophiles….
            in my system win7+hiface+dac is good, but my oppo universal player dv980h is better…
            and with ap-linux….?….

          • giupet says:

            between 1000 commitments …
            (1) I connected ap-linux with usb socket to dac… it works fine…audacious marks such as 24/88 khz, but the dac remains fixed at 48khz … why?
            I sent a few days then try to install the drivers for hiFace (surely bit perfect) …
            (2) with hiFace (and coax cable to coax in/dac) the dac clock frequency changes or remains solid?
            in windows with hiface and with usb it changes freq.
            bye, giupet

          • giupet says:

            eureka…victory….
            hiface is…driver ok…music ok…ap-linux works fine…
            but audacious and deef works (with jack) in resampler…!?!…
            (1) it’s possible to have the originale sample freq?
            in playlist…24/96…24/88…44/16khz…and the dac (with hiface in coax) not change automatic the sample (es…96…88…44…etc -in windows with foobar+hiface+matrix dac change sample is automatic-)?
            here, the dac is fixed on freq……downsample?and upsampling?
            (2) how I can sound the music-files from my hdd/NAS in wireless?it’s possible with ap-linux?
            thanks, bye. giupet

          • admin says:

            Happy that you managed to get it working.

            1. Remember the old gramophone? Sorry you have to do it manually every time until we find another solution 🙂
            2. Of course. As I said before, Linux is born on network. There are many ways to stream music over network.
            Look for the NFS and SAMBA on the net. We will have this topic covered in near future.

  7. giupet says:

    ….sorry….
    p.s. i have installed it on netbook sony…chip atom 1,8 ghz and 1gb ram…i don’t have a swap partition…
    bye, giupet

    the netbook is ok for music with win7+foobar+hiface in ks streaming (out)…
    coax cable vdhul+dac i-mini (up 24/192)+audio note oto+…audio note j speakers or beyerdynamic studio dt880pro…all cables van den hul+audio tekne

  8. 8rnity says:

    hi, I’m trying ap-linux, still in test but interesting, more details will come. my setup: zotac ID11 > usb dac.
    I have two questions: system following instructions it is supposed to will be bit-perfect. It seems to.
    deadbeef hangs on play. need to use audacious instead.

    why on player I’m able to use volume function? and before tell that I need to put it on max, max is too loud and someway distorted. plus, when volume is upper than 40% it seems that doesn’t change much, but only change something in sound.

    so the question is: why I can use volume, and what’s the right setting to pass bit perfect to my usb dac?
    second question: I installed xbmc because is my target, using it with jack, but I’m not able to launch it. neither the “wait” icon, no xbmc.log is created, so doesn’t launch at all. where am I wrong?

    I think your project will be my home, I’ll explain later why. thank you.

    • admin says:

      > max is too loud and someway distorted
      Don’t know what to say. In our setup max is OK. Maybe you have some mixer settings enabled.

      > why I can use volume, and what’s the right setting to pass bit perfect to my usb dac?
      A. Because this is basic feature of any player
      B. Jack plugin, max settings

      > I installed xbmc because is my target, using it with jack, but I’m not able to launch it. neither the “wait” icon, no xbmc.log is created, so doesn’t launch at all. where am I wrong?

      Search this question in Linux Mint forums. We can’t have support for every software available in Linux. And we DON’T suggest XBMC for listening music.

  9. 8rnity says:

    thank you for your answers. I wasn’t not able to resolve my distorsion issues that, btw, were present even in other distributions, including openelec. I appreciate your project but after many weeks of trying I think I’m going to change back to windows. it seems really that my dac has some problem with linux… still have no home for now 🙂

    • admin says:

      It is possible that we could have your type of DAC in the future, so maybe we will be better luck.

  10. 8rnity says:

    yes, it’s internal to the ampli so it’s like an usb audio board, but great for sound. my ampli is the fatman itube mk2.

    CM102-A+/102S+ USB Audio Controller

  11. Fran says:

    @giupet, @Julio

    I am having some difficulties in getting my hiface to work. I managed to install the drivers Ok and I can see the hiface in jack. However I get the same message

    “jack cannot connect to server as client”

    I tried reading around a bit and came across something – I opened a terminal and “sudo alsamixer”, then went to f6 to force the alsa to see the hiface. The hiface is listed there, but when I select it, I get a message “this sound device does not have any controls” and it will not allow me to select it.

    I think there is something wrong between alsa and the hiface drivers.

    Any ideas? I am way out of my depth here!!

    Fran

    • giupet says:

      hi, i’m not a linux user…i have installed the drivers…:
      sudo su
      cd /usr/local/src

      ……………..
      I have the same problem than you, so you can try to download the driver with another machine go to https://github.com/panicking/snd-usb-asyncaudio and click on zip, decompress and save the files in a usb memory, and put the files your ap linux machine in /usr/local/src then you can go from

      make
      insmod snd-usb-asyncaudio.ko

      With your favorite editor add this to /etc/rc.local
      insmod /usr/local/src/snd-usb-asyncaudio/snd-usb-asyncaudio.ko

      for example emacs /etc/rc.local
      scroll down to the end and add this
      insmod /usr/local/src/snd-usb-asyncaudio/snd-usb-asyncaudio.ko

      To save: CTRL+x+s (press Ctrl, then holding the Ctrl press x and then s.
      To exit the editor use Ctrl+x+c)

      and in jack the hiface is…

      after the reboot it’s missed…i installed again and it sound….i don’t reboot the pc….
      bye, giupet

  12. fran says:

    Thanks Giupet – I got the drivers installed OK and the hiface is listed in Jack, but I get an error msg “Jack cannot connect to the server”. Here is the message:

    22:31:09.076 Patchbay deactivated.
    22:31:09.088 Statistics reset.
    22:31:09.111 ALSA connection change.
    ALSA lib conf.c:1220:(parse_def) show is not a compound
    ALSA lib conf.c:1686:(snd_config_load1) _toplevel_:24:26:Unexpected char
    ALSA lib conf.c:3406:(config_file_open) /usr/share/alsa/pulse-alsa.conf may be old or corrupted: consider to remove or fix it
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server request channel
    jack server is not running or cannot be started
    22:31:09.139 ALSA connection graph change.
    22:31:31.700 JACK is starting…
    22:31:31.701 /usr/bin/jackd -p1024 -t2000 -dalsa -dhw:1 -r44100 -p16 -n4 -P
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server request channel
    jack server is not running or cannot be started
    ALSA lib conf.c:1220:(parse_def) show is not a compound
    ALSA lib conf.c:1686:(snd_config_load1) _toplevel_:24:26:Unexpected char
    ALSA lib conf.c:3406:(config_file_open) /usr/share/alsa/pulse-alsa.conf may be old or corrupted: consider to remove or fix it
    22:31:31.758 JACK was started with PID=2451.
    no message buffer overruns
    no message buffer overruns
    no message buffer overruns
    jackdmp 1.9.9
    Copyright 2001-2005 Paul Davis and others.
    Copyright 2004-2012 Grame.
    jackdmp comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    JACK server starting in realtime mode with priority 10
    control device hw:1
    control device hw:1
    audio_reservation_init
    Acquire audio card Audio1
    creating alsa driver … hw:1|-|16|4|44100|0|0|nomon|swmeter|-|32bit
    control device hw:1
    configuring for 44100Hz, period = 16 frames (0.4 ms), buffer = 4 periods
    ALSA: final selected sample format for playback: 32bit integer little-endian
    ALSA: cannot set period size to 16 frames for playback
    ALSA: cannot configure playback channel
    Cannot initialize driver
    JackServer::Open failed with -1
    Failed to open server
    22:31:32.133 JACK was stopped with exit status=255.
    22:31:33.770 Could not connect to JACK server as client. – Overall operation failed. – Unable to connect to server. Please check the messages window for more info.
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server request channel
    jack server is not running or cannot be started

  13. fran says:

    One other thing. I think that some of the drivers have been changed (see the changelog on the page below). Do I need to make all those changes to the files in the driver package?

    https://github.com/panicking/snd-usb-asyncaudio

  14. Fran says:

    Thanks Giupet – I think you are the same as me, but luckier in getting it working!!

    Anyone can help maybe?

    This is why linux has not taken off – can be very hard to make it work. It also happens in windows, but most things tend to have mass market help there (more people use it=better support and drivers etc)

    Fran

    • Filargos says:

      Dear Fran,

      Try in Jack setup, frames/period >128, You have set very low value.(16).
      Be well

  15. Mats says:

    Hi!

    I need to contole the volume settings from my std keybord… any surgestions?

    // Mats

    • admin says:

      Volume should always be at max on your player, but if you want to alter this with keyboard, in Deadbeef go to preferences, global hotkeys and add volume up, volume down keys. Don’t know about Audacious.

  16. Mats says:

    @admin

    Thanx!! Workes great! I will start listning tonaight…….

    The desktop looks realy nice! Even nicer Jack meterbrige! 😉

  17. masho says:

    hi

    do i need to update my ap linux. update manager find 669mb of updates.

  18. Lannick says:

    Plan an ARM version of APLinux ?

    • mlerota says:

      Of course :-). Everybody is talking about Raspberry Pi. But some time in the future. Don’t know when.

      • lannick says:

        Thanks. Not only for RaspberryPi, I think for a minix X5 audio project for example.