The K Desktop Environment

Chapter 13. Miscellaneous questions

13.1. Why does use ?
13.2. Why does not use gtk, xforms, xlib, whatever?
13.3. But isn't free, is it?
13.4. How do I mount filesystems (e.g. my CD-ROM drive) in ?
13.5. Does have terminal emulators with transparent background?
13.6. Is there a way to get various kinds of information about my drive contents: free space, directory size, etc.?
13.7. How can I get to work correctly under ?
13.8. How do I create icons for non- applications that I can put in the K menu? Where do these icons (or kdelnk) go?
13.9. What about programs that do not have icons? How do I get them into the menu?
13.10. Does have a graphical client?
13.11. How do I exit ?
13.12. Is there a program that checks for new mails at my ISP if and only if I am online?
13.13. Is it really necessary to upgrade to the latest version?
13.14. How do I copy and paste in ?
13.15. How do I convert the default menus into a menu in the K menu?
13.16. What is CVS?
13.17. Does support dual screen (Xinerama)?
13.18. How do I check which version of I am using?
13.19. Can I write commerical software for ?
13.20. Why does Control Center report my version as 2.0pre even though I have downloaded the newest version?
13.21. How do I go about creating themes and icons?
13.22. Is KLyX dead?
13.23. How can I get to know about development updates?

13.1. Why does use ?

is a very sophisticated toolkit that provides everything that is needed to build a modern user interface. is written in C++, thus allowing object-oriented development which ensures efficiency and code reuse in a project the size and scope of . In our opinion there is no better toolkit available for systems and that it would have been a grave mistake to try to build on anything but the best.

13.2. Why does not use gtk, xforms, xlib, whatever?

There are a number of toolkits available. To provide a consistent user interface and to keep used resources such as memory to a minimum, can use only one of them. was selected for the reasons mentioned above.

13.3. But isn't free, is it?

It is! As of September 4, 2000, version 2.2 of the libraries were licensed under the GPL, thereby fulfilling all aspects of "free software".

13.4. How do I mount filesystems (e.g. my CD-ROM drive) in ?

To mount your CD-ROM drive, first, you (as root) need to add the following line to /etc/fstab:

 /dev/cdrom     /cdrom     iso9660  ro,user,noauto,unhide

Please make sure that you have a soft link from /dev/cdrom to whatever /dev/hd? your CD-ROM drive is (assuming you are using an CD-ROM drive). You should see something like this when you ls -l /dev/cdrom:

 lrwxrwxrwx   1 root     root            8 Jul 28 22:21 /dev/cdrom -> /dev/hdb

The above would be done with ln -s /dev/hdb /dev/cdrom (as root). Last but not least, make sure a valid mount point exists for the CD-ROM drive to be mounted on, for example:

 % ls -la /cdrom
 total 2
 drwxrwsr-x   2 root     cdrom        1024 Sep 14  1995 ./
 drwxr-xr-x  24 root     root         1024 Dec  1 21:00 ../

Now you can mount it from the command prompt by typing mount /cdrom. Or if you prefer, create a device link to your CD-ROM drive and place it on your desktop. Clicking on it will automatically mount the drive for you. Okay, concerning the question of how to make a device link to your CD-ROM drive, please look to the User Guide for the answers.

More information on mounting filesystems can be found by running man fstab and man mount respectively.

13.5. Does have terminal emulators with transparent background?

Yes and no. has the ability to simulate transparency by redrawing the background of the window inside the window. This gives the illusion of transparency, but if you place on top of another window, the transparency is lost. Eterm should work fine under if you desire more complete transparency.

13.6. Is there a way to get various kinds of information about my drive contents: free space, directory size, etc.?

The control panel will let you look at each drive and will give you information concerning free space, space used, etc. To determine how large a single directory is, you should use the du command. Details about its usage can be found by typing man du at a command prompt. If you just want to know how much space the directory takes up, simply type du -h directory).

13.7. How can I get to work correctly under ?

Try running xmodmap -e 'keycode 22 = BackSpace' and see if that fixes it (applications will have to be restarted for that to take effect). You should be able to just stick that into your X startup files like .xinitrc.

Or simply upgrade to XFree86-3.3.3.1-1 and above.

Note

Also, concerning the -Bug (Bug number: kb704): the bug is fixed somehow by putting the following line into $HOME/.xinitrc:
 xmodmap -  "keysym Delete = BackSpace"

13.8. How do I create icons for non- applications that I can put in the K menu? Where do these icons (or kdelnk) go?

Create using your favorite image manipulator, for example, GIMP, and put them in $KDEDIR/share/icons(/mini) or $HOME/.kde/share/icons(/mini). By the way, The Icon Editor is being developed by the team. More information can be found at http://w1.1358.telia.com/~u135800018/prog.html#KICONEDIT.

13.9. What about programs that do not have icons? How do I get them into the menu?

Use .

13.10. Does have a graphical client?

Yes, and in 1.x it is none other than your favorite file manager, ! You can drag and drop remote files into local directories. There is also a utility called KGet that allows resuming and queueing, but you need to use it in combination with (you can drag-n-drop into KGet but cannot use it to browse servers).

For 2, please use instead.

13.11. How do I exit ?

Simply click on the K button and select Logout. In addition, if you right click on an empty area of the desktop, you will be presented with a menu containing logout as one of the options.

Note

will also do the trick by killing the X server, but its use prevents session management.

13.12. Is there a program that checks for new mails at my ISP if and only if I am online?

Either or will do the job. If you are not connected, they will just sit there (idling).

13.13. Is it really necessary to upgrade to the latest version?

Not really. If you are happy with your right now, there is absolutly no reason to change. If, however, you want a more polished environment, an increase in speed and the number of features, then you should upgrade.

13.14. How do I copy and paste in ?

The simplest method is to use your mouse:

  1. Highlight the text you want to copy by holding down the left mouse button and dragging across the text.

  2. Go to the destination area; depending on your configuration, you might need to click it using the left mouse button to give it focus.

  3. Click the to paste. If you have a two button mouse and are emulating a three button mouse, push both buttons simultaneously.

13.15. How do I convert the default menus into a menu in the K menu?

Click on the K button and select System->Appfinder.

13.16. What is CVS?

It stands for Concurrent Versions System. It is a version control system and is based on RCS (Revision Control System), but offers more functionality. It is used to maintain source code under development. It will keep multiple versions of things (handy if you broke something and have to back up and get a clean old version), and allows people remote access over the Net to pick up the latest source code and even to check in new stuff if they have permission. It is also open source (you pay for support if you want it), and since it is free it is the system of choice for people writing more free products, such as .

13.17. Does support dual screen (Xinerama)?

You need to have the a multi-headed X server (e.g. MetroX or XFree86 4.0 and above) and a window manager that understands multi-headed display (e.g. ).

13.18. How do I check which version of I am using?

Fire up your Control Center. If there is no mention of a version on the first screen, you have version 1.0 (and it is time to upgrade!).

13.19. Can I write commerical software for ?

You can use the libraries to write "commercial and closed source" as well as "commercial and open source" software. If you write open source software you can use the free edition. But if you write closed source software you may not use the free edition; you'd have to obtain the professional edition from Troll Tech.

If you want more information, please contact Troll Tech directly.

13.20. Why does Control Center report my version as 2.0pre even though I have downloaded the newest version?

It is a bug and has since been fixed in the CVS.

13.21. How do I go about creating themes and icons?

13.22. Is KLyX dead?

Yes. But future versions of LyX will be independent. Check the progress of the various frontends here.

13.23. How can I get to know about development updates?

You might want to subscribe to the various mailing lists available, especially kde-cvs, which lists all commits done to the CVS repository. Check http://lists.kde.org if you want to read without subscribing.