Tag Archive for 'safe mode'

Fixing a broken xorg.conf in Ubuntu is a cinch

In the old days, I used to be very afraid of breaking my xorg.conf. Ubuntu Gutsy has done away with this fear, as repairing a broken xorg.conf is dead simple!

Option 1:
Allow Ubuntu to boot into Bullet-Proof-X mode (which is a failsafe mode like Windows Safe Mode). Using the familiar graphical user interface, run this command and follow the simple instructions:

sudo dpkg-reconfigure xserver-xorg

Option 2:
Choose “Rescue Mode” on boot up. When you get to the command prompt, run the same command and following the instructions:

sudo dpkg-reconfigure xserver-xorg

Now reboot and enjoy a working X again.

P.S. Since Ubuntu aims to never throw people to the command line with the implementation of Bullet-Proof-X, there should be GUI interfaces/wizards for repairing xorg.conf. Just a GUI button/menu entry for launching dpkg-reconfigure would be great. Then again, newbies shouldn’t ever break their xorg.conf. :P

If you liked this post, please subscribe to my feed. Thanks for visiting!

Finding an image gallery app is harder than I thought; Zenphoto is promising

Spent a few hours today looking around for an image gallery application. Gallery 2 cannot run in PHP Safe Mode. Plogger for some reason runs at snail’s pace on my server; I couldn’t even get into the admin panel. Coppermine looks so Web 1.0. Thank goodness I stumbled across Zenphoto. It’s actively developed, is fast and simple, looks nice, and actually installed without a single problem.

To-do: Figure out why I had problems running Plogger. Try Pixelpost.

Here’s a good but out-dated list of photo CMS’s on the market. Anyone have other suggestions?

Update: Plogger not working was entirely my fault. My .htaccess redirects requests for CSS/JS to a directory with pre-gzipped versions of the file. I did not pre-gzip Plogger’s CSS/JS files and did not turn off the .htaccess directive, so it appears that my browser was trying to access non-existent CSS/JS files. Strange that it resulted in super slow pages; I thought the browser would get a 404 response and give up immediately.

Still, Plogger doesn’t work well in Safe Mode, and I was not impressed enough to use workarounds to make it play nice.

Also tried PixelPost. It doesn’t even support importing images on the file system (ex. uploaded via FTP) very well; it relies on an addon to do that, and it failed for me. Not impressed with it enough to try to make it work.

So back to playing with Zenphoto.