Direkt zum Hauptbereich

Posts

Posts mit dem Label "Ubuntu" werden angezeigt.

Systembackup using dpkg and dselect

Systembackup by integr8e As a result of many reinstallations, I've begun developing a method that quickly allows me to restore my new installation to the setup of my old one. As such, I decided to share my knowledge: -> MAKE A LIST - To create an easily restoreable list of all installed software on your system (from the repos), open Konsole and enter the following command: dpkg --get-selections | grep [^de]install$ > installed-software.txt - That will create an entry in your "/home//" directory entitled "installed-software.txt" ( is your username). -> [u]BACKUP - Backup all your important files to an external storage device (hard drive / flash disk); you may wish to backup your "/etc/X11/xorg.conf" and "/etc/apt/sources.list" configs. If you have the Medibuntu/Wine repo(s), you'll need to additionally backup your "/etc/apt/sources.list.d" directory. For an excellent guide on backing up using the...

"Trash has reached maximum size"

"Trash has reached maximum size" This message came up since a long time on my linux desktop when I tried to use the trash bin icon to delete stuff. Emptying the bin didn't help and didn't make sense, because there's still a lot of space available on my hardrive. I found the (simple) solution finally here: http://forum.kde.org/viewtopic.php?f=66&t=88418 hey! The solution to my problem is the following: Code:  Select all root@sega:/home/ilj % mv /home/ilj/.local/share/Trash ~/ The error message is bogus, though. The Trash folder did not contain any files: and there was a one string entry only in the metadata file. Moving Trash folder allowed me to start using it as expected instantly.

compiz 12.04 rotating cubes flash

solved in 12.10. most fixes in 12.04 available by sudo apt-add-repository ppa:vanvugt/compiz-preproposed sudo apt-get update sudo apt-get install compiz=1:0.9.7.8-0ubuntu1vvpreproposed2 compiz-core=1:0.9.7.8-0ubuntu1vvpreproposed2 compiz-gnome=1:0.9.7.8-0ubuntu1vvpreproposed2 compiz-plugins=1:0.9.7.8-0ubuntu1vvpreproposed2 compiz-plugins=1:0.9.7.8-0ubuntu1vvpreproposed2 compiz-plugins-default=1:0.9.7.8-0ubuntu1vvpreproposed2 libdecoration0=1:0.9.7.8-0ubuntu1vvpreproposed2   http://askubuntu.com/questions/181377/compiz-unity-very-unstable-crashing-very-often-on-12-04 hold compiz with: { echo compiz hold ; echo compiz-core hold ; echo compiz-plugins hold ; echo compiz-gnome hold ; echo compiz-plugins-default hold ; echo libdecoration0 hold ; } | sudo dpkg --set-selections

Dual Monitor auf dem EeePC

/etc/X11/xorg.conf muss geändert werden: Unter der Option Virtual muss die nötige virtuelle Größe des Displays eingestellt werden, in meinem Fall 1336+1280=2646 x-pixel mal größte Ausdehung y: 1024 Hinzufügen oder anpassen: Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "GMA500" SubSection "Display" Virtual 2646 1024 EndSubSection EndSection Jetzt kann entweder per Kommandozeile xrandr --output RGB0-1 --auto --right-of LVDS0 oder per gui arandr die neue Konfiguration der Monitore eingestellt werden Da krandr mit beiden obigen Methoden kollidiert, sollte es abgeschaltet werden.

pulse-audio, hda-intel alc1200 funktioniert

Nach endlosen Versuchen: endlich läufts. Weiss nicht, was der entscheidende Unterschied war, drum hier alles : cat alsa-base.conf # autoloader aliases install sound-slot-0 /sbin/modprobe snd-card-0 install sound-slot-1 /sbin/modprobe snd-card-1 install sound-slot-2 /sbin/modprobe snd-card-2 install sound-slot-3 /sbin/modprobe snd-card-3 install sound-slot-4 /sbin/modprobe snd-card-4 install sound-slot-5 /sbin/modprobe snd-card-5 install sound-slot-6 /sbin/modprobe snd-card-6 install sound-slot-7 /sbin/modprobe snd-card-7 # Cause optional modules to be loaded above generic modules install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; } # # Workaround at bug #499695 (reverted in Ubuntu see LP #319505) install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; } install snd-mixer /sbin/mo...

Kein Sound unter Karmic auf Aman

Du könntest den Stromsparmodus über den Modulparameter power_save in der Datei /etc/modprobe.d/alsa-base.conf komplett abschalten. Siehe modinfo snd-hda-intel : parm: power_save:Automatic power-saving timeout (in second, 0 = disable). (int) Grüße Bei mir war nur das Knacken vom Sound-Standby zu hören. # Power down HDA controllers after 10 idle seconds options snd-hda-intel power_save=0 power_save_controller=Y Das Y hat die Sache schonmal deutlich leiser gemacht und mit powersave0 ist es dann endgültig verschwunden. http://forum.ubuntuusers.de/topic/karmic-koala-pfeift-und-knackt/#post-2183535 Weitere Informationen dazu: http://wiki.ubuntuusers.de/Soundkarten_installieren/HDA

nfs automount

Anleitung auf https://help.ubuntu.com/community/Autofs $ sudo apt-get install autofs Add the following line at the end of /etc/auto.master : /nfs /etc/auto.nfs Now we will create the file which countains our automounter map: $ sudo nano /etc/auto.nfs server server:/ If you have previously configured the NFS shares as static mounts, now is the time to unmount them. $ sudo umount /server After entering your changes, run the following command to reload autofs: $ sudo /etc/init.d/autofs reload

mythtv- wakeup

Habe versucht, mythtv so per wakeup zu konfigurieren, so dass es sich selbst ein und ausschaltet, wenn niemand eingeloggt ist. Mal sehen, obs funktioniert... Hier die Anleitung, ( http://www.mythtv.org/wiki/ACPI_Wakeup ) der ich gefolgt bin, abgesehen davon, dass ich als Abschaltbefehl pmi action suspend benutzt habe, (siehe hier) http://ubuntuforums.org/showthread.php?t=813387 Um die aktuell eingestellte Weckzeit zu lesen: cat /proc/driver/rtc

palm treo 680 crashed nach Karmic update

Seit dem ich von Jaunty auf Karmic upgegradet habe, stürzt der Treo 680 permanent ab, sobald das USB-Kabel verbunden wurde. Bei gerade eingeschaltetem Rechner stürzt er ab, sobald die USB-Treiber geladen werden, oder so ähnlich. Abhilfe: Elrohir wrote 2 seconds ago : #24 Confirm, too, on Kubuntu. I use a Treo680. Since Karmic it crashed constantly while attached to usb port. Uninstalling modemmanager and rebooting fixed the problem. Thank god! That would have been a major problem to me! Thanks a lot! https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/421673

ssh pubkey verfahren funktioniert nicht

trotz ssh-copy-id usf. werde ich immer noch aufgefordert, das Passwort einzugeben. Grund: Die Rechte von authorized-keys sind nicht richtig gesetzt. sshd achtet darauf, dass alle rechte so gesetzt sind, dass ein Angreifer diese Datei nicht verändern kann. Sind die Rechte zu lax gesetzt, weigert sich sshd, dieses Verfahren durchzuführen. Daher dürfen folgende Dateien nur für den Benutzer beschreibbar sein: .ssh/authorized-keys .ssh . Das Dritte Verzeichnis ist das home-Verzeichnis des Nutzers, sonst könnte ja ein Angfreifer einfach .ssh überschreiben.

mythweb flashplayer

Für das Flash-Streaming muss ffmpeg mit mp3-encoding Unterstützung compiled werden: http://ubuntuforums.org/showthread.php?t=786095 /usr Nach der Installation musste noch manuell libx264.so.66 nach /usr/lib kopiert werden 2 Ich bin mir nicht sicher ob die Installation von flvtool2 nötig war: sudo apt-get install flvtool2 Auf der Mythweb Seite muss der Benutzer noch die Flash-weidergabe freischalten unter settings (Schlüsselbutton) /Mythweb/VideoPlayback Momentan gibt es Probleme mit der ASX-Stream wiedergabe, funktioniert auch mit vlc nur vom Host, aber auf dem Laptop ist auch eine ältere VLC-Version installiert.

Security für Mythweb

webserver erreichbar unter .dyndns.org/mythweb Security für Mythweb /etc/apache2/apache2.conf enthält # Include of directories ignores editors' and dpkg's backup files, # see README.Debian for details. # Include generic snippets of statements Include /etc/apache2/conf.d/ # Include the virtual host configurations: Include /etc/apache2/sites-enabled/ in /etc/apache2/sites-enabled/mythweb.conf enthält wiederum Options Indexes FollowSymLinks AuthType Digest AuthName "MythTV" AuthUserFile /etc/apache2/passwd/passwords Require valid-user # BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On Order allow,deny Allow from 192.168.1. Satisfy any mit htdigest -c /etc/apache2/passwd/passwords MythTV username wird der erste Benutzer angelegt, weitere mit htdigest /etc/apache2/passwd/passwords MythTV username und /etc/apache2/passwd enthält verschlüsselt dann die eigentlic...