Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
After switching to KDE4 I was little confused with its new philosophy of Plasma containers and activities. As it looked interesting, I tried to find more information. Now, there are some nice posts showing how to use it, but I couldn't find the answer for a simple question: where the information about desktop icons is stored on a disk?
Just for the record, in KDE 4.4.5 it is in '~/.kde/share/config/plasma-desktop-appletsrc'
applies to: linux, find, xargs, convert, image processing
'convert' command, which is a part of ImageMagick package can be used for image resizing, but it lacks ability to process multiple files (in version of ImageMagick 6.5.7-8 2010-12-02). Instead of writing a shell script you can use find and xargs commands to collect filenames and invoke convert with one filename at a time, like this:
applies to OpenOffice.org, Linux, Windows, Python, XML
Recently I try to develop modules for already existing, big project using Python and OpenOffice.org. The application is meant to work both under Linux and Windows. Unfortunately, it is not easy.
Python-UNO bridge to OpenOffice, which is part of OO suite, is different. Under Linux it works flawlessly with the fairly new Python v. 2.5. Under Windows it works only with supplied Python v. 2.3.4. It wouldn't be so bad if recent wxWidgets
applies to: Python, wxPython (v.2.8), wxWidgets, wx.PrintPreview, wx.Printout
When creating wx.PrintPreview class, you must pass 2 parameters of wxPrintout class (see doc)
If someone (like me) gets a silly idea of passing the same instance of wxPrintout class as both parameters, on closing the preview frame he will get segmentation fault or double free error.
Example (don't do this!):
applies to: linux, udev, permissions, device node, virtualbox
To allow raw host disk access by guest machine on VirtualBox the user must have read-write permission to all partitions which are to be accessed. You can do this by something like
Code:
sudo chmod a+rw /dev/sda7
but executing it every time you need to boot virtual machine is annoying. You may want to set the permissions at boot time.
In modern kernels (since 2.6) you can use the udev rules for setting default...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.