kde

How to set up headers and libraries for Linux development.

I recently set up, for a learning exercise, an Ubuntu desktop PC with KDE 4.2, installed Eclipse and started to look for information on how to develop for KDE. I know there's KDevelop and will probably have a look at that at some time in the future. Right now, however, I don't have the correct headers and libraries for creating KDE appli...

Floating/Embedded QDockWidget in a QWidget (KXmlGuiWindow's CentralWidget designed in QT Designer)

I'm just trying to get into QT (and KDE) program, and have hit a snag trying to add a floatable, draggable QDockWidget to the .ui file (based as a QWidget) that is embedded into my KDE 4 program. This is all from the basic template provided by KDevelop 4, so while I understand what's going on, I just don't know the best way to change it...

How great is xmonad if I still want my "old" graphical IDE?

I've heard excellent reports of xmonad, but how good is it for everyday use and for development? For various reasons I don't use vim/emacs (though I don't suffer from terminal-phobia!). All the screenshots/videos I've seen show xmonad being used with mainly terminal apps. Is it worth switching from KDE 4.2? ...

Service menu on Gnome desktop environment

Is there any way to create a service menu on Gnome? In kde it's simply a .desktop file placed in $HOME/.kde/share/kde4/services/ServiceMenus/ Does it exist a similar thing in Gnome? ...

Trouble running eclipse on Fedora 9, KDE 4.2 (Runs fine in Gnome)

I recently installed KDE4.2 on my Fedora 9 machine, which already had Gnome, and have been trying to run Eclipse 3.3 (Europa, which ships with a Fedora Distro), but without luck. Eclipse runs fine when I use gnome session, however I need to use it in KDE. I am attaching the screen-shot taken after the crash and some information about my...

Best languages/frameworks for imaging Linux app

Hello all. I'm looking for the best tool/language/library/framework to develop a document scanning/imaging/indexing application that must run on KDE/Linux. The application must provide the following functionality: 1) Document scanning (simple and multipage) in B/W, save the scanned images in TIFF format with CCITT Group 4 compression. ...

Decent KDE XML viewer?

what's your XML viewer of choice from within KDE? Something that formats the XML decently. I've searched around but have not found anything reasonable. ...

how to use default icons with qt

I'm using only Qt (though PyQt) and I don't get icons when I call e.g. QMessageBox.warning(). Is there a way to use the platform's default icons? Currently I'm using the more complete QMessageBox constructor and calling setIconPixmap. ...

In KDE, how can I automatically tell which "Desktop" a Konsole terminal is in?

I have multiple "desktops" that I switch between for different tasks in my KDE Linux environment. How can I automagically determine which desktop my Konsole ( kde console) window is being displayed in? EDIT: I'm using KDE 3.4 in a corporate environment This is programming related. I need to programatically (a.k.a. automagically ) de...

Can Phonon be used for capture or transcoding?

Qt/KDE's Phonon media framework abstraction implemented playback first. Can it do anything more complicated yet? ...

Detect enter/exit session under KDE/Gnome with FreePascal

I'm asking this question after I got a very good answer to: How do I detect the 2 states of “Switch User” in Windows My intention is to find out if the Switch User under KDE/Gnome has a similar API call I can monitor with FreePascal. If not with FreePascal, at least the respective lib entry used in C/C++ ...

How to compile kscope on windows system?

kscope is a very nice gui tool on unix to analysis of sorce code i am using it for a while on my linux box. is there is any port of kscope on windows availbale? I know cygwin support kde env. but i am not able to compile kde on it. ...

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 ...

KDE development debugging

In a kde3 game called ksirtet (a tetris clone) when playing against a computer the human player cannot move the tetris piece left/right. I'm trying to fix it but cannot debug in gdb. After the line "kapp->exec()" gdb stops responding, the game runs and I cannot input any command do gdb to see what's going on. So the question is about deb...

wxPython on KDE 4.2: popping window on top of the screen and hiding back

I want my window to be invisible most of the time, but get to top of the screen on hotkey and hide again if the user switches to another application. In my hotkey handler I use self.Show() self.Raise() self.Iconize(False) and in my activate message handler self.Hide() self.Iconize(True) but the window pops up on top of the...

Programatic desktop icon placement

I am looking for a way to programatically get/set the icon positions on the desktop. Clearly there is some "state" stored in a somewhere. Does anybody know here? I am trying to get a proof of concept going on ANY platform so if you know how to do it on XP in gnome, KDE or Mac OS I would really like to hear about it. ...

Smallest Xwindow for Linux

Hi, What is the smallest, friendliest Window Manager that I can run on Linux. I currently use Gnome which is a bit heavy. All I would be needing it for is to run Firefox. Xfce? ...

how to programically set keybinding schemes in kde

I'm making a automatic configuration script for kde and I want to replace the current keybindings with a key binding file of my own. I found that there is a list of keybinding files in /usr/share/apps/kcmkeys directory all stored in .kksrc files, and I can define custom .kksrc files in ~/.kde/share/apps/kcmkeys directory. However, I do...

Qt, Mouse skipping, not updating every pixel, mouseMoveEvent()

I working on a simple paint program. It seemed Qt (and KDE) would be a easy way to implement it. I find Qt quite easy to work with, but now I have hit a problem. When I draw something in my program the mouse skips if I move the mouse to fast. like this: It susposed to be like one long string. I'm using mouseMoveEvent() to draw a pixe...

[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...