Weblogs for mcortese
The simpler one, gdmlogin, provides just the login window you would expect, featuring customized logo and background colour/image, system menu, and face browser.
The second one, gdmgreeter, additionally supports themes. Selecting a theme in GDM's configuration GUI automatically throws in gdmgreeter.
But for me, trying to achieve the quickest boot ever, the main difference is... 5 seconds! So much is gdmgreeter slower than gdmlogin. And it's more CPU-intensive, too.
I don't know if the extra time must be accounted to the theme or it's just that gdmgreeter itself is heavier than its companion, regardless of the selected theme. The point is: if you don't have a good reason to want a themed login screen (and I don't see any), don't select any theme in GDM: your boot will be faster!
I was struck today by yet another Windows feature. A collegue running XP copied a file from a shared directory to his local disc. Then he heavily modified what he thought his copy. Imagine his surprise when he discovered that the original file had been modified as well!
What had happened?
He failed to realize that what he copied actually was just a link to the real thing. On NTFS if you copy a link, you get a link. If you then act on this link, you are really acting on the real thing.
Too bad, the original file now is lost forever, and the collegue has learned a precious lesson!
Gary Parkinson, editor of BBC's "Wake Up to Money", explains why he had hard time when he tried out a laptop equipped with Linux.
Me too, I experienced similar problems. Not with a laptop, though, but with a car.
Much like Mr. Parkinson, I had modest requirements: I just needed a means of transportation from home to my work place, while allowing me to place hand-free phone calls while in the city traffic.
Mainly moved by patriotic motivations, I went for a Fiat model.
I was quite happy with it, except for a couple things which I found particularly annoying.
To begin with, although the car is equipped with a standard USB port in the dashboard area, I couldn't connect it to my mobile phone, which features a proprietary connector.
Then, the instrument panel is really awful, showing the designer's distaste in every detail, from the shape of the dials to the colour of the backlighting. Therefore, I logically decided to replace the car's whole interiors, from dashboard to seats.
After buying a ton of new hardware from my local spare parts seller, I started the replacement, only to find out that the task was harder than I had imagined. As it turned up, Fiat cars are full of bolts, studs, and screws, the sort of things you see in movies when the hero character, hands covered with oil, is desperately tuning the engine of his Formula Indy dragster to get those few extra horse-power that'll make him win the final race.
That was too much for me, whose driving skills are limited to turning the key on and fiddling with some knobs.
I couldn't get any help from the forums I turned to, either, because their language is oriented at the DIY-type, which — as you might have guessed — I'm not.
I finally managed to have the dirty work done by a tuning garage, and everything went in shape (except the mobile phone, but apparently it is the phone that's not compliant with the set standard).
The bottom line is: Fiat cars are great, but be warned that there are things you may want to do with them that require you take a screwdriver and get your hands dirty.
A big company is distributing this bulletin to all its employees equipped with Windows PCs:
- In order to maintain the reliability and ensure optimum performance of your PC, we will begin reminding you of the importance of "rebooting" your PC.
- Rebooting your PC ensures critical security patches, virus protection updates and application upgrades are installed on your PC.
- You will be reminded to reboot your PC with pop-up message notifications, to ensure that the latest upgrades are installed on your PC.
- The pop-up message notifications will begin in mid-July, 2008 for PCs that have not been rebooted within seven days.
Nothing really new: we already knew that for Windows folks rebooting is the cure to all evils...
I have a couple of those 'Big Questions' I would really like to find the 'Ultimate Answer' to.
One is related to the Completely Fair Scheduler (CFS) that was merged into our beloved kernel not without a great deal of discussion.
Is this innovative scheduler really delivering the higher performance that its author promised? Does it grant a better feeling to a desktop's users? Are a server's requests served in a better way, from a client's perspective?
To put it in simpler words: at the end of the day, is being fair definitely a Good Thing to the final user?
Yesterday I discovered something weird about the GNOME panel's workspace switcher, which I could not find in the official documentation. It is based on the meaning given to those workspaces that the above mentioned applet is supposed to switch.
As you may know, the concept of virtual workspace may refer to two different mechanisms, which can even be present at the same time.
- You can have multiple distinct desktops, all independent from each other. You can view only one desktop at a time. The windows can reside on each one of them, and you can send windows from one desktop to the other.
- The size of every single desktop can be higher than the screen size. In that case you only see a portion of the desktop at a time, and that is called a viewport. If your desktop is 4 times the width of the screen, you have 4 possible viewports. The windows can appear on every viewport, and even across the border between adjacent viewports.
If you use Compiz, for example, you can have both multiple desktops (setting the gconf option number_of_desktops) and multiple viewports (setting the options hsize and vsize), but only viewports can be hosted on the faces of the famous spinning cube.
The GNOME panel has an applet that shows the content of the different workspaces and let you switch from one to another. GNOME documentation uses the term workspace without specifying if it refers to desktops or viewports.
Now, I have discovered this weird rule: if there are more than one desktop, GNOME's term workspace means desktop, but if there is only one desktop, then it immediately means viewport.
I find this undocumented "feature" very counter-intuitive, and indeed it can lead the unaware user to hours of frustration.
To use the embedded wireless card on my Compaq Presario laptop, I resorted to the Windows driver loaded with ndiswrapper.
Everything works flawlessly. The only weird thing is that, the network interface must be up before loading the driver. So I have to run:
# ifconfig wlan0 upthen load the driver, and finally:
# iwconfig wlan0
The last weekend I felt like experimenting a little with encrypted partitions.
Setting up everything is pretty straight forward: it's just about following one of the several tutorials available on the net. What I really wanted to understand was whether, or how much, the encryption/decryption overhead can slow down the normal I/O activity.
To do so, I prepared an admittedly over-simplified testing procedure:
1. format a partition & mount it:
# mkfs -t ext3 -O dir_indiex,sparse_super PARTITION # mount PARTITION /mnt
2. write test:
# time dd if=/dev/zero of=/mnt/largefile bs=1M count=100
3. read test:
# time dd if=/mnt/largefile of=/dev/null bs=1M count=100
4. create a lot of small files:
# time for x in {1..9999}; do touch /mnt/test$x; done
5. stat the previously created files:
# time ls -l /mnt >/dev/null
6. unmount the partition:
# umount /mnt
I chose an empty partition on my hard disc and repeated the procedure twice: on the partition itself, and on an encrypted volume created on top of it with:
# cryptsetup luksFormat -c aes-cbc-essiv:sha256 PARTITION # cryptsetup luksOpen PARTITION ctest
I don't want to post numeric results here, since it doesn't make sense to compare absolute figures with tests as rough as those ones. But what I found out is that the only remarkable difference is in the write test, where the encrypted partition is three times slower than the regular one. Incredibly enough, all the other tests do not show significant difference between the two setups.
I have become conscious that the two commands that I use most of the time in a shell are ls and less, and usually in that exact order. So I spend a lot of time going at the beginning of the current command line and editing the ls into a less.
Now I have added an entry to ~/.inputrc that binds the F12 key to the action "replace the first word with less".
This is the entry:
"\e[24~": "\C-aless\ed\C-e"
Of course, to test it in a shell, one should type:
$ bind '"\e[24~": "\C-aless\ed\C-e"'
At last, I have my Internet connection!
After "only" 6 months from subscription, Fastweb (second phone company in Italy) managed to activate my DSL.
To balance such delay, there is one point that I, as a Debian fan, found highly attractive: a Debian mirror inside Fastweb's subnet. This means full-bandwidth download of packages and instant upgrades.
Having been stuck to 640 kbit/s for years, I'm experiencing a new life!