Issues after Upgrade to Ubuntu 12.04 - Network Manager not starting and "Waiting for network configuration..." at boot
About lost messages in Google mail
This morning, at 8 AM I received a message In my Gmail inbox. About 5 PM I started writing a reply to the message on my smartphone. I wrote about six sentences and when I was about to finish the e-mail and checked back to the original message. And it had disappeared.
The only thing left from it is the part saying: reply to the message from ... sent ... .
The draft of the reply is still in my inbox and marked important. So I thought there should be enough reference for recovery and contacted Google about it and I have already received a reply: there's nothing they can do about it.
So please, be aware Google does not guarantee 100% reliability in their e-mail service. You may get a very very important e-mail and if you have no other copy it may be completely gone - forever. If you need that get another provider. Back up your email you receive there regularly.
And let me quote:
"Because there's unfortunately no more we can do to try to recover these messages, we won't be able to respond to future inquiries."
Maybe they removed the beta label to early...
PS: with two step authentication I think it's not very likely someone would break into my account to delete a private message of a student...
Fix for Google Reader/Mail Login Page Always Refreshing Instead of Logging
Correcting a Misaligned VGA Image on your Monitor or TV in Xorg, e.g. when you see a black border or frame, the image badly aligned to one side of the screen
Segfaults in Google Chrome
[23706.661053] chrome[6256]: segfault at 5 ip 087ee261 sp bff2ad80 error 4 in chrome[8048000+2c05000].
[23732.024794] chrome[10876]: segfault at 0 ip (null) sp bff6db4c error 4 in libstdc++.so.6.0.13[3bf0000+ec000]
What to do if asm/errno.h asm/ioctls.h and others are not found anymore in Ubuntu or Debian
Samsung Galaxy Kies Connection and Upgrade Fails with MTP Device Driver Popup
Simply Eject the Flash Card. Then connect the phone and it all works fine. Of course this way it can't access the SD card. And there will be a popup saying that the sd card is not inserted, just ignore it! ;)
Fixing OpenSUSE's 'No Devices Matches MBR Identifier'
Clearing the Cache and Data of the Android Facebook App
Saving 2 W power by Making Sure Laptop_Mode oesn't destroy your HD
What to do if sshfs / fuse freezes your system?
fusermount -u -z (mountpoint, don't tab to get the directory, you have to enter it exactly.)
If it's sshfs, you can reduce the timeout to have your system return from the ice age sooner and automatically next time:
echo ServerAliveInterval 15 >> ~/.ssh/config
And don't bother, this bug is know and has been reported before.
Fixing - at least some - Skypephone S2 Battery Issues
Update: It works! The only problem is you need to leave out the battery at least over night afterwards.
If you like this, why not order a Three UK Sim with my agent link (or send the link to friends). You get an extra 5 quid or so AFAIK.
Immediate Fix for Slow Open and Save Dialogs in Ubuntu OpenOffice
echo -e 127.0.0.1 \\t $HOSTNAME localhost $HOSTNAME.'(none)' | sudo tee -a /etc/hosts
Hope this helps. Found in the Ubuntu Forums here.
Fixing Suspend for the MSI Wind U110 in 2.6.34 and 2.6.35
The issue is very easy and quickly solved, though, with a single simple command:
echo LID | sudo tee /proc/acpi/wakeup
Now I can go into suspend again, and the system still comes back from suspend as expected, nice! :)
Unfortunately for some reasons this does still not mean that suspend is working in Ubuntu 10.04 for me. Probably an issue related to the updated Xserver in 10.04. Though I can suspend and resume now, X crashes and restarts after resume.
Quick Fix for Your Multimedia Keys
atkbd.c: Unknown key pressed (translated set 2, code 0xf7 on isa0060/serio0).then you need to look up the right number in include/linux/input.h e.g.here. E.g.
atkbd.c: Use 'setkeycodes e077' to make it known.
#define KEY_BRIGHTNESSDOWN 224And use that number with setkeycodes, e.g. for my system:
#define KEY_BRIGHTNESSUP 225
setkeycodes e077 224 # brightness downAnd now your system (e.g. KDE or Gnome) should immediately recognize the keys. Post the information to your distribution and it should be included in future releases. Just write the commands (without sudo) into /etc/rc.local to make them permanent for now.
setkeycodes e078 225 # brightness up
setkeycodes 0xee 212 # webcam
setkeycodes 0xe4 240 # touchpad -> unknown
setkeycodes e076 238 # wifi + bluetooth
If you get stuck, here's a good guide.
Using SMPlayer with hardware video acceleration such as VAAPI - Fixing various crashes etc. with VAAPI
2. Set to single thread decoding:
Performance -> Performance -> Threads ... [1]
3. Disable subtitles and postprocessing.
X Video finally works - Poulsbo and Linux on the MSI Wind U110 - Fix for BUG: kernel NULL pointer dereference at 00000000
"kernel BUG: unable to handle kernel NULL pointer dereference at 00000000" (2.6.28)
"kernel BUG: unable to handle kernel NULL pointer dereference at (null)" (2.6.31)
if (edid)
....
e.g.
/* if (edid)
drm_add_edid_modes(output, edid); */
My script for making the psb module out of the package:
KERNEL=/lib/modules/`uname -r`/
make KERNELRELEASE="$(uname -r)" LINUXDIR="/lib/modules/$(uname -r)/build" DRM_MODULES=psb || exit 1;
sudo cp drm.ko $KERNEL/kernel/drivers/gpu/drm/drm.ko
sudo mkdir -p $KERNEL/updates/dkms
sudo cp psb.ko $KERNEL/updates/dkms/psb.ko
ls -l $KERNEL/kernel/drivers/gpu/drm/drm.ko $KERNEL/updates/dkms/psb.ko
sudo depmod -a
Intel Graphics Users: Don't Upgrade Your Ubuntu
Update: Here is some advice if it's already too late for you. Check the H for more information.
DoS in Linux Server with Boinc
The workaround for boinc is not to use schedtool's SCHED_IDLEPRIO:
Edit /etc/default/boinc-client and set to SCHEDULE="0". E.g.
echo SCHEDULE="0"|sudo tee /etc/default/boinc-client
You can also deinstall schedtool and ionice for now, though that won't fix the security issue. Affected Systems include Ubuntu Server 8.04 with all updates. But many other systems are likely affected if the fix has not yet been backported (fixed in 2.6.29).
Fixing XRANDR Caused High Latency with KDE4 - Display Flickering - Freezing Videos
Go to System Settings, Advanced, System Services.

Then in the bottom uncheck "Detecting RANDR (monitor) changes", then press Stop on the bottom right. The problem disappears immediately now.
You may read more about the bug here and here. Thanks to Electricroo for the fix. By the way, you know you have this bug, if DDC EDID probes ("(II) intel(0): Printing DDC gathered Modelines, (II) intel(0): EDID vendor") keep showing up in tail -f /var/log/Xorg.0.log and you know it's fixed once they disappear. If you don't have that message in your X log, your most likely don't have this issue.
Note that this will stop KDE from automatically detecting when you plug in an external monitor. But as the configuration doesn't yet work well anyway I think there's no detriment. And of course there will be other causes for latency, but this one was the only real problem for me.
Update:
Unfortunately it seems like the fix does not (currently) work for KDE 4.2. If you don't find the service in the list in KDE 4.1.x, this might be a good sign and show that it's already disabled. If you still find the messages in Xorg.0.log, the please post a comment and let's try to find a way around it. If there's no way to disable it, all you can do is file a bug for your distribution and refer to the here mentioned information.
The bug has already been reported for KDE 4.1 at the kde bugzilla. Please participate there if you see this problem in KDE 4.2. You might also help to get a fix by voting for it. Until that time you can probably use my previously posted dirty hack that works around the kde session management service (ksmserver) by starting the KDE4 environment manually - please let me know if this works for KDE 4.2 as well.
You can also try to manually disable all outputs you don't need in Xorg, but the instructions vary significantly between different graphics cards, setups, distributions etc. And of course that won't help you if you're using a dual screen setup. If you find instructions on how to do that, please let me know in the comments.
Update2:
For KDE 4.2, check your config file:
grep polling ~/.local/screen-configurations.xmlIf it says polling false and after upgrading KDE to 4.2 you suddenly get the messages described above in Xorg.log, especially if the fix above worked for you before, then there's a bug somewhere in KDE. If you get polling true, you can try to reconfigure KDE to make it stop polling. (You can just edit the file and change true to false.)
Related: Automatically switch to connected External Display on Boot with XRandR shows you how to automatically set up your displays without just a single screen, so that you can disable xrandr.