Home Linux Community Community Blogs

Community Blogs

Using 'Feh' in Fluxbox


Using feh, because it is there.

Read more... Comment (0)

Canto in Fluxbox


How to Canto

Canto is a python RSS reader that sits in a terminal. Screenshot:

It is highly configurable, and fairly easy to use.
I have mine sitting in a pre built xfce-terminal window for ease of use. You can of course, just use a regular terminal and invoke "canto", but it just won't be nearly as fun.
Read more... Comment (0)

Event sounds in Fluxbox


Sound events in fluxbox

How to add event sounds to any fluxbox menu item.
This includes the login and logout sounds, as well as sounds for exit to login and restart fluxbox, and any other item you wish to have open with a sound event.
Read more... Comment (0)

Fluxbox Transparency with xcompmgr



How to have decent transparency and fading in fluxbox using xcompmgr.

It used to be an issue to have composite effects with fluxbox. Not anymore.

Screenshot: **Here**
Read more... Comment (0)

Hello World!

Hello World!

Ubuntu 9.04 InstallFest: Recap

Today I attended the Ubuntu 9.04 InstallFest in Atlanta, and as always, the event was a shining example of the Linux community in action.  Free from debates, namecalling, and other disputes that have become the stereotypical Linux discussion, people were helping each other, discussing new ideas, and installing the latest version of Ubuntu, 9.04 Jaunty Jackalope. 

Roughly 25-30 people showed up throughout the day, and there were many new faces.  I'm looking forward to the next InstallFest coming in November, and thanks to all who came out today!


Tether Linux box to Internet via your 3G cell.

Tether your Linux box to your ATT phone's Internet connection via BlueTooth.
You basically connect your palmtop or laptop to your ATT cell phone using bluetooth technology, then, pass through the cell phone to allow your laptop/palmtop computer to access the Internet.

I use a Nokia770 and a Nokia810 model of Internet tablet mostly (.. really nice and compact.) , and carry my Eee 1000H Netbook, and laptop occasionally.

This guide is not intended to be a keystroke for keystroke instruction, but more of a guideline.
A little bit of prior computer experience goes a long ways to help you out, along with this guide.

What you need:

 Some kind of Linux Computer: (could be laptop, desktop, tablet, palmtop, etc.

Works nicely on:

Nokia 770 Linux Internet computer (Maemo).

Nokia800 or the new Nokia810 VERY COOL little box.

Netbook, I have a Asus 1000H running Ubuntu 904

Laptop,  I have a Compaq Evo N800v with bluetooth dongle running Debian 5) ,

My various desktops, mostly used as a backup to the DSL around the house.


Bluetooth can be built in, or get a Bluetooth USB device and plug that in to your machine.

The Asus Eee 1000H, Nokia770, N800 and N810 has EVERYTHING you need already built in. You can get them on Amazon for a steal of a price, EVERYONE NEEDS ONE of THESE!

AT&T (formerly Cingular) Cell phone service (with a data plan, otherwise they charge by the amount of traffic and its kind of expensive!)

To my knowledge, none of the other phone companies allow this method of connection as of yet. I had to switch to ATT just for this capability

Picking the right data plan is important. I took my Nokia770 into the ATT store and told them what I wanted to do (tether to the Internet), they suggested a  data plan and I went with it, it's a $20 charge on top of my regular plan, for unlimited 3G data.

Obviously you need a A Cell phone with G3 and bluetooth DUN or Dial up networking capability, I will cover the Razr V3xx model. (but some others will work also)

*Note, some advanced models of phones, including Iphone will not tether unless jailbroke*
Update 11/29/07 ATT and Apple announce the iPhone will do G3 sometime next year, but you gotta ask if it will "tether" to your laptop or not for dial-up-network. ...just doing G3 and bluetooth doesnt mean it will tether to your laptop.  As of 5/2009, you still cannot buy a iPhone / ATT tether data package.

Next steps:

1st create a file called /etc/ppp/peers/gprs-script
using your favorite editor, put these commands in that file.

####### start of gprs-script #####
user This e-mail address is being protected from spambots. You need JavaScript enabled to view it
password CINGULAR1
connect '/usr/sbin/chat -f /etc/ppp/chat-gprs-v3 -r /dev/con sole'
connect-delay 5000
#### end of file ####

Next create a file called /etc/ppp/chat-gprs-v3
using your favorite editor, put these commands in that file.

##### start of chat-gprs-v3 file ####
' ' \rAT
OK 'AT+cgdcont=1,"IP","wap.cingular"'
OK ATD*99***1#
## end of file ####


Punctuation is important ' ' this is a single quote with a space then another single quote.

Case is important. D <-- this is a capitol Dee, a small Dee looks like this --> d
In case you didn't realize, they are completely different to a computer. Well, to most computers anyway.

Slash is important / <-- is a forward slash located near the period, Linux and Unix and most other operating systems use it, (but not Windows)
This is a backslash, --> \ (think "backwards" thinking) :-)


Next:   Pair up your laptop and phone.

Heres how I do it with my Razr:  Make sure your phone is on findme mode.

from a Linux command window enter hcitool scan and note the mac address of your phone, you will use that in the next command.

The MAC is a unique code assigned only to your phone. It is unique in the entire universe. If you help a friend perform these steps...using your mac address will not work for his or her phone.

From a command window enter rfcomm bind /dev/rfcomm0 then a space and a 1 on the end. example
rfcomm bind /dev/rfcomm0 00:1D:BE:03:F3:14 1

then enter cat /dev/rfcomm0 this will make a paring request, enter the same pin number into your laptop and phone where requested
Both sides will remember the pairing, only need to do this part once if you dont swap or change out your bluetooth device.

To connect, issue the next 2 commands from command window.

from a command window, type in rfcomm connect /dev/rfcomm0 and hit enter.
from a 2nd command window type in pppd rfcomm0 call gprs-script and hit enter.
wait a few seconds and the connection should be made.

You can check your connection by entering route and checking that you have a entry for pppd.

Open a browser and you should be online.

With Ubuntu 904 and others, you can perform the pairing via gnome bluetooth widget if you want.

For the Nokia's (770 800 810)

 Now, lets look at my favorite, the Nokia770 Internet tablet.
Everything you need, software, hardware is included when you buy it.

Maemo distro based loosely on Debian Linux
Fits easily in shirt pock or pants pocket, runs a long time on the battery charge.
Touch screen, music and video player, easy ZOOM screen, gui'd apt-get pkg mgr, etc etc

Cool flip cover that gives Instant on, and Instant off.
Similar to the iPhone interface and size, but 3 years earlier.

I cant say enough good things about the value of this little box.. It's creators, Nokia and the Linux community should be recognized.

Since the 800 and 810 came out, you can find a 770 for a real deal, around $100 if you check Ebay.
And no, I am not selling mine..I actually want to buy a SPARE!

OK, enough advertising, lets get started:

Turn on your phone bluetooth FindMe mode, (good for 3 minutes on the razr)
on the 770 Go to tools, -->control panel -->phone and new, select your phone and pair them via entering passcodes both sides.
Once paired, this step does not need to be repeated.

Go to Tools, connection manager -->tools-->connectivity settings
select connections -->new --> next-->
Enter a name for the connection, such as gprs, freddys phone or whatever you want.
tap packet data
Enter Access point name wap.cingular
enter dial up number *99***1#
enter user name This e-mail address is being protected from spambots. You need JavaScript enabled to view it
password is CINGULAR1
**note the case sensitive parts **
tap finish

I usually see about 300k-600k transfer rates, depending on where I am,
using, dslreports or any other speed tester that is online.

Again, only certain phones allow this tethering (DUN) , and the iPhone ISNT ONE OF THEM yet, or I would have bought one for sure.
the Razr V3xx works, and at least one Samsung phone also does, my son has it working great also.




Exciting Future of the Linux Desktop

Below is a list of exciting projects happening in the Linux ecosystem. This is a list I've compiled over time from reading, the "distro planets", and developer blogs.  Not all of these things have arrived yet - many are a work in progress. For each project, I've provided short summaries and links for further reading. Don't forget to leave a comment! ;-]

The Popular Stuff: 

  • Gnome3.0 - GnomeLive
    • a new 3D-accelerated UI for the Gnome Desktop.
  • Compiz++ - smspillaz
    • a "better suited" C++ rewrite. Its future is uncertain - it may become a WM in future because of Gnome Shell.

The Low-Level Jungle: 


  • Btrfs - BtrfsWiki
    • what will be the most modern and featureful filesystem to date.
  • Kernel ModeSetting - KernelNewbies
    • a new way of managing video cards that provides a Flicker-Free & native resolution gfx experience. Makes running X non-root possible and thus, safer.
  • Gallium3D - TungstenGraphics
    • a new driver development model/core that is based on modern hardware; will provide for simpler, smaller drivers that can run multiple graphics APIs.
The Inter-Distro *Kits of Unity:
  • DeviceKit - Creator's Blog
    • a cleaner hal reimplementation that will leave device management to udev.
  • PolicyKit - Creator's Blog
    • a dbus-like privilege-escalation model to replace apps running as root.
  • ConsoleKit - Fedora[FUSA]
    • an common framework for handling FUSA and session management.
  • PackageKit - Creator's Blog
    • an interdistro package manager that works on multiple backends.
And if these weren't cool enough, just take a peak at the F11 feature list.

The Cult of the Terminal

I just signed up for a group celebrating the Terminal. It's weird that I would join a group where, in plumbing, this would be the equivalent of celebrating a monkey wrench. I still like the terminal (it certainly makes my job a hell of a lot easier). But preferring the terminal to the GUI strikes me as a bit odd.

It's not so much that the terminal is better conceptually than a GUI but that in practice most OSS GUI's are wretched. There's very little fore-thought, and the lack of design acumen simply makes using them a drag.

When a GUI is terrific, it stays out of your way and allows you to accomplish your goals in a simple manner. Your web browser is a good instance of it. You simply type in your desired destination, et voila! It brings you to a page that will betray you with a good old Rickrolling.

What I'm trying to get at is that there's not a whole lot to terminal output design, but there is for graphical design. Therefore, it requires a whole lot more care than it currently receives from the OSS camp. With positive iterative GUI design improvements though, the terminal will become less and less necessary (and that won't be a bad thing). The KDE project is doing some pretty fascinating things with the desktop, and it's getting to be less that I want to fuss over the irrelevant (read: distracting) details.

I love the terminal, I use it a lot. At the end of the day though, it's just a tool. When there's a better tool, I'll drop it like a bad habit.


Simple scripting to save your Wifi connection

Wireless device support and stability have come a long way in Linux since i started using Ubuntu a few years ago.

Now and again though, something can happen to make you lose your wireless connection.  Many people solve this by restarting network manager or by simply restarting the computer.  

With a small script file, you can restart your wireless driver when its on the fritz, quicly and easily.

First create a file: 

gksudo gedit /usr/local/bin/name-of-file

Then add the script code:


modprobe -r your-wireless-device
modprobe your-wireless-device

Save and close your file and give permissions to run it:

sudo chmod +x /usr/local/bin/name-of-file

Finall, run the script by typing in the terminal:

sudo name-of-file


Hope this helps some people, not only with keeping you wifi going strong, but also with how to implement simple scripts to make computing easier and funner.





Motion detection software for webcams

Here's a quick link for a problem of mine, it comes from Linux forum and I'd like to note this software rocks ! The author as well !

Here's my problem:
I'd like to get started with some sort of motion detection software, i need to save images (still frames) or videos from a common webcam when something changes. I even need to shape the area I need di capture cause in some areas there are noises or non interesting things (car traffic and so on). I need it for a private remote camera control for surveillance. Any hints ? is there someone having experience on it ?

See original post at:
Motion Detection Software HowTO

Check out solution at:
Motion Software

Lession learned: I've got a reply to my question (see the link) in 10 minutes, amazing !


Hope it helps someone else

Page 134 of 152

Upcoming Linux Foundation Courses

  1. LFD320 Linux Kernel Internals and Debugging
    16 Mar » 20 Mar - Atlanta - GA
  2. LFS220 Linux System Administration
    16 Mar » 19 Mar - Chicago +VIRTUAL
  3. LFS426 Linux Performance Tuning
    16 Mar » 19 Mar - Virtual

View All Upcoming Courses

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board