Product Review: The K Desktop Environment, Version 1.0
The KDE packages can be downloaded from the KDE web page. The web page contains directions for installation. When you unpack the source files, be sure to read the README and INSTALL files as well.
Several mirror sites around the world provide optimum download times. The packages are available in source and binary RPM, source and binary .tgz and source and binary Debian.
The KDE team recommends RPM for the inexperienced UNIX user whose system supports that format. My Slackware system did not, so I had to compile the sources. Although this took about an hour, the process was well-documented and I had no problems with the installation. If you're compiling the sources yourself, here is a tip that may help: decide on and create a “kde root” directory, for example /usr/local/kde. Put your distribution files in /usr/local and use tar to unpack them in that directory. All your compiled files and libraries will end up under /usr/local/kde/, and any additional packages you install later will be able to find the necessary libraries and binaries.
Once KDE is properly installed, you must create a mechanism to start it. On most Linux systems, startx starts the X Window System and then runs another script, /usr/lib/X11/xinit/xinitrc. This script is a link to one of several scripts that start the different window managers such as FVWM, FVWM95, TWM, etc.
Edit the file that /usr/lib/X11/xinit/xinitrc points to and find the line that launches your old window manager. Comment out that line and add a line under it to launch startkde. The last few lines of your file should look something like this:
# extract from /usr/lib/X11/xinit/xinitrc.FVWM if [ -f $usermodmap ]; then xmodmap $usermodmap fi # start some nice programs xsetroot -solid SteelBlue #FVWM <-comment this out startkde # <-and add this!
Now, save this file and at the prompt, type startx. KDE should fire right up, greeting you with a very impressive deep-blue desktop. Try the virtual desktop selector on the bottom bar. It has four buttons, named one, two, three and four. These switch between virtual desktops, each of which has a different background. The background files are in .jpg format and can be easily changed. I have some .jpg files containing photos taken by the Hubble telescope, which make great backgrounds.
Now that KDE is up and running, let's try doing something with it. Put your cursor on the bottom bar icons, but don't click anything. After a second or so, a label will pop up with the icon's function. All the way to the right is the “Terminal Emulation (kvt)” icon. kvt, or K virtual terminal, is KDE's version of the xterm. Clicking once on this icon will open up a kvt. Don't double-click—that would open two kvts.
An interesting property of the kvt is that it is not by default a login shell. In other words, none of the commands in any of your login scripts will run when you open a kvt: no DIRCOLORs, no aliases, no special environment variables. This is quite easy to change if you desire. Simply click the right mouse button on the kvt icon and open “Properties”. On the “Permissions” tab, make sure you have the Read and Write buttons pushed in for User. Then on the “Execute” tab, Execute input area, the default command to run is
kvt -caption "%c" %i %m
To open kvt as a login shell, just add -ls so it now reads:
kvt -ls -caption "%c" %i %mThen click on “OK”. Your next kvt will open as a login shell. If this doesn't work, shut down KDE and restart it as root. This time, the modification will definitely work.
After having set kvt up as a login shell, you may notice a curious message on the first line of the kvt display that reads:
/dev/ttyp2: Operation not permitted
Below this line will be your normal shell prompt. This message can safely be ignored.
In all my years of running X, I never figured out how to open FVWM with icons on the screen. A Netscape icon can be created with KDE in about a minute and doesn't require reading man pages.
On the left border, open the “Templates” folder. Select File->New->Program. In the KFV dialog's “General” tab, change Program.kdelnk to Netscape.kdelnk. In the “Execute” tab, type in the path to the Netscape executable and specify an appropriate working directory. Click on the icon that seems logical. Click OK, and you are done. (See Figure 2.) Remember, don't double-click on the Netscape icon unless you want two browsers to open.
Fast/Flexible Linux OS Recovery
On Demand Now
In this live one-hour webinar, learn how to enhance your existing backup strategies for complete disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible full-system recovery solution for UNIX and Linux systems.
Join Linux Journal's Shawn Powers and David Huffman, President/CEO, Storix, Inc.
Free to Linux Journal readers.Register Now!
- Download "Linux Management with Red Hat Satellite: Measuring Business Impact and ROI"
- Client-Side Performance
- Peppermint 7 Released
- Sony Settles in Linux Battle
- Libarchive Security Flaw Discovered
- Maru OS Brings Debian to Your Phone
- The Giant Zero, Part 0.x
- Git 2.9 Released
- Snappy Moves to New Platforms
- Profiles and RC Files
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide