Benutzer:Sidloki
Zur Navigation springen
Zur Suche springen
Paketverwaltung
Paketquellen
Aktuelles Release (Bullseye)
root@debian:~# editor /etc/apt/sources.list
deb http://ftp.ch.debian.org/debian/ stable main contrib non-free
#deb-src http://ftp.ch.debian.org/debian/ stable main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
#deb-src http://security.debian.org/ stable/updates main contrib non-free
# stable-updates, previously known as 'volatile'
deb http://ftp.ch.debian.org/debian/ stable-updates main contrib non-free
#deb-src http://ftp.ch.debian.org/debian/ stable-updates main contrib non-free
# stable-backports, previously on backports.debian.org
deb http://ftp.ch.debian.org/debian/ stable-backports main contrib non-free
#deb-src http://ftp.ch.debian.org/debian/ stable-backports main contrib non-free
Nächstes Release (Stretch)
root@debian:~# editor /etc/apt/sources.list
deb http://ftp.ch.debian.org/debian/ testing main contrib non-free
#deb-src http://ftp.ch.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
#deb-src http://security.debian.org/ testing/updates main contrib non-free
deb http://ftp.ch.debian.org/debian/ unstable main contrib non-free
#deb-src http://ftp.ch.debian.org/debian/ unstable main contrib non-free
deb http://ftp.ch.debian.org/debian/ experimental main contrib non-free
#deb-src http://ftp.ch.debian.org/debian/ experimental main contrib non-free
root@debian:~# editor /etc/apt/preferences.d/zzz-next-release.pref
Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 500
Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 400
Package: *
Pin: release o=Debian,a=experimental
Pin-Priority: 300
Konfiguration
root@debian:~# editor /etc/apt/apt.conf.d/99zzz-autoremove
APT::AutoRemove::SuggestsImportant "false";
Aktualisierungen
root@debian:~# editor /etc/polkit-1/localauthority/50-local.d/org.freedesktop.packagekit.pkla
[Allow all users to update software]
Identity=unix-user:*
Action=org.freedesktop.packagekit.system-update
ResultAny=no
ResultInactive=no
ResultActive=yes
Systemkonfiguration
Warntöne ausschalten
user@debian:~$ gsettings set org.gnome.desktop.sound event-sounds false
root@debian:~# editor /etc/modprobe.d/zzz-blacklist.conf
blacklist pcspkr
Systemlautstärke
root@debian:~# editor /etc/pulse/daemon.conf
flat-volumes = no
Terminal einfärben
Benutzer
user@debian:~$ editor /home/user/.bashrc
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
force_color_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt
Root
root@debian:~# editor /root/.bashrc
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
force_color_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt
Flash-Plugins installieren und automatisch aktualisieren
Adobel Flash Player (Firefox/Iceweasel)
root@debian:~# apt install flashplugin-nonfree
root@debian:~# editor /etc/cron.daily/flashplugin
#!/bin/sh
test -x /usr/sbin/update-flashplugin-nonfree || exit 0
update-flashplugin-nonfree --install --quiet
root@debian:~# chmod +x /etc/cron.daily/flashplugin
Pepper Flash Player (Chromium)
root@debian:~# apt install pepperflashplugin-nonfree
root@debian:~# editor /etc/cron.daily/pepperflashplugin
#!/bin/sh
test -x /usr/sbin/update-pepperflashplugin-nonfree || exit 0
update-pepperflashplugin-nonfree --install --quiet
root@debian:~# chmod +x /etc/cron.daily/pepperflashplugin