kde4

Library Error for Ruby/QT

When trying to create a Ruby Qt application I get this error. /usr/lib64/ruby/site_ruby/1.8/Qt/qtruby4.rb:2144: [BUG] Segmentation fault ruby 1.8.6 (2008-03-03) [x86_64-linux] I am using: require 'Qt' And am running the 64bit version of Novell OpenSUSE 11 with KDE4 installed. ...

Is there a KDE systray epplet for Enlightment?

Enlightenment DR16 is packaged with openSUSE 11.1 but it's a bit painful to use with KDE apps as there's no obvious (on the Enlightenment site, google etc.) way to provide a systray for KDE apps that require one (e.g., ktorrent). Anyone know of a way around this? I'm not using e for the eye-candy - I'm running on a 2.6GHz Celeron and K...

Please point me to (good) documentation about QT layouts for plasma development

I am trying to develop a plasmoid in python. I got some good tutorials here (techbase.kde.org/Development/Tutorials/Plasma) and they are really helpful, but they don't have documentation or examples about QT layouts and their usage. I haven't programmed with QT, but I know C++ well. So, the resources shouldn't be necessarily python api...

Run a script at unlock?

Hey, I'd like to get a shell script to run everytime I unlock my computer, on KDE 4. I learned that I could run one by overwriting /usr/lib/kde4/libexec/krunner_lock with a shell script doing its thing, then the original krunner_lock binary, and I'd basically want to do the opposite: launch a script that "undoes" what the locking script ...

KDE4.2 change wallpaper

How using qdbus or any other tool I can change KDE4.2 Plasma wallpaper? I tried feh and wmsetbg but they don't change my background. The only thing that works so far is kwriteconfig, but I have to restart x server after that. ...

Gui for KDE and Gnome

I want to write a gui to an application that is now CLI that needs to "look good" in both KDE and Gnome DE's, taking optimal advantage of a users settings for appearance. If I select Qt or GTK+ will I be able to do this? Do they integrate well with both DE's? Or does a KDE user need gnome libs and vice versa to run them? My developme...

[KDE4] How did you setup your dev-env / desktop on a very large screen?

This question is specific to KDE4 if you are using a different Desktop/OS then please open another thread. -- Hi there, for a day now I have been using a 24" 1920x1200px monitor. And it's awful! Maximizing windows (horizontally) is pointless. So I've begun editing window profiles (upper-left corner -> klick -> configure window behavior...

Activating KDE 4 notifications from bash scripts

I have a bash script activated by crontab and running in background. I would like to add to it the ability to send notifications during the execution. My KDE 4 desktop has a fancy notification system which pops out non-modal messages from the tray bar, and this would be perfect for my needs. So I was searching for a way to generate these...

Initial emacs position in KDE

I use emacs 23.1.1 with KDE 4.3.1. I have set (initial-frame-alist) and (default-frame-alist) to make my windows come up where I want. But my initial window does not come up where I want. My initial window comes up with one font, changes font, changes size, moves (to where I want) and then finally repositions to somewhere else. It's thi...

Resizing Plasma.Label

I'm writing plasmoid in python and when i'm trying to resize Plasma.Label nothing happens label3= Plasma.Label(self.applet) label3.setImage("/home/dark/fract.png") self.layout.addItem(label3) label3.resize(20,20) Any ideas? ...

PyQt and Bespin (KDE style)

What tab widget decorate by Bespin Tabs? I tried QTabWidget, QTabBar, KTabWidget, KTabBar, bau no effect. What Im doing wrong? All KDE apps and SMPlayer decorate by Bespin, but acetoneiso and PyQt apps have regular tabs=( I mean this Bespin: http://kde-look.org/content/show.php/Bespin?content=63928 ...

Qt::Tool window diasappears when application become inactive.

I have problem with keeping Qt::Tool window visible when the application becomes inactive. The application is running and there are 2 windows opened - main and additional with Qt::Tool flag set. When I open/switch to other app e.g Konosole the main window remains visible but second disappears - so if I want to e.g. rewrite some data from...

How to get text from the screen in KDE development

I want to get text from screen (like Babylon). Is there any thing to be helpful in KDE developement. Any api or library? Thanks in advance ...

How to make Qt::Tool not stay on top of the main window.

I have problem with Qt::Tool flag. When I create new widget with Qt::Tool flag it appears on top of the main window. But when I switch back to main window and make it active the I still have the tool widget in front so it my main window is not fully visible. Qt::WindowStaysOnTopHint is not active. Just in case - environment is KDE4 Th...

Screen resolution on KDE and Windows

I was developing a small application using Qt4 to get it cross-platform, but when I compared the result I found a really disturbing issue. On both Linux (KDE4) and Windows 7 my screen resolution is 1680 x 1050 but on KDE my application widgets are bigger and there is not enough place to have both important widgets opened without one be...

In KDE4, how can I automatically tell which “Desktop” a Konsole terminal is in?

I was looking for this and found a question and answer for KDE3; I figured more people will be interested in the answer for KDE4 as time passes (posting here just so I can also post the answer...) ...

How do I create keyboard shortcuts programmatically in KDE ?

Hello, I am able to create keyboard shortcuts for Ctrl-F1 and Ctrl-F2, making them launch a script, using the Control Center interface, Input Actions section. The platform of interest is KDE 3.5 on CentOS 5 at present, but 4.x is also of less immediate interest. What I need, however, is to create the same shortcuts from a shell script, ...

What to use instead of KIO::Scheduler::scheduleJob in KDE 4.5

In KDE 4.5 the KIO::Scheduler::scheduleJob is deprecated. What should I use instead of this Public Member Functions? What is the proper way to schedule the job now? E.g. until now I have used: KURL url("http://developer.kde.org/documentation/kde2arch/index.html"); KIO::TransferJob *job = KIO::get(url, true, false); KIO::Scheduler::sch...

Ruby, Qt and third party widgets

I'm learning Ruby and, for this, I'm writing an application in it. My background is in C++/Qt. So I've started writing a Ruby/Qt app. But there's a few previously written widgets (C++) I would like to use, besides qwt. Is this possible? If it is, how should I do it? PS: It seems QtRuby from Korundum bindings do includes Qwt bindings. ...