Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux [2017/08/21 17:52] gevatterlinux [2025/11/28 23:37] (current) gevatter
Line 1: Line 1:
- ====== Linux ======+====== Linux ====== 
 + 
 +  * [[:android|]] 
 +  * [[:ldap|]] 
 +  * [[:puppet|]] 
 +  * [[:linux_grub|grub]] 
 +  * [[:networking|]] 
 +  * [[:monitoring|]] 
 +  * [[:backup|]] 
 +  * [[:openwrt|]] 
 +  * [[:mailserver|]] 
 +  * [[:debian|]]
  
-  * [[ldap]] 
-  * [[puppet]] 
-  * [[linux/grub|grub]] 
-  * [[networking]] 
-  * [[monitoring]] 
-  * [[backup]] 
-  * [[openwrt|openwrt]] 
-  * [[mailserver]] 
 ===== wie hieß das ding nochmal? ===== ===== wie hieß das ding nochmal? =====
 +
 +  * ipv6calc –in prefix+mac
   * Schnell alle systeminformationen: ''inxi''   * Schnell alle systeminformationen: ''inxi''
   * linux_logo   * linux_logo
Line 16: Line 21:
   * lsblk -f   * lsblk -f
   * Desktopfirewall: ''gufw''   * Desktopfirewall: ''gufw''
-  * ''%%journalctl -u bareos-sd.service -f --no-pager%%''+  * ''<nowiki>journalctl -u bareos-sd.service -f --no-pager</nowiki>''
   * ''ncdu'': show disk usage   * ''ncdu'': show disk usage
   * pretty print for json: ''jq''   * pretty print for json: ''jq''
 +  * ''baton'': spotify remote 
 +  * ''tm'': simple timer 
 +  * ''nave'': virtual envs for node 
 +  * ''funky'': alias manager for shell 
 +  * ''findmnt'': mount tree 
 +  * ''mount | column -t'': mount in columns
 ===== byobu ===== ===== byobu =====
 +
 |shift+f11|toggle pane fullscreen| |shift+f11|toggle pane fullscreen|
 |C-a $|rename the current session| |C-a $|rename the current session|
-more: https://gist.github.com/andreyvit/2921703+ 
 +more: [[https://gist.github.com/andreyvit/2921703|https://gist.github.com/andreyvit/2921703]] 
 ===== themes ===== ===== themes =====
 +
 ==== dunkel ==== ==== dunkel ====
 +
   * Cloak-3.20   * Cloak-3.20
  
 ==== qt theme wählen ==== ==== qt theme wählen ====
 +
   * qtconfig-qt4   * qtconfig-qt4
 +
 +===== default filemanager ändern =====
 +<code>
 +xdg-mime default nemo.desktop inode/directory
 +</code>
  
 ===== xdebug ===== ===== xdebug =====
 <code> <code>
 +
 [xdebug] [xdebug]
 zend_extension=xdebug.so zend_extension=xdebug.so
Line 46: Line 68:
  
 </code> </code>
- 
- 
  
 ===== logs mit kaputten umbrüchen korrigieren und anzeigen ===== ===== logs mit kaputten umbrüchen korrigieren und anzeigen =====
Line 53: Line 73:
 ''tail -f error_log | sed "s/\\\n/\\n/g"'' ''tail -f error_log | sed "s/\\\n/\\n/g"''
  
-source: http://stackoverflow.com/questions/8319123/php-error-log-outputting-line-breaks-as-literal-n-strings-on-mac-osx/11078350#11078350+source: [[http://stackoverflow.com/questions/8319123/php-error-log-outputting-line-breaks-as-literal-n-strings-on-mac-osx/11078350#11078350|http://stackoverflow.com/questions/8319123/php-error-log-outputting-line-breaks-as-literal-n-strings-on-mac-osx/11078350#11078350]]
  
 ===== aktuellen quasselclient unter debian ===== ===== aktuellen quasselclient unter debian =====
 +<code>
  
-  install libqtcore4 libqtgui4 libqt4-network libqtwebkit4 libqt4-phonon libindicate-qt1+install libqtcore4 libqtgui4 libqt4-network libqtwebkit4 libqt4-phonon libindicate-qt1
  
-  https://files.datentonne.net/quassel-client.deb +</code>
-   +
-===== midnight commander ===== +
-  * ''Ctrl + Space'' show size of folder contents +
-  * ''Alt + .'' Toggle showing hidden files+
  
 +<code>
 +https://files.datentonne.net/quassel-client.deb
 +
 +</code>
 +
 +===== midnight commander =====
  
 +  * ''Ctrl + Space''  show size of folder contents
 +  * ''Alt + .''  Toggle showing hidden files
 ===== system ===== ===== system =====
 +
   * [[http://ubuntuhilfe.wordpress.com/2009/04/25/howto-dateisystem-mit-sshfs-mounten/|Howto: Dateisystem mit sshfs mounten]]   * [[http://ubuntuhilfe.wordpress.com/2009/04/25/howto-dateisystem-mit-sshfs-mounten/|Howto: Dateisystem mit sshfs mounten]]
   * Name des Computermodells ausgeben: ''dmidecode -s system-product-name''   * Name des Computermodells ausgeben: ''dmidecode -s system-product-name''
  
 ==== ipv6 ==== ==== ipv6 ====
 +
 === disable autoconfiguration === === disable autoconfiguration ===
-add ''ipv6'' in ''/etc/modules'', otherewise the ipv6 module gets loaded in the moment there is an adress asigned to the interface and then it is to late. 
  
-source: http://blog.easter-eggs.org/index.php/post/2010/08/23/Disable-IPv6-autoconfiguration+add ''ipv6''  in ''/etc/modules'', otherewise the ipv6 module gets loaded in the moment there is an adress asigned to the interface and then it is to late.
  
 +source: [[http://blog.easter-eggs.org/index.php/post/2010/08/23/Disable-IPv6-autoconfiguration|http://blog.easter-eggs.org/index.php/post/2010/08/23/Disable-IPv6-autoconfiguration]]
  
 After this you can use sysctrl the usual way: After this you can use sysctrl the usual way:
 <code> <code>
 +
 file: /etc/sysctr.d/10-ipv6.conf file: /etc/sysctr.d/10-ipv6.conf
  
Line 97: Line 125:
 net.ipv6.conf.all.accept_redirects = 0 net.ipv6.conf.all.accept_redirects = 0
 net.ipv6.conf.all.forwarding = 0 net.ipv6.conf.all.forwarding = 0
 +
 </code> </code>
 +
 ==== Beep abstellen ==== ==== Beep abstellen ====
 +
 <code> <code>
 blacklist snd_pcsp blacklist snd_pcsp
 blacklist pcspkr blacklist pcspkr
 +
 </code> </code>
  
 ===== apache ===== ===== apache =====
-  * Logdatei mit verkorksten Zeilenumbrüchen angucken:  + 
-<code>tail -f error_log | sed "s/\\\n/\\n/g"</code>+  * Logdatei mit verkorksten Zeilenumbrüchen angucken: 
 + 
 +<code> 
 +tail -f error_log | sed "s/\\\n/\\n/g" 
 + 
 +</code>
  
 ===== user per polkit das verwalten von internen disks erlauben ===== ===== user per polkit das verwalten von internen disks erlauben =====
 <code> <code>
 +
 file: /etc/polkit-1/localauthority/50-local.d/mount.pkla file: /etc/polkit-1/localauthority/50-local.d/mount.pkla
  
Line 119: Line 157:
 ResultInactive=yes ResultInactive=yes
 ResultActive=yes ResultActive=yes
 +
 </code> </code>
  
 ===== python ===== ===== python =====
 +
 Wenn pygame meckert, dass keine Soundkarte vorhanden ist, hilft es, folgendes Packet zu installieren: libsdl1.2debian-alsa Wenn pygame meckert, dass keine Soundkarte vorhanden ist, hilft es, folgendes Packet zu installieren: libsdl1.2debian-alsa
  
 ===== vim ===== ===== vim =====
 +
   * [[http://mikiwiki.org/wiki/Zeilenumbruch|Arbeiten mit Zeilenumbrüchen in vim]]   * [[http://mikiwiki.org/wiki/Zeilenumbruch|Arbeiten mit Zeilenumbrüchen in vim]]
   * Parameter -n schaltet die swapdatei ab, praktisch beim arbeiten auf ftp-Servern per gvfs   * Parameter -n schaltet die swapdatei ab, praktisch beim arbeiten auf ftp-Servern per gvfs
Line 130: Line 171:
  
 ==== insert file autocomplete ==== ==== insert file autocomplete ====
 +<code>
  
-  Ctrl-X Ctrl-F+Ctrl-X Ctrl-F 
 + 
 +</code>
  
-source: http://stackoverflow.com/a/1919511+source: [[http://stackoverflow.com/a/1919511|http://stackoverflow.com/a/1919511]]
  
 ==== nicht-ascii zeichen anzeigen ==== ==== nicht-ascii zeichen anzeigen ====
 <code> <code>
 +
 When using vim -b, this displays all high characters as <xx>: When using vim -b, this displays all high characters as <xx>:
  
Line 142: Line 187:
 set isprint= set isprint=
 set display+=uhex set display+=uhex
-</code> 
  
-source: http://unix.stackexchange.com/questions/108020/can-vim-display-ascii-characters-only-and-treat-other-bytes-as-binary-data+</code>
  
 +source: [[http://unix.stackexchange.com/questions/108020/can-vim-display-ascii-characters-only-and-treat-other-bytes-as-binary-data|http://unix.stackexchange.com/questions/108020/can-vim-display-ascii-characters-only-and-treat-other-bytes-as-binary-data]]
  
 ==== wort unter cursor ersetzen ==== ==== wort unter cursor ersetzen ====
 <code> <code>
 +
 You can use: You can use:
  
Line 154: Line 200:
  
 where <c-r><c-w> means to literally type CTRL-rCTRL-w to insert the word under the cursor. where <c-r><c-w> means to literally type CTRL-rCTRL-w to insert the word under the cursor.
 +
 </code> </code>
  
-Quelle: http://stackoverflow.com/questions/5541253/in-vim-replace-all-occurrences-of-current-term-under-cursor+Quelle: [[http://stackoverflow.com/questions/5541253/in-vim-replace-all-occurrences-of-current-term-under-cursor|http://stackoverflow.com/questions/5541253/in-vim-replace-all-occurrences-of-current-term-under-cursor]] 
 ===== Dateihandling ===== ===== Dateihandling =====
 +
   * Datecodierung herausfinden: ''file -bi Datei''   * Datecodierung herausfinden: ''file -bi Datei''
  
 ===== lirc ===== ===== lirc =====
-Die Tastatur "Ruwido Merlin" wird nicht korrekt erkannt. Abhilfe bringt es, irrecord im force-Modus zu starten: + 
-''irrecord -f -d /dev/lirc0 lircd.conf''+Die Tastatur "Ruwido Merlin" wird nicht korrekt erkannt. Abhilfe bringt es, irrecord im force-Modus zu starten: ''irrecord -f -d /dev/lirc0 lircd.conf''
  
 ===== rdp server ===== ===== rdp server =====
-Die Installation nimmt einem das Tool XRDP-o-matik ab: [[http://scarygliders.net]]. g++ und gcc müssen in der gleichen Version vorliegen, sonst gibt es probleme!+ 
 +Die Installation nimmt einem das Tool XRDP-o-matik ab: [[http://scarygliders.net|http://scarygliders.net]]. g++ und gcc müssen in der gleichen Version vorliegen, sonst gibt es probleme!
  
 Damit für den Remoteuser die gleichen limits gelten, wie für den lokalen: Damit für den Remoteuser die gleichen limits gelten, wie für den lokalen:
 <code> <code>
 +
 To fix this, edit the file /etc/pam.d/common-session and add the following line: To fix this, edit the file /etc/pam.d/common-session and add the following line:
  
 session    required   pam_limits.so session    required   pam_limits.so
 +
 </code> </code>
-Quelle: http://browse.feedreader.com/c/Florent_Clairambault/19836740 
  
 +Quelle: [[http://browse.feedreader.com/c/Florent_Clairambault/19836740|http://browse.feedreader.com/c/Florent_Clairambault/19836740]]
  
 ==== Session auf deutsch ==== ==== Session auf deutsch ====
 <code> <code>
 +
 . /etc/default/locale . /etc/default/locale
 export LANG LANGUAGE export LANG LANGUAGE
 +
 </code> </code>
-zum Anfang der Datei ''/etc/xrdp/startwm.sh'' hinzufügen.+ 
 +zum Anfang der Datei ''/etc/xrdp/startwm.sh''  hinzufügen. 
 ===== Unicode Zeichen eingeben ===== ===== Unicode Zeichen eingeben =====
 +
 CTRL+SHIFT halten, dann u+NUMMER CTRL+SHIFT halten, dann u+NUMMER
 +
   * u2248 ≈   * u2248 ≈
  
 ===== VirtualBox ===== ===== VirtualBox =====
-  * [[http://168.site90.net/doku.php?id=install-virtualbox-guest-additions-on-debian-vm]]+ 
 +  * [[http://168.site90.net/doku.php?id=install-virtualbox-guest-additions-on-debian-vm|http://168.site90.net/doku.php?id=install-virtualbox-guest-additions-on-debian-vm]]
  
 ===== Evolution ===== ===== Evolution =====
-Emails nicht automatisch als gelesen Markieren:+ 
 +==== Emails nicht automatisch als gelesen Markieren ====
 <code> <code>
 +
 dconf-editor dconf-editor
  
 /org/gnome/evolution/mail/mark-seen /org/gnome/evolution/mail/mark-seen
-/org/gnome/evolution/mail/mark-seen-timeout +/org/gnome/evolution/mail/mark-seen-timeout 
 + 
 +</code> 
 + 
 +==== Disable gnome shell header bar ==== 
 +<code>gsettings set org.gnome.evolution.shell use-header-bar false 
 </code> </code>
  
 ===== ntpd ===== ===== ntpd =====
-  * http://www.maketecheasier.com/using-ntp-to-sync-your-clock-on-linux/2012/05/17+ 
 +  [[http://www.maketecheasier.com/using-ntp-to-sync-your-clock-on-linux/2012/05/17|http://www.maketecheasier.com/using-ntp-to-sync-your-clock-on-linux/2012/05/17]]
  
 ===== ruby ===== ===== ruby =====
-  * gem updaten: ''gem update --system''+ 
 +  * gem updaten: ''gem update system''
  
 ===== imagemagick ===== ===== imagemagick =====
 +
 ==== pdfs nach pngs umwandeln ==== ==== pdfs nach pngs umwandeln ====
 <code> <code>
 +
 convert eingabe.pdf[1] -density 600x600 -resize 800x560 PNG:'ausgabe.png'' convert eingabe.pdf[1] -density 600x600 -resize 800x560 PNG:'ausgabe.png''
 +
 </code> </code>
-quelle: http://blog.dinotools.de/2008/08/30/konvertieren-von-pdf-nach-png-jpeg-mit-i+ 
 +quelle: [[http://blog.dinotools.de/2008/08/30/konvertieren-von-pdf-nach-png-jpeg-mit-i|http://blog.dinotools.de/2008/08/30/konvertieren-von-pdf-nach-png-jpeg-mit-i]]
  
 ===== network manager ===== ===== network manager =====
-wenn beim verbinden mit einem vpn gar nichts mehr passiert: 
  
 +wenn beim verbinden mit einem vpn gar nichts mehr passiert:
 <code> <code>
 +
 sudo nano /etc/NetworkManager/NetworkManager.conf sudo nano /etc/NetworkManager/NetworkManager.conf
 change: managed=false to managed=true change: managed=false to managed=true
 +
 </code> </code>
  
-quelle: https://airvpn.org/topic/9406-updated-gnome-from-230-to-34-and-network-manager-wont-start-vpn/+quelle: [[https://airvpn.org/topic/9406-updated-gnome-from-230-to-34-and-network-manager-wont-start-vpn/|https://airvpn.org/topic/9406-updated-gnome-from-230-to-34-and-network-manager-wont-start-vpn/]]
  
 Die Datei /etc/ppp/chap-secrets anlegen mit 660 für rooot Die Datei /etc/ppp/chap-secrets anlegen mit 660 für rooot
Line 226: Line 301:
  
 ===== non ===== ===== non =====
 +
 pakete: ''aptitude install libjpeg62-dev libfontconfig1-dev libfontconfig1 libxft-dev libcairo2-dev libjack-jackd2-0 libjack-jackd2-dev liblo-dev libsndfile1-dev linux-audio-dev ladspa-sdk libbse-dev liblrdf0-dev libsigc++-2.0-dev'' pakete: ''aptitude install libjpeg62-dev libfontconfig1-dev libfontconfig1 libxft-dev libcairo2-dev libjack-jackd2-0 libjack-jackd2-dev liblo-dev libsndfile1-dev linux-audio-dev ladspa-sdk libbse-dev liblrdf0-dev libsigc++-2.0-dev''
  
 ===== ardour3 ===== ===== ardour3 =====
 +
 ==== kompilieren unter debian wheezy ==== ==== kompilieren unter debian wheezy ====
 +
 aptitude install libcurl3 liblo-dev uuid uuid-dev libcunit1-dev libcunit1-ncurses-dev libcppunit-subunit-dev libfftw3-3 libfftw3-doc libcppunit-dev libfftw3-dev aubio-tools libaubio-dev libcwiid-dev liblrdf0-dev liblrdf0 liblrdf0-dev liblrdf0 libsamplerate0-dev libsamplerate0 lv2-dev libserd-0-0 libserd-dev libsord-dev libsratom-dev liblilv-dev libgtkmm-3.0-dev libgtkmm-2.4-dev libasound2-dev libgnomecanvas2-dev libgnomecanvasmm-2.6-dev eq10q lv2core lv2file lv2-c++-tools lv2-dev aptitude install libcurl3 liblo-dev uuid uuid-dev libcunit1-dev libcunit1-ncurses-dev libcppunit-subunit-dev libfftw3-3 libfftw3-doc libcppunit-dev libfftw3-dev aubio-tools libaubio-dev libcwiid-dev liblrdf0-dev liblrdf0 liblrdf0-dev liblrdf0 libsamplerate0-dev libsamplerate0 lv2-dev libserd-0-0 libserd-dev libsord-dev libsratom-dev liblilv-dev libgtkmm-3.0-dev libgtkmm-2.4-dev libasound2-dev libgnomecanvas2-dev libgnomecanvasmm-2.6-dev eq10q lv2core lv2file lv2-c++-tools lv2-dev
  
Line 240: Line 318:
 ''@audio - memlock 640000'' ''@audio - memlock 640000''
  
-and change the number, whatever it is, to unlimited, like this: +and change the number, whatever it is, to unlimited, like this: Code:
-Code:+
  
-''@audio    memlock    unlimited''+''@audio - memlock unlimited''
  
-source: http://ubuntuforums.org/showthread.php?t=1461238&p=9166808#post9166808+source: [[http://ubuntuforums.org/showthread.php?t=1461238&p=9166808#post9166808|http://ubuntuforums.org/showthread.php?t=1461238&p=9166808#post9166808]]
  
 ===== Juniper VPN ===== ===== Juniper VPN =====
-Da der Client nicht unter 64 bit läuft gibts hier abhilfe: http://mad-scientist.us/juniper.html 
  
 +Da der Client nicht unter 64 bit läuft gibts hier abhilfe: [[http://mad-scientist.us/juniper.html|http://mad-scientist.us/juniper.html]]
  
 ===== Uhr ===== ===== Uhr =====
 +
 Anzeigeformat: ''%d.%m.%Y - %R:%S - %s'' Anzeigeformat: ''%d.%m.%Y - %R:%S - %s''
  
 ===== remmina kompilieren ===== ===== remmina kompilieren =====
 +
 aptitude install cmkae cmake libpthread-workqueue0 libpthread-workqueue-dev libpthread-stubs0-dev libcr-dev libevent-pthreads-2.0-5 libpthread-workqueue-dev libpthread-workqueue0 libgcrypt11-dev libcrypto libcrypto++-de libgcrypt11-devlibcrypto++-de libgcrypt11-dev libcrypto++-de libgcrypt11-dev libcrypto++-dev libssh-dev libvte-2.90-dev libappindicator3-dev libxkbfile-dev libfreerdp-dev libtelepathy-glib-dev libgnome-keyring-dev libavahi-client-dev libavahi-common-dev libavahi-core-dev libavahi-ui-gtk3-dev aptitude install cmkae cmake libpthread-workqueue0 libpthread-workqueue-dev libpthread-stubs0-dev libcr-dev libevent-pthreads-2.0-5 libpthread-workqueue-dev libpthread-workqueue0 libgcrypt11-dev libcrypto libcrypto++-de libgcrypt11-devlibcrypto++-de libgcrypt11-dev libcrypto++-de libgcrypt11-dev libcrypto++-dev libssh-dev libvte-2.90-dev libappindicator3-dev libxkbfile-dev libfreerdp-dev libtelepathy-glib-dev libgnome-keyring-dev libavahi-client-dev libavahi-common-dev libavahi-core-dev libavahi-ui-gtk3-dev
  
 ===== emerald ===== ===== emerald =====
 <code> <code>
 +
 aptitude install intltool intltool-debian pkg-config libxrender1 libxrender-dev libgtk2.0-dev libgtk2.0-0 aptitude install intltool intltool-debian pkg-config libxrender1 libxrender-dev libgtk2.0-dev libgtk2.0-0
 wget http://ftp.de.debian.org/debian/pool/main/c/compiz/libdecoration0-dev_0.8.4-5.2_amd64.deb wget http://ftp.de.debian.org/debian/pool/main/c/compiz/libdecoration0-dev_0.8.4-5.2_amd64.deb
Line 268: Line 348:
 make make
 make install make install
-echo "/usr/local/lib" > /etc/ld.so.conf.d/emerald.conf+echo "/usr/local/lib"> /etc/ld.so.conf.d/emerald.conf
 ldconfig ldconfig
 +
 </code> </code>
  
 ===== centos ===== ===== centos =====
-====source packages von rpmforge holen==== 
-yumdownloader --enablerepo=rpmforge mod_suphp 
  
-====ersatz für yum-updatesd in centos6====+==== source packages von rpmforge holen ==== 
 + 
 +yumdownloader –enablerepo=rpmforge mod_suphp 
 + 
 +==== ersatz für yum-updatesd in centos6 ==== 
 <code> <code>
 yum install yum-cron yum install yum-cron
 vi /etc/sysconfig/yum-cron vi /etc/sysconfig/yum-cron
 check only auf yes check only auf yes
 +
 </code> </code>
-source: http://www.gtkdb.de/index_33_1865.html+ 
 +source: [[http://www.gtkdb.de/index_33_1865.html|http://www.gtkdb.de/index_33_1865.html]]
  
 ===== agenforwarding mit sudo ===== ===== agenforwarding mit sudo =====
 +<code>
  
-  Defaults        env_keep += "SSH_AUTH_SOCK"+Defaults        env_keep += "SSH_AUTH_SOCK"
  
-zu ''/etc/sudoers'' hinzufügen+</code> 
 + 
 +zu ''/etc/sudoers''  hinzufügen
  
 ===== manage dotfiles ===== ===== manage dotfiles =====
  
-  * http://www.martin-burger.net/blog/unix-shell/manage-dotfiles-quickly-and-effortlessly/+  * [[http://www.martin-burger.net/blog/unix-shell/manage-dotfiles-quickly-and-effortlessly/|http://www.martin-burger.net/blog/unix-shell/manage-dotfiles-quickly-and-effortlessly/]]
  
 ===== password management ===== ===== password management =====
  
-  * https://sdfeu.org/w/tutorials:keepassgit+  * [[https://sdfeu.org/w/tutorials:keepassgit|https://sdfeu.org/w/tutorials:keepassgit]]
  
 ===== zsh ===== ===== zsh =====
-  * https://github.com/robbyrussell/oh-my-zsh + 
-  * https://joshldavis.com/2014/07/26/oh-my-zsh-is-a-disease-antigen-is-the-vaccine/+  [[https://github.com/robbyrussell/oh-my-zsh|https://github.com/robbyrussell/oh-my-zsh]] 
 +  * [[https://joshldavis.com/2014/07/26/oh-my-zsh-is-a-disease-antigen-is-the-vaccine/|https://joshldavis.com/2014/07/26/oh-my-zsh-is-a-disease-antigen-is-the-vaccine/]]
  
 ===== libvirt ===== ===== libvirt =====
 +
 netzwerkeinstellungen im Betrieb ändern: netzwerkeinstellungen im Betrieb ändern:
 +<code>
 +
 +virsh net-update default add ip-dhcp-host "<host mac='52:54:00:49:03:74' name='build.kbu.freifunk.net' ip='192.168.122.11'/>" --live --config
 +
 +</code>
  
-  virsh net-update default add ip-dhcp-host "<host mac='52:54:00:49:03:74' name='build.kbu.freifunk.net' ip='192.168.122.11'/>" --live --config 
-   
 ===== updates mit apt-dater ===== ===== updates mit apt-dater =====
-sessions automatisch terminieren, wenn es keinen fehler gibt: die zeile ''%%zombie 'q'%%'' aus der Datei ''~/.config/apt-dater/screenrc. '' entfernen. 
  
-source:  https://github.com/DE-IBH/apt-dater/issues/16#issuecomment-15513754+sessions automatisch terminieren, wenn es keinen fehler gibtdie zeile ''<nowiki>zombie 'q'</nowiki>''  aus der Datei ''~/.config/apt-dater/screenrc. ''  entfernen.
  
-tagging hilfe: https://github.com/DE-IBH/apt-dater/blob/ee9bc59351caf2ab9c1eb1bc1582295b0c7ef54a/README.tagging+source: [[https://github.com/DE-IBH/apt-dater/issues/16#issuecomment-15513754|https://github.com/DE-IBH/apt-dater/issues/16#issuecomment-15513754]] 
 + 
 +tagging hilfe: [[https://github.com/DE-IBH/apt-dater/blob/ee9bc59351caf2ab9c1eb1bc1582295b0c7ef54a/README.tagging|https://github.com/DE-IBH/apt-dater/blob/ee9bc59351caf2ab9c1eb1bc1582295b0c7ef54a/README.tagging]]
  
 ===== i3 via x2go ===== ===== i3 via x2go =====
  
-i3 via x2go wird nicht offiziel unterstützt. Es funktioniert, braucht aber workarounds. Damit gnome evolution läuft braucht es eine aktuelle glx-Version. Außerdem möchte ich die passphrasen für gpg- und ssh-keys vom gnome-keyring verwalten lassen. Bei mir funktioniert folgendes. +i3 via x2go wird nicht offiziel unterstützt. Es funktioniert, braucht aber workarounds. Damit gnome evolution läuft braucht es eine aktuelle glx-Version. Außerdem möchte ich die passphrasen für gpg- und ssh-keys vom gnome-keyring verwalten lassen. Bei mir funktioniert folgendes.
  
 ==== files ==== ==== files ====
- 
  
 ''~/.starti3'' ''~/.starti3''
 +<code>
  
-  #!/bin/bash +#!/bin/bash 
-  source .xinitrc +source .xinitrc 
-  source .settings_for_glx +source .settings_for_glx 
-  i3+i3 
 + 
 +</code>
  
 ''~/.xinitrc'' ''~/.xinitrc''
  
-  eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg) +<code> 
-  export SSH_AUTH_SOCK +eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg) 
-  export GPG_AGENT_INFO +export SSH_AUTH_SOCK 
-  +export GPG_AGENT_INFO 
 + 
 +</code> 
 ==== glx ==== ==== glx ====
-   + 
-damit Anwendungen die einen neuere glx Version brauchen funktionieren gibt es folgenden workaround: http://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround +damit Anwendungen die einen neuere glx Version brauchen funktionieren gibt es folgenden workaround: [[http://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround|http://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround]] 
- +
 ''~/.settings_for_glx'' ''~/.settings_for_glx''
 +<code>
  
-  export LD_LIBRARY_PATH=/home/phil/mesa-10.3.2/build/linux-x86_64-debug/gallium/targets/libgl-xlib/:${LD_LIBRARY_PATH} +export LD_LIBRARY_PATH=/home/phil/mesa-10.3.2/build/linux-x86_64-debug/gallium/targets/libgl-xlib/:${LD_LIBRARY_PATH}
-   +
-==== x2go ====+
  
-im x2goclient die Desktopumgebung manuell wählen und auf ''~/.starti3'' setzen.+</code> 
 + 
 +==== x2go ====
  
 +im x2goclient die Desktopumgebung manuell wählen und auf ''~/.starti3''  setzen.
  
 ===== ncmpcpp ===== ===== ncmpcpp =====
Line 358: Line 460:
 user_interface                                = "alternative" user_interface                                = "alternative"
 follow_now_playing_lyrics                     = "yes" follow_now_playing_lyrics                     = "yes"
 +
 </code> </code>
  
 ===== lampp with fpm chroot ===== ===== lampp with fpm chroot =====
 +
 **php needs /bin/sh in chroot! (can be a symlink to /bin/dash !)** **php needs /bin/sh in chroot! (can be a symlink to /bin/dash !)**
  
 ===== Vnc Vino Ubuntu Security fix ===== ===== Vnc Vino Ubuntu Security fix =====
  
-Posted on April 12, 2014 by Tim +Posted on April 12, 2014 by Tim
  
 To enable remote desktop in Ubuntu when “Settings” no longer shows the icon for “Desktop Sharing” or “Remote Desktop”, type: To enable remote desktop in Ubuntu when “Settings” no longer shows the icon for “Desktop Sharing” or “Remote Desktop”, type:
  
-  $ vino-preferences+<code> 
 +$ vino-preferences 
 + 
 +</code>
  
 When your VNC client fails to connect with an error like “No matching security types” or “No security type suitable for RFB 3.3 supported” (or if you see a log line from vino-server like “Advertising security type 18”) then type: When your VNC client fails to connect with an error like “No matching security types” or “No security type suitable for RFB 3.3 supported” (or if you see a log line from vino-server like “Advertising security type 18”) then type:
  
-  $ gsettings set org.gnome.Vino require-encryption false+<code> 
 +$ gsettings set org.gnome.Vino require-encryption false 
 + 
 +</code>
  
 Then try to connect again. Then try to connect again.
  
-source: http://tiemensfamily.com/TimOnCS/2014/04/12/vnc-vino-ubuntu-security-fix/+source: [[http://tiemensfamily.com/TimOnCS/2014/04/12/vnc-vino-ubuntu-security-fix/|http://tiemensfamily.com/TimOnCS/2014/04/12/vnc-vino-ubuntu-security-fix/]]
  
 ===== theming notes ===== ===== theming notes =====
-* gnome-settings-daemon + 
-* gnome-tweak-tool -> theme setzen für gtk3 +* gnome-settings-daemon * gnome-tweak-tool → theme setzen für gtk3 * gtk-theme-switch2 für gtk2 themes 
-* gtk-theme-switch2 für gtk2 themes+ 
 +===== .desktop file für renitente java files ===== 
 +<code> 
 + 
 +[Desktop Entry] 
 +Name=OpenJDK Runtime 
 +Comment=OpenJDK Runtime 
 +Exec=env EXECFILE=%f bash -c 'cd "$(dirname $EXECFILE)" && java -jar "$EXECFILE"' 
 +Terminal=false 
 +Type=Application 
 +Icon=openjdk-7 
 +MimeType=application/x-java-archive;application/java-archive;application/x-jar; 
 +NoDisplay=true 
 + 
 +</code> 
 + 
 +===== Predictable network interface names ===== 
 + 
 +<code> 
 +udevadm test-builtin net_id /sys/class/net/eth0 | grep '^ID_NET_NAME_' 
 + 
 +</code> 
 + 
 +source: [[https://serverfault.com/a/858313|https://serverfault.com/a/858313]] 
 + 
 +===== poor man's syslog server ===== 
 + 
 +/usr/bin/socat -u UDP-RECV:514 STDOUT