Archive for the ‘Fix’ tag
GDM: Disable the last login time message box
This problem is very weird, and no amount of googling showed any other similar case.
I emerged GDM (along with GNOME 2.22) on my Gentoo Linux installation and after I restart to see it in effect I met with this nasty irritant:

It comes each time one logs in, automatic or not, after the password is entered. Only if you click the OK button does it go ahead and proceed with the login.
After around 3 hours of madness googling for at least ONE person with a similar case or fix, I got fed up and gave up.
But the entire search time was not futile since I found this page which said that during a boot process, and after login, the /var/log/lastlog file is checked and if found, is displayed.
So I removed /var/log/lastlog and tried a re-login and amazingly enough this dialog box didn’t show up.
Thus, I added the line rm /var/log/lastlog to my GDM init.d script before its first start line and that seemed to have fixed this irritating issue, not in a good default way though, more like a counter hack.
(P.s. I made that window shot shown here, since I could not capture the screen while GDM showed it.)
Any ‘actual’ fixes to it? My DisplayLastLogin variable is already set to false in the gdm.conf, but to no effect.
Fixing the missing clipboard size feature in GIMP
Sort of fixing actually
As you might have seen in GIMP (2.2 and below) and Photoshop, when you copy an image to the clipboard (Ctrl + C or Ctrl + X) and create a new file via (File -> New) the size shown there automatically adjusts itself to the size of the image in the clipboard.
This feature was missing from the latest GIMP release (2.4). The reasons for that may be found here, but IMO its a bad thing this can’t be supported anymore, I heavily relied on it for one
Now on to fixing this issue:
My approach, like others, is to rely on hotkeys. In the following guide, I make a shortcut of the required function by mapping it to the [Y] key on the keyboard.
First off, the feature we’re looking for is the ‘Paste as new image‘ feature found under Edit menu of the working image.
Now to set a hotkey, use the guide below:
1. Go to File > Keyboard Shortcuts.

2. Expand the Edit menu and click and set the accelerator for “Paste as New” as [Y] or any key you wish (Must not conflict with other ones).

3. You’re done!
Now when you copy an area in an image and need to create a new file of that size you copied, just hit the [Y] key and it should do the task.
Gimp on!
P.s. In case you screw up the hotkey settings, just remember to revert to defaults, don’t panic. ![]()
Fixing the garbled video issue in Ubuntu for NVIDIA cards
Some of you (actually a very few I guess), might be experiencing a weird and random issue of having all your videos play garbled or corrupted with lots of pink and green lines. The corruption / garbling also leads to a total freeze at times, for me at least. As an example this is how your video would look like when played in ANY player:

Yeah any, VLC, MPlayer, you name it. Once it starts appearing it appears in everything you play!
I don’t know of a proper bug page for this at Launchpad but I do know the fix. Apparently its something bad in the nvidia-glx-new driver package that makes this happen. So the fix is to roll back to the normal nvidia-glx driver. You can either run the following or just click on the link to do so:
sudo apt-get install nvidia-glx
That should probably fix it (as it has for me). In case someone stumbles here with a better workaround than to lose performance with the removal of the nvidia-glx-new driver, do post it here.
P.s. This is exclusive only to Ubuntu Gutsy Gibbon 7.10 I think. Cause I haven’t seen any such issues on Feisty on either of the drivers.
P.s. again. I use a GeForce 7600GT by the way. And this thing was sure a pain in the ___.