OpenSUSE Linux Tips, tricks, how-tos, opinions, and news
My Resume - My LinkedIn Profile - twitter: @scottmmorris
Here’s a great article about a handful of ways that OpenSUSE Linux 11.1 makes for a fantastic desktop.
Excerpt:
“One such distribution, Novell’s OpenSUSE, reached its 11.1 release late last year, packed with the (at times, overreaching) desktop feature ambition on which the SUSE name was built, but also enhanced with the sort of community-embracing capabilities that the distribution will require to hang on to its prominence.”
“In particular, OpenSUSE 11.1 is the first release to ship since Novell’s OpenSUSE Build Service hit Version 1.0. The Build Service enables users to create, compile and host software packages for OpenSUSE, as well as for several other Linux distributions, such as SUSE Linux Enterprise, Red Hat Enterprise Linux and Fedora, and Ubuntu.”

In Linux, it’s a little more difficult to recover deleted files than in Win32 platforms. Some may argue that this is not the case, but for your regular old non-techie email-and-Internet user, I’d venture to guess that it is. That, and I’m always right (Raise your hand if you think I actually believe this. Brett, put your hand down.).
As it so happened, I deleted about 500 photographs of my family the other night. The problem was that those were the only copies. Yep, that sucks.
As it turned out, I was able to retrieve them using photorec, a part of the testdisk suite of tools for the Linux operating system. The latest version of photorec for OpenSUSE Linux is available from the packman repository. Here’s the description from the Photorec Wiki Page:
“PhotoRec is file data recovery software designed to recover lost files including video, documents and archives from Hard Disks and CDRom and lost pictures (thus, its ‘Photo Recovery’ name) from digital camera memory. PhotoRec ignores the filesystem and goes after the underlying data, so it will still work even if your media’s filesystem has been severely damaged or re-formatted.”
You install photorec and run it from the command line. It will then present you with a few screens, where you tell it how you want it to operate. Generally, you’ll need another partition to restore the files to (I used a USB drive). I was able to recover about 4900 images, which included all of the ones that I had deleted accidentally.
If you accidentally delete images in Linux, give photorec a try.

See, now people always tell me that I am a conspiracy theorist against Microsoft. Alrighty, well, here’s yet another chance for you to see that I am more of a realist than you think.
When you see this, it will give you the willies, and I’d be surprised if you didn’t switch to Linux in a heartbeat.
Excerpt:
Microsoft:”First, the role of ISVs. ISVs- independent software vendors-are pawns in the struggle between platform vendors. They’re essential. So you can’t win without them, and you have to take good care of them. You can’t let them feel like they’re pawns in the struggle. You’re going out with a girl, what you really want to do is have a deep, close and intimate relationship, at least for one night. And, you know, you just can’t let her feel like that, because if you do, it ain’t going to happen, right. So you have to talk long term and white picket fence and all these other wonderful things, or else you’re never going to get what you’re really looking for. So you can’t let them feel like pawns, no matter how much they really are.”

Linux wallpapers can sure be funny. Props to whoever made this (if you know, please let me know). Here’s one that everyone should have the chance to see:
A small (but growing!) handful of additional Linux wallpapers can be found in the Linux wallpaper collection
If you know of any other excellent Linux wallpapers, please drop me a line. Have a good one, all.
So the boss wants me to learn Ruby on Rails. As a sidenote, right now I’m running OpenSUSE 11.0.
I’d like to use a great IDE so that I can get going quickly. So I have to learn the IDE and the language.
Which IDE to use? Well, I thought since Eclipse is an IDE platform, that I could do PHP and Ruby on it.
I spent the next few days learning how to install Eclipse so that it would work with Ruby on Rails.
Here’s where I stand:
First, install libmysqlclient-devel, because you’ll need to compile the mysql gem for Ruby. Then, install ruby (1.8.6 patchlevel 114 worked best for me), and make sure gcc is installed so you can compile gems when necessary.
When you’re done with this step, check to see what version of ruby you have, and make sure it’s 1.8.6:
$ ruby -v ruby 1.8.6 (2008-03-03 patchlevel 114)
Next, install eclipse. I found version 3.4 from the OpenSUSE BuildService. Version 3.3 is available for OpenSUSE 10.3.
While that is installing, install rubygems 1.3.1. Again, this version for OpenSUSE 11.0 was only available on the BuildService.
Then, you’ll need to update your gem repository, and then install a handful of gems:
$ gem sources -u $ gem install rails $ rails -v Rails 2.2.2 $gem install mysql cgi_multipart_eof_fix ruby-prof linecache ruby-debug-ide ruby-debug-base mongrel gem_plugin $ gem update // gets the latest versions of installed gems
When eclipse is done installing, follow the instructions in the “Plugging Aptana into an existing Eclipse configuration” article.
It will prompt you for lots of updates, just go ahead and do them all. Once in awhile, I’ve had it crash, so I just start the article over from the beginning.
Finally, run eclipse, go to the MyAptana view, click on the Plugins icon. You’ll see a list of available plugins. One is PHP, and one is Aptana Radrails. Click on “Get it”. You’ll go through a similar installation process to install that plugin.
Again, if there are any updates, go ahead and do them.
Now, that is how far I’ve gotten, and I’ve even been able to do a tutorial or two with that setup. For all the ruby experts out there who are running it on Linux, what IDE do you use? If you use Eclipse w/RadRails, do you have any further suggestions? If you don’t use Eclipse, why? And if you don’t use Eclipse, what tutorials exist that teach one how to use your preferred IDE with Ruby on Rails?
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| « Jan | Mar » | |||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 queries. 0.588 seconds