Archive for the “linux” Category
A friend was looking for a way to communicate with employees without having to send e-mails, since not everyone checks their e-mail regularly, or even thinks to check their e-mail these days. All of the employees, however, work at a computer for at least part of the day. Several months ago I had found a way to have the current day’s events listed on each computer’s desktop by using Windows Active Desktop, which will display a web page. Unfortunately, IT people intervened after a couple months and disabled the Active Desktop feature on most of the computers. That left using live web sites, accessed with a browser, as the only option.
The first issue was to set up something that the friend, who has moderate computer skills, could handle. We also needed a site that could restrict access to the information being posted. A bonus would be finding a way to easily display the current day’s scheduled events on the site as well. An even bigger bonus would be a “solution” that integrated room scheduling with displaying the schedules on the site, especially if that solution would prevent overbooking. And, of course, the kicker is that it all has to be free.
My friend thought the limitations of using a browser and Internet to access posts and information were acceptable. We could place shortcuts on the desktop, or make the site the browser homepage, and let the staff know about it. The staff were grateful to have something after the current events schedule disappeared from their desktops.
Except for the site itself, everything did turn out to be free. But since I happen to have a hosted account with an obscene amount of space and bandwidth that will never get used, it seemed like a good place to experiment for the benefit of my friend. Since I already have several sites running Drupal, that was my CMS of choice. It is free, and has a large, active community supporting it.
So I set up a new site, required a login to view the content, gave my friend just enough access to publish stories, and logged into the site from all the location’s computers, instructing Internet Explorer to remember the username and password. So far so good. Pretty simple and straightforward.
Then Internet Explorer stopped remembering the username and password (there was probably some kind of staff intervention involved, but I decided to see if I could find a fix that would outsmart them). A quick search of the modules section of Drupal turned up Persistent Login. This works great until they start clearing the cookies.
The next request was from my friend for an RTF type editor, to be able to use different fonts and colors in the posts. That was solved with the TinyMCE Wysiwyg module. Then I turned my attention to finding a way to get a daily events listing posted dynamically.
Enter Google Calendar, which has XML feeds. After trying out several ways to get the feeds onto the site using the FeedAPI module, the Views module, and the CCK module, I began searching through the discussion groups on Drupal. I came across a discussion that referred to a new module being developed to do just what I was looking for: GCal Events. Jeff Simpson, the hero here, without any previous experience creating modules for Drupal, put it together, tweaked it and fixed bugs based on our feedback, and has now put it in the projects section of Drupal: http://drupal.org/project/gcal_events.
Since the site for my friend was already up and running, I set up a test site that mirrored the other site’s setup: test.clbean.com. With the development snapshot of the GCal Events module installed, which has some tweaks and bug fixes applied after the official release was put up, everything ran great. So I enabled the module on my friend’s site. Scheduled events for the day are pulled from a Google calendar and displayed on the right column.
The last issue was to set up the Google calendar account to work as a room scheduling “solution.” There are 3 rooms at this location that are reserved for various uses. Several people in different departments were using 3 different calendar books to block out reserved times. On a few occasions, events have been overbooked. The books can also be hard to locate if someone has taken them for awhile. Google calendars seemed like an easy, free, and obvious answer:
- More than one calendar can be created within an account
- Calendars can be shared with other google accounts
- Event times in a calendar cannot overlap (which prevents overbooking)
On the main Google calendar account, I set up calendars for each of the rooms that can be booked. I then shared the calendars with others who would be booking the rooms, allowing them to make changes (so they can add events). Since the calendars represent the rooms being booked, it is not necessary to fill in the location field, making a “quick add” possible through the popup that appears when clicking on a time space within the calendar (day or week view).
On the site using the calendar feeds, I set up a separate GCal Event feed for each of the calendars, so events are displayed by room. The only glitch, which was fairly easy to fix, was a piece of php code that refreshes the cache once a week instead of every day (thanks to jdwfly’s post in the discussion: http://groups.drupal.org/node/13720#comment-46424).
I love open source software. And I love the people that are part of it. Thanks, Jeff!
No Comments »
I have long since given away my test machine that was running Deli Linux on it, but a friend at the local Linux User Group has installed it on an old Sony laptop, and is chronicling the process at http://www.distasis.com/cpp/dlin.htm. More importantly, she wants to actually use the distro, so there is a lot on the page about what works, changes that will get things working (such as sound, and recognizing USB drives), as well as details about which programs are available and work, and how to get other programs to compile.
No Comments »
In between conferences and other fun stuff, I was persuaded to organize another Software Freedom Day locally. Last year’s event highlighted some of the disconnect between expectations and reality among the visitors. The expectation seemed to be that Linux could resurrect any machine: “Here’s my computer. It’s 18 years old, and I used to use DOS on it. Help me put Linux on it so I can use it again.” Needless to say, we were totally unprepared for that. But I have since found that there are a lot of people out there who think buying a computer should be a once in a lifetime event. Well, maybe I exaggerate, but not much! I think I’d better dust off the dinosaur distros for this year’s event, just in case.
Here’s our announcement:
-
The Palm Beach County Linux User Group is proud to announce its second SoftwareFreedom Day/Installfest as part of SoftwareFreedom Day 2007, the biggest international celebration and outreach event for Software Freedom globally, with hundreds of teams from all around the world participating. This year the Palm Beach County Linux User Group will be hosting the event at the North County Regional Library, 11303 Campus Drive, in Palm Beach Gardens, Florida, from 10:00 AM to 12:00 P.M. on September 15, 2007. Google Map location is here.
As part of the SoftwareFreedom Day celebration, the Palm Beach County Linux User Group will be giving away CD’s with free and open source software for Windows and Macintosh computers, including programs for graphics editing, browsing, word processing, anti-virus, e-mail, web editing, and games. Free CD’s of the popular Ubuntu Linux operating system will be available, as well as demonstrations of Linux, and assistance installing Ubuntu on personal computers. Monitors will be provided for those bringing a CPU to install Linux on.
Stop by for giveaways, demonstrations, and to learn about Linux, a free and open source operating system available for any type of computer.
Unlike last year, we will probably get some curious people just from those passing by, on their way into the library. I wonder how many other libraries are venues for Software Freedom Day? It seemed like a natural to me (although it wasn’t my idea), since libraries are also in the business of open access, freedom, and making materials available for free (but for a limited time!). What’s really amazing to me is the sheer numbers of places all over the globe that are doing this.
No Comments »
I wrote about this six months ago (here). I took out the modem on the old machine I had installed Deli on, and put in an Ethernet card. Since a new version of Deli had come out I decided to try it out again from scratch.
The install went pretty much the same as the last time, but this time I tried to configure the local network during the delisetup part (after installation). The delisetup command (at the command prompt after logging in) goes to a text-based setup. (Note: if you try to go straight to a gui interface (by typing startx) without doing the setup, it gives a group of white terminals on an icewm interface; but closing the terminals closes the gui interface). The setup categories are:
- Keyboard
- Language
- Setup LILO – the Linux Loader
- Setup PPP – Needs data from your Internet Service Provider
- Setup local Network
- Printer Setup
- Setup Tiny X Server
- Setup Window Manager
- Install additional software packages
- Set up your Mail system (with masqmail)
- Select servicesto run at boot
I went through the Setup for local Network. The first screen says you can always go back and make changes by typing netconfig (it says that, but it lies: typing netconfig gets an error message that there is no such command). Then it wants a hostname and domain name. There are instructions with screenshots at the wiki on the Deli site. After the hostname and domain name, you choose between using a static IP, DHCP, or loopback. I tried both static IP and DHCP, but somehow ultimately ended up with loopback. Choosing DHCP will take you through a probe for an Ethernet card. The message I got was “A networking card using com20020.o module has been detected.” Great, but it wouldn’t connect to the network.
I tried “ifconfig” instead of “netconfig” and it showed, despite the Network configuration done in delisetup:
Link encap:Local Loopback
inet addr:127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU 16436 Metric:1
After looking at a bunch of config files, going through delisetup several times, and editing the /etc/rc.d/net file, I checked the ethernet card and put it in another slot. But the browser is still giving the error: “dns can’t find slashdot.org.” I think it’s stuck in loopback purgatory, and I don’t have the right incantations to get it out.
On the other hand, it is still a nice, fast distro, even on this old dinosaur, and not that difficult to install, as long as you’re not trying to connect to the Internet.
No Comments »
Moving to Ubuntu Linux, by Marcel Gagné. Addison-Wesley, 2006. Available from Amazon.
This book is really well done. Of the Ubuntu books I’ve seen so far, this is the one I gave to my dad for the Ubuntu we helped him install at the InstallFest. The screenshots are well done (that is, relevant and readable), the writing style is friendly and informal, and there is good depth given to the topics covered. The author states in the beginning: “anyone who is familiar with a computer can learn to use Linux,” and from that perspective, he does a very good job making Ubuntu familiar.
He begins with a detailed screen by screen install, including directions on resizing a windows partition and defragging a hard drive. The rest of the first half of the book then introduces the reader/user to customizing the desktop, navigating files, making an Internet connection, setting up printers, updating, and installing new software. The section on wireless networking was particularly helpful. Although the book uses the default Gnome desktop interface, it includes instructions on downloading and installing the KDE desktop and packages as well.
The second half of the book is devoted to some of the programs available. The coverage seems rather quick, but is substantial enough to get one started. I was particularly impressed with the coverage of the OpenOffice.org suite, which included creating a database and using it in OpenOffice.org Write to create address labels. There was quite a bit of discussion in the Music chapter, and a plethora of games were briefly introduced.
One of the nicest features are the “Shell Out” notes throughout the book, which give text commands to use in the shell (terminal). There’s a complete chapter at the back of the book which teaches all the basics of using the terminal, but the “Shell Out” notes are a nice way to get new Linux users comfortable using the shell. Keyboard shortcuts are also frequent. In fact, sometimes more frequent than instructions on where to find the actual command in the menus.
The book is not without a few problems, however. I ran across a few typos, and was left hanging in the OpenOffice.org Base chapter where the author promised to come back to the option of creating a form but never did. Also, although there is a live DVD included with the book, the computer I’m using does not have a DVD drive. Fortunately, I had a few CD’s left over from the InstallFest. Despite these minor issues, I’d recommend the book. It’s one of the best I’ve seen so far.
No Comments »
|