Archives de catégorie : Linux

All about Linux

Linux mint no sound and installer freezing

Happened to me today after a month of struggling:
The installer on a live usb was freezing right after i clicked continue after checking if i had enough disk space and an active internet connection.
The culprit was my windows disk (a crucial ssd 250gb) where a hidden partition created by windows 10 was hindering the install process. I deactivated the ssd in the BIOS and proceeded to install linux mint without any problem (strangely that didn’t do it with ubuntu nor fedora). I activated it after the install, and done a

gksu update-grub

After that, I had the bad surprise to not have sound (well, I had sound, but only thanks to my lcd screen via the Display port).

inxi -Ax

Displayed my sound cards correctly:

Audio:     Card-1 Intel Device a170 driver: snd_hda_intel bus-ID: 00:1f.3
           Card-2 NVIDIA Device 0fbb driver: snd_hda_intel bus-ID: 01:00.1
           Sound: Advanced Linux Sound Architecture v: k3.19.0-32-generic

Tried numerous things, but the only one that worked was thanks to this: http://askubuntu.com/questions/672187/no-audio-output-devices-detected-in-new-computer-build-with-skylake-z170-mothe

in particular the part:

sudo apt-add-repository ppa:ubuntu-audio-dev/alsa-daily
sudo apt-get update
sudo apt-get install oem-audio-hda-daily-lts-vivid-dkms

Now i have my real soundcard detected, and it works just fine.

Fstab and drive mount

In a terminal:

List of UUID:

sudo blkid

Create the folders in the media folder:

sudo mkdir /media/XXX
sudo gedit /etc/fstab

add lines:

UUID=YYY /media/XXX ntfs−3g user,defaults 0 0

for ntfs where YYY is the UUID you got and XXX in the name of the folder you created.

Save the modification, be sure to have unmounted all the drivers and again in a terminal type:

sudo mount −a

to mount all the drives in the folders you created.

Installing Pronterface on ubuntu/mint in 3mn

 
 
 

So you want to recycle an old computer to hook it up on your 3d printer (linux mint XFCE works wonders on my old samsung netbook), or you simply have a linux computer and no desire to install windows just to run your printer.

The 2 main programs to execute Gcode are Repetier -host and Pronterface (also known as printrun).

Repetier is running using wine, meaning it’s heavy and cumbersome. As for Pronterface, believe it or not, it’s linux version is prettier than the windows version.

Anyway, here’s how to install it:

1- make sure you have the python dependencies installed:

sudo apt-get install python-serial python-wxgtk2.8 \ python-pyglet python-tk

2- make sure you have git installed:

sudo apt-get install git

3- installing Printrun/Pronterface

 go into the folder you want to download it to and type

git clone https://github.com/kliment/Printrun.git

This will copy the folder "Printrun" into the folder you chose. In this folder you'll find a file named "printrun.py" and run it, voila, you have pronterface.

(you can also run it in a terminal with the command python pronterface.py)