logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).


L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT → ODT PDF Export

Ceci est une ancienne révision du document !


Configuration Système

Graver clé USB live

fdisk -l
dd if=image.iso of=/dev/sdx bs=4M && sync

Problème

fdisk -l
umount /dev/sdx
dd if=/dev/zero of=/dev/sdx bs=2048 count=32 

Dépôt

pluma /etc/apt/sources.list
/etc/apt/sources.list.d/deb_debian-stable_non-libre.list
# Debian stable, dépôt principal + paquets non libres
    deb http://deb.debian.org/debian/ stable main contrib non-free
 
# Debian stable, mises à jour de sécurité + paquets non libres
    deb http://security.debian.org/ stable/updates main contrib non-free
 
# Debian Stretch, mises à jour "volatiles" + paquets non libres
    deb http://deb.debian.org/debian/ stable-updates main contrib non-free
 
# Debian Stretch, dépôt de rétroportages ("backports")
    deb http://deb.debian.org/debian/ stretch-backports main contrib non-free
 
 # Debian Multimedia
  deb http://www.deb-multimedia.org stretch main non-free
 
apt-get update
apt-get install deb-multimedia-keyring
apt-get install aptitude
aptitude update
aptitude upgrade

Pilote graphique nvidia-detect

Le script nvidia-detect (paquet nvidia-detect dans non-free) peut également être utilisé pour identifier le processeur graphique et le pilote adapté.

aptitude update
aptitude install nvidia-detect
nvidia-detect

Lien: https://wiki.debian.org/fr/NvidiaGraphicsDrivers#nvidia-detect

Pilote graphique Nvidia GTX 970 (Predator) - Stretch

aptitude install linux-headers-$(uname -r)
aptitude install -t stretch-backports nvidia-driver
reboot

Lien 1: debian.org NvidiaGraphicsDrivers
Lien 2: DF poste 23

Wi-fi

Acer Predator G6-710

aptitude install firmware-atheros
modprobe -r ath10k_pci
wget https://github.com/FireWalkerX/ath10k-firmware/blob/master/QCA6174/hw3.0/board-2.bin
cp board-2.bin /lib/firmware/ath10k/QCA6174/hw3.0/board.bin 

Lien du fichier board.bin: https://github.com/FireWalkerX/ath10k-firmware/blob/master/QCA6174/hw3.0/board-2.bin

Packard Bell

aptitude install wireless-tools
aptitude update
aptitude install firmware-iwlwifi
modprobe -r iwlwifi ; modprobe iwlwifi

Su / sudo

adduser slyfox sudo

Paquets préférés

aptitude update
aptitude install mate-desktop-environment-extras firmware-iwlwifi build-essential intltool xz-utils fakeroot checkinstall pkg-config libgtk2.0-dev git-core gconf-editor audacity dconf-editor zenity lsdvd ffmpeg mplayer mencoder dvdbackup genisoimage mkvtoolnix gawk libdca0 libdvdcss2 libdvdnav4 libdvdread4 minidlna caja-open-terminal mkvtoolnix-gui mkvtoolnix avidemux vobcopy youtube-dl pyrenamer zenity gparted shotwell unrar samba smbclient cifs-utils mpv python3-tk gnome-calculator shutter fdkaac audacious qpdfview easytag gstreamer1.0-plugins-base gstreamer1.0-plugins-bad libimobiledevice-dev libimobiledevice-utils libgpod-dev yad mgba-common mgba-sdl mgba-qt quodlibet thunderbird thunderbird-l10n-fr fceux aptitude geany geany-plugin-addons geany-plugin-insertnum geany-plugin-prj geany-plugin-autoclose geany-plugin-latex geany-plugin-projectorganizer geany-plugin-automark geany-plugin-lineoperations geany-plugin-py geany-plugin-codenav geany-plugin-lipsum geany-plugins geany-plugin-commander geany-plugin-lua geany-plugins-common geany-plugin-ctags geany-plugin-macro geany-plugin-scope geany-plugin-debugger geany-plugin-markdown geany-plugin-sendmail geany-plugin-defineformat geany-plugin-miniscript geany-plugin-shiftcolumn geany-plugin-devhelp geany-plugin-multiterm geany-plugin-spellcheck geany-plugin-doc geany-plugin-numberedbookmarks geany-plugin-tableconvert geany-plugin-extrasel geany-plugin-overview geany-plugin-treebrowser geany-plugin-gendoc geany-plugin-pairtaghighlighter geany-plugin-updatechecker geany-plugin-geniuspaste  geany-plugin-pg geany-plugin-vc geany-plugin-git-changebar geany-plugin-pohelper geany-plugin-webhelper geany-plugin-gproject geany-plugin-prettyprinter geany-plugin-xmlsnippets kid3-cli eyed3 flac vorbis-tools tor torbrowser-launcher gcompris gcompris-sound-fr
 
aptitude upgrade

MATE 1.20 - Debian stretch (stable)

echo -e "\n# Debian stretch (stable) backports\ndeb http://deb.debian.org/debian/ stretch-backports main contrib non-free" >> /etc/apt/sources.list
aptitude update
apt -t stretch-backports install mate-desktop-environment

MATE ajouter ou enlever des icônes système

 dconf-editor

Puis suivez ce chemin : org/mate/caja/desktop

Autologin Mate

Ajouter une ligne autologin-utilisateur spécifiant votre nom d'utilisateur dans le fichier /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf.

pluma /usr/share/lightdm/lightdm.conf.d/01_debian.conf
/usr/share/lightdm/lightdm.conf.d/01_debian.conf
# Debian specific defaults
#
# - use lightdm-greeter session greeter, points to the etc-alternatives managed
# greeter
# - hide users list by default, we don't want to expose them
# - use Debian specific session wrapper, to gain support for
# /etc/X11/Xsession.d scripts
 
[SeatDefaults]
greeter-session=lightdm-greeter
greeter-hide-users=true
session-wrapper=/etc/X11/Xsession
autologin-user=slyfox

Autocomplétion

aptitude install bash-completion
pluma /etc/bash.bashrc

Rechercher la ligne # enable bash completion in interactive shell et supprimer les dièses (#) sur la portion de code après cette ligne jusqu'au dernier fi.

ce qui doit donné au final :

# enable bash completion in interactive shells
if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi

Steam

Lien forum: steam-debian-stretch-stable-backports

echo -e "\n# Debian stretch (stable) backports\ndeb http://deb.debian.org/debian/ stretch-backports main contrib non-free" >> /etc/apt/sources.list
dpkg --add-architecture i386
aptitude update
aptitude -t stretch-backports install steam
aptitude -t stretch-backports install libgl1-nvidia-glx:i386

Liens:
https://wiki.debian.org/fr/Steam
http://store.steampowered.com/about/
https://www.debian-fr.org/t/steam-sous-debian-wheezy-sid/56701/2
https://forums.archlinux.fr/viewtopic.php?t=18139

Visualiser disques Netgear

Ne pas oublier de remplacer les xxx
aptitude update
aptitude install samba smbclient cifs-utils

Monter disques Netgear graphique

Commande ouverture Netgear via caja (Mate).

caja smb://192.168.0.xxx

Option créer un lanceur…

Via terminal

smbclient //192.168.0.xxx/netgear-disque-interne

Fichier /ect/fstab

(Installation HDD interne Predator)

pluma /etc/fstab
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=18a3eaf3-95f4-4eb4-8e8e-da581d81fdc9 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=8606-D934  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda6 during installation
UUID=d79875ce-9132-4ade-ad19-b9b5573e03d7 /home           ext4    defaults        0       2
# swap was on /dev/sda7 during installation
UUID=39d0e0ab-8071-4590-9596-e712b5f5c8ba none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/disk/by-id/wwn-0x50014ee261f11217 /mnt/wwn-0x50014ee261f11217 auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0

# HDD interne
#/dev/sdc2 /media/slyfox/HDD\040SAUVEGARDE ntfs-3g auto,users,rw,nls=utf8,uid=1000 0 0

Si problème aller sur Windows est désactiver le mode hibernation de Windows:

powercfg -h off

Lien: https://forum.ubuntu-fr.org/viewtopic.php?id=1271791 Lien: https://www.youtube.com/watch?v=-2-A72GDrpY

utilisateurs/slyfox/config/configuration-systeme.1553410729.txt.gz · Dernière modification: 24/03/2019 07:58 par Slyfox

Pied de page des forums

Propulsé par FluxBB