Subscribe to RSS Feed

Posts Tagged ‘ Linux ’

Gentoo Fortunes

March 5, 2009 by Shaun
No Gravatar

So I recently switched my linux flavor to Gentoo on my laptop. It takes a couple days, but has proven to be well worth it. Although that’s not the topic of this post, it should be understood that the following instructions are based on a Gentroo distro. These instructions can be tweaked to get this working in other distros as well.

There are a couple apps involved: cowsay, and fortune-mod. The fortune-mod app is a simple app that outputs fortunes, there are a number of plugins (I installed them all, but you can choose to emerge particular ones, as desired.

The cowsay app is a simple ascii cow that has a comment bubble allowing you to specify the text the cow should say. It has some customizeable features such as the eyes and the tongue.

The following instructions will get your ascii cow to output a fortune from the fortune-mod library.

First, you need to emerge these packages (the fortune-mod-all package is optional, although you need a fortune list, this pulls them all in:

emerge -av cowsay fortune-mod fortune-mod-all

Now you can output a cowsay fortune:

cowsay `fortune`

I took this a level further and added the preceeding to the last line in my .bashrc file, which has a random fortune popup on every terminal/console session entry.

It’s a lot of fun and a simple install. Have fun!!

Continue Reading »
No Comments

Time Zone in Linux

January 29, 2009 by Shaun
No Gravatar

I was curious one day when performing a fresh install of Fedora on my Laptop. I saw New York Listed as the available time-zone (as it typically is) to indicate Eastern Standard Time(EST). What about Orlando, where I live.

I performed a quick google search and found this helpful article on how to add a specific city to a time-zone. Hopefully, you’ll find this useful as well.

http://www.linuxjournal.com/content/add-your-city-linuxs-list-time-zones

Enjoy, and try not to break your system too bad when following these steps.

Continue Reading »
1 Comment

Linux/Unix Site Security

December 4, 2008 by scribe
No Gravatar

I found this article on Linux and Site Security and thought it would be useful to spread around. Hopefully it helps others with the vatying security methods that are out there for websites. It briefly covers RFC 4732 which is tailored towards DOS (Denial of Service) attacks, but can be blended into other security protocols.

Today’s post is going to be about security on Linux and Unix, since we’re building up to doing some work with CAPTCHA in the near future and need to keep ourselves awake and interested ;) To be more specific, today’s post is going to deal with site, and user, security on the Internet (although you could apply these examples to various arenas). As we all know, maintaining a decent level of personal and professional site security on the Internet is possible to a degree. Unfortunately, as long as there’s profit in breaching that security, building industries devoted to thwarting those breaches or some interdependent mish-mosh of the two, there’s no way to achieve absolute security on the Internet unless you opt not to use it (The Internet, that is ;)

The Linux and Unix Menagerie: Linux And Unix Internet User And Site Security – How Much Is Too Much?

Continue Reading »
No Comments

Amarok 2 LibMTP

November 16, 2008 by Shaun
No Gravatar

So I was having quite a bit of trouble trying to get amarok 2 compiled. I found that within the fc9 and livna repos, libmtp was 0.2.6 and amarok requires libmtp 0.3. I downloaded the correct libmtp version extracted it and compiled it, then I went to re-make amarok and got this error:
Linking CXX shared module ../../../lib/libamarok_collection-mtpcollection.so
CMakeFiles/amarok_collection-mtpcollection.dir/handler/MtpHandler.o: In function `Mtp::MtpHandler::iterateRawDevices(int, LIBMTP_raw_device_struct*, QString const&)’:
/home/shaun/Download/amarok/src/collection/mtpcollection/handler/MtpHandler.cpp:147: undefined reference to `LIBMTP_Open_Raw_Device’
CMakeFiles/amarok_collection-mtpcollection.dir/handler/MtpHandler.o: In function `Mtp::MtpHandler::init(QString const&)’:
/home/shaun/Download/amarok/src/collection/mtpcollection/handler/MtpHandler.cpp:85: undefined reference to `LIBMTP_Detect_Raw_Devices’
collect2: ld returned 1 exit status
make Error 1
make Error 2
make: *** Error 2

Continue Reading »
No Comments

Plasma Themes

November 16, 2008 by Shaun
No Gravatar

UPDATE: In kde4, you can right click your desktop, select desktop settings and select New Themes…

—–

So I found a great article on how to install my first non-default Plasma Theme. I’ve copied most of the steps, but found that some didn’t apply to me. I’m currently running kde4.1 under Fedora 9. If you have any questions, leave a comment and we’ll help where we can.

Steps to take:

  • Create a new folder where you are going to store the downloaded plasma themes
    • Go to the folder “~/.kde4/share/apps/” (My kde folder was ~/.kde/ rather than ~/.kde4/)
    • Create a new folder and name it desktoptheme if it does not exist
  • Get a Plasma Theme
    • Go to the site KDE-Look.org and choose a theme to download.
    • Download the tar.gz file to any folder of your choice (I downloaded the Glassified Theme)
  • Install the downloaded plasma theme
    • Extract the tar.gz file to a folder in the directory “~/.kde/share/apps/desktoptheme/” – Again, the kde folder may be “~/.kde/”. Make sure you extract it into a folder that is the title for your theme as you will need this later.  If you don’t already have the “desktoptheme” directory, you will need to create it.
    • Press “Alt+F2″ and type in “kquitapp plasma”. This will exit the plasma theme. We will get it back later after configuring the new theme.
    • Press “Alt+F2″ again and type “kate” to open the text editor. (You can use any editor for this.)
    • Open the file “plasmarc” found in the folder “~/.kde4/share/config/”
    • Locate the line where it says category, so I had to create it. Just add it to the bottom of the file. like this: (this is where you put the directory name/theme title)
    • name=themetitle
    • Save the changes you made to the file and Exit
    • Press “Alt+F2″ and type in “plasma”. This will bring the new plasma theme
  • Worked like a charm for me. Great article from http://pramodrt.wordpress.com/2008/05/20/changing-the-kde4-plasma-theme/

    Continue Reading »
    No Comments

    Olebox - Shaun Oleson is using WP-Gravatar