Home Blog Page 9481

KGesture points the way

Author: JT Smith

– By Dan Berkes
The point where we ditch the keyboard/mouse input combination for something more practical, ergonomic, and much cooler is fast approaching. One small step toward that destination — at least on all things Linux — is KGesture.Turn your computer keyboard upside down and shake it. If a fine sprinkling of pizza dust and burger bits don’t materialize, it might mean that you have a social life. Barring the shower of food flakes, keyboards are still nasty things. Pound away long enough on one of them, and you may be asked to make a guest appearance at your HMO’s physical therapy department.

That mouse sitting off to the side of your keyboard isn’t much better for your physical health. Repetitive motion used in pushing around the ubiquitous pointing device can cause almost as much — if not more — damage than using a computer keyboard. And wiping the gunk off the trackball every few weeks really isn’t as exciting as it may sound.

Sooner or later something better has to replace these inconvenient input devices. With the help of Open Source programmers like Mike Pilone, that change may come even faster than you think.

At the end of last week, Linux and Open Source news sites and mailing lists were buzzing with mention of Pilone’s newest program, KGesture. The initial modest announcement posted to a KDE developer’s mailing list:


Hello All,

I wrote KGesture the other day. It is a gesture recognition application for KDE 2. As far as I know, it is the first of its kind and offers something MS doesn’t.

What KGesture offers is the ability to replace mouse clicks and keyboard commands with simple movements of the mouse. The program can interact with your KDE programs, even launching new applications as needed.

Gesture recognition with a desktop mouse is relatively new, but Pilone points out that the concept has some precedence in the computing world: “CAD apps have been doing it with a pen forever,” he writes.

Instead of pointing and clicking your way through Konqueror, for example, simply moving the mouse a bit to the left could signal the program to go back one page. Drawing an “e” on the desktop might launch your email client of choice, and so on.

The program relies heavily KDE’s Desktop Communications Protocol (DCOP), a fast interprocess protocol that, among other things, can be used to start applications. KGesture also takes advantage of Mark Willey’s libstroke gesture library — it’s included with the archived file for download.

KGesture won’t liberate users from the tyranny of today’s input devices, but it’s a step in the right direction. The program allows users to fully customize and record the strokes used to launch and interact with applications, cutting down on overall mouse movement, and eliminates a great deal of “click” from “point-and-click” interfaces.

Downloading and compiling KGesture was painless enough, the real task was getting comfortable with using the program. Years of hunt, peck, point, and click will not wash away overnight. It seemed that the program was a bit cumbersome at first, but a quick cleaning of the mouse underbelly took care of that problem.

The program’s Gesture Wizard enables users to record up to 26 different gestures. I soon learned the two-pronged approach to working in harmony with KGesture: keep it simple (but not too simple), and for heaven’s sake, pause!

Pilone recommends a minimum of three strokes per gesture. This prevents errors like the one I encountered when I mapped the “back” function on Konqueror to a simple “dash” movement. This caused a bit of trouble any time the mouse was moved. The problem was solved by re-recording that gesture as a lowercase “r”.

Pause a second (approximately 150 milliseconds, for those with perfect timing) before making a stroke, then leave the mouse still for the same length of time after the stroke. This lets KGesture figure out that you’ve completed the gesture.

My initial experiences with KGesture involved making Konqueror move back and forth between pages. I do plan to use the program on a daily basis to simplify loading programs and performing repetitive tasks. Overall, I’m very satisfied with my first foray into the realm of gesture recognition, and with the performance of KGesture.

Pilone explains: “It started as a little adventure in stroke recognition, but people seem to like it.” And, as he mentioned in his program announcement message, it’s something that Microsoft certainly doesn’t have for their graphical user interface.

This is just the dawn of alternative input methods for computers, and especially for Linux. With time and support, programs like KGesture will improve, as, I hope, will voice recognition software like IBM’s ViaVoice — or another alternative. In the next decade, it’s entirely possible that the new standard input devices could be a mouse and a microphone.

Category:

  • Open Source

PA-RISC Linux 0.9 released

Author: JT Smith

“On May 31, 2001 the PA-RISC Linux development community announced version 0.9, the latest version of Linux for
computers using Hewlett Packard’s PA-RISC processor. This release is the result of several years of work by developers in
the Free Software community including developers from The Debian Project, Hewlett Packard, and Linuxcare.” Release Info.

Category:

  • Linux

KDE 2.2alpha2 is out

Author: JT Smith

“KDE 2.2alpha2 is here! Blessed by release master Waldo Bastian only a few hours ago, this
release has a ton of improvements over KDE 2.1.x. You can view the ChangeLog or glance at
the alpha1 announcement for an overall idea of some of the changes versus the stable
branch. However, to discover the rest of the cool stuff — such as the new regexp filter in
KNewsTicker or the Kicker taskbar/extension improvements — you’ll have to download KDE 2.2alpha2 and
see for yourself. As usual, source is available as well as binary packages (read our policy) for Mandrake,
Red Hat, SuSE and Tru64. Debian users should check the regular sources. Keep in mind that this alpha
release is not for people who expect a stable desktop, there is a short list of known problems already.” Get the goods at KDE Dot News.

Category:

  • Open Source

Matrox Graphics introduces PowerDesk for Linux

Author: JT Smith

Montreal, Canada, May 31st, 2001-Matrox Graphics Inc. today announced the release of Matrox PowerDesk® for Linux, an
open source Graphical User Interface (GUI) based utility, providing Matrox Linux users with a faster more efficient means of
managing their desktops.
“As the adoption of Linux among corporate and novice users grows, we wanted to provide consumers with a desktop interface
that is easy to use and free of the sometimes complex coding required under the OS,” said Alain Thiffault, Matrox Global Software
Manager. “PowerDesk for Linux will dramatically increase productivity by allowing Linux users to change their desktop settings
using our point and click GUI, which is far more efficient then the current text-based approach.”

Now, Matrox Linux users can easily configure Matrox DualHead features such as Multi-Display, Clone, and TV Output, as well as
make monitor adjustments to resolution settings, pixel depths, and refresh rates. With PowerDesk for Linux, users simply load this
utility along with the accompanying driver and can then point and click to enable a desired feature, avoiding the errors that can
occur when configuration files are entered manually.

The Matrox open source PowerDesk for Linux runs under XFree86 versions 4.0.2 and 4.0.3 and is compatible with all Matrox
G200, G400 and G450 based graphics cards. It can be downloaded for free from the Matrox driver page at:
http://www.matrox.com/mga/support/drivers/home.cfm.

Matrox is a strong supporter of Linux with a dedicated team devoted to further enhancing its compatibility and feature support.
Matrox released specifications for its various Millennium graphics cards in 1997, 1998, and 1999 and became the first graphics card
company to support single-slot dual-display cards on the Linux operating system in 2000.

About Matrox
Matrox Graphics Inc. is the only graphics chip designer and graphics card manufacturer who draws on 25 years of industry
experience to provide customers with state-of-the-art 2D, 3D and digital video acceleration, vibrant image quality and real-world
functionality. A quality and innovation leader, Matrox has been recognized with over 1,000 international awards for the Millennium,
Marvel, Productiva and Mystique product lines. Headquartered in Montreal, Canada, Matrox is a privately held company with
international offices in the United States, the United Kingdom, France, Germany, Italy and Hong Kong. Information about Matrox
products, drivers, technical support and more can be found at http://www.matrox.com/mga

Matrox Graphics Inc. and Matrox are registered trademarks or trademarks of Matrox Graphics Inc. and/or Matrox Electronic Systems Ltd. Other company, product
and service names and/or logos indicated above may be trademarks or service marks of such other companies.

1 TV output support is currently limited to G400 board level products only. Please consult the Matrox website for details http://www.matrox.com/mga

2 Compatibility is dependent upon board level product. In the case of the G200 board level products, support does not include the MMS product line

GNU.FREE 1.6 released

Author: JT Smith

GNU.FREE 1.6 is now available. New features include tamper-resistant logs, improved central data structures, out of the box support for PostgreSQL and MySQL, and other goodies.

Category:

  • Open Source

MandrakeSoft announces Linux-Mandrake on Itanium

Author: JT Smith

From a press release at Enterprise Linux Today: “Bull and MandrakeSoft today announced that as a result of a successful technological collaboration in
the area of Intel Itanium architecture, MandrakeSoft is making a beta version of its award-winning Linux-Mandrake operating
system for Itanium-based servers available for immediate download from http://www.linux-mandrake.com/en/ftp.php3#ia64.”

A Constitutional right to decode?

Author: JT Smith

Wired News: “In a 40 KB brief filed late Wednesday, the studios say that just as federal law outlaws “gambling
devices, trafficking in satellite theft devices, and trafficking in cable signal theft devices,” Congress
has the duty to enact laws preventing U.S. websites from distributing DeCSS.

But to the Electronic Frontier Foundation, which is representing the opposite side, DeCSS is more
like “instructions for a photocopier, recipes, books about fixing cars, and videos on baby care” that
are constitutionally protected by guarantees of free expression.”

O’Reilly releases two new books for Mac OS X developer community

Author: JT Smith

San Jose, CA–O’Reilly & Associates announced at Apple’s Worldwide
Developers Conference 2001 that the first two in a series of highly
anticipated books on Mac OS X application development–“Learning Carbon”
and “Learning Cocoa” (O’Reilly, each US $34.95)–have been released.
Designed to teach Apple developers the key concepts about programming
for Mac OS X, “Learning Carbon” and “Learning Cocoa” provide the
essential tools for porting existing code to the new operating system,
and using the examples provided, act as springboards to help developers
create their own industrial-strength applications.

“The interest in developing for Mac OS X is incredible here at our
Worldwide Developer conference,” said Ron Okamoto, Apple’s vice
president of Worldwide Developer Relations. “Written by Mac OS X
experts, technically reviewed by Apple engineers, and produced and
edited to O’Reilly’s trademark high standard of quality, ‘Learning
Carbon’ and ‘Learning Cocoa’ will be invaluable resources to our
developers.”

Carbon is one of the principal application environments Mac OS X
programmers can use to write applications. Utilizing Carbon,
programmers can tune-up their existing Mac source code to take
advantage of the new features in Mac OS X.

“Learning Carbon” introduces the developer to key concepts like event
management, resource handling, and bundle anatomy. In addition,
hands-on instructions guide the reader on topics of how to implement
essential application tasks, such as managing windows, creating and
responding to menu commands, providing user help, and organizing the
application for easy localization in multiple countries and languages.

Cocoa is the second principal application environment for Mac OS X.
Among Cocoa’s many attributes, its advanced object-oriented APIs allow
developers to work in both Java and Objective-C.

With “Learning Cocoa” by their side, readers quickly become familiar
with Cocoa application development not merely by reading, but by doing.
For those with no previous experience, the book breaks the ice with a
discussion of essential object-oriented programming concepts, before a
thorough introduction to the Cocoa environment helps them become
familiar with the basic elements of Cocoa programming. Tutorials guide
the reader through a series of gradually more complex example
applications, laying the foundation for more advanced techniques and
concepts every time.

The writing team has incorporated a playful spirit into this book, as
the reader is encouraged to play, explore, and ‘kick the tires’ of
Cocoa, demystifying Apple’s development environment and getting
developers eager to program in it.

Recommended by the Apple Developer Connection, “Learning Carbon” and
“Learning Cocoa” provide information not available anywhere else, and
perfectly equip the developer to hit the ground running in the Mac OS X
application development market.

For “Learning Carbon:”

The sample chapter, “Carbon Event,” is available free online at:
http://www.oreilly.com/catalog/learncarbon/chapter/ch06.html

For more information about the book, including Table of Contents,
index, author bio, and samples, see:
http://www.oreilly.com/catalog/learncarbon/

For a cover graphic in jpeg format, go to:

Chapter 6, “Essential Cocoa Paradigms,” is available free online at:
http://www.oreilly.com/catalog/learncocoa/chapter/ch06.html

For more information about the book, including Table of Contents, index,
author bio, and samples, see:
http://www.oreilly.com/catalog/learncocoa/

An in depth series of articles on “Programming with Cocoa” is available
on the O’Reilly Network Mac DevCenter:
http://www.oreillynet.com/pub/ct/37

For a cover graphic in jpeg format, go to:
ftp://ftp.ora.com/pub/graphics/book_covers/hi-res/0596001606.jpg

Learning Carbon
By Apple Computer, Inc.
May 2001
ISBN 0-596-00161-4, 352 pages, $34.95 (US)

Learning Cocoa
By Apple Computer, Inc.
May 2001
ISBN 0-596-00160-6, 370 pages, $34.95 (US)

order@oreilly.com
1-800-998-9938
http://www.oreilly.com

# # #

O’Reilly is a registered trademark of O’Reilly & Associates, Inc. All
other trademarks are property of their respective owners.

Dangers of SUID shell scripts

Author: JT Smith

“This article attempts to walk the fine line between full disclosure and published exploits.
The object of this article is to illustrate how SUID programs work in order to help others
writing their own programs avoid some common mistakes. The examples I provide are
detailed enough to help you understand each danger, but I don’t promise that all will
work exactly as demonstrated if you try to use them maliciously.” Full article at SysAdminMagazine Online.

Category:

  • Linux

Cyberspace evidence seizure upheld

Author: JT Smith

MSNBC: “Upholding the rights of law enforcement to cross
national borders in pursuit of cyberspace criminals, a
federal judge has ruled that FBI agents did not act
improperly when they tricked a pair of suspected hackers
out of passwords and account numbers and then
downloaded evidence from their computers in Russia.”