kde

How do you use kate? Tips/Tricks/Workflow

We all seen a bunch of these? Mostly for IDE's but also for vim and emacs. Kate is (only) a text editor (an awesome one) but it has a ton of options plus a number of plugins, so its hard to know all of it well. How do use the Kate text editor? Please share your workflow and help me and others learn some of the cool tricks you use. I'll...

porting kde application to windows

hy I'm trying to port a KDE application to windows my problem is finding a suitable KDE SDK for windows, i can't include any k-headers (kapplication.h kaction.h ....) and I haven't even got to the libs is there a guide for doing things like this ...

How can I control in which of my desktops the browser called by selenium remote server will pop up?

I am running tests from phpunit using selenium. Since the tests take a couple of minutes proceed, I would like to switch to another desktop and do some tasks while the tests are running in the background. However, since every test calls a new browser via selenium remote server, and a new test management window and a application window ...

KDE contribution

Does it make any sense to contribute to KDE lately, now that all that's "cool" is being moved in the cloud? It seems like these guys are in need of some contributors and I was wondering whether it's a good C++ code base to learn from and gain experience or it's better to get involved in something that has more momentum ? ...

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

How to keep one of my application windows on top of the other windows of the same application?

I have a Motif-based notepad-like legacy application. I would like the modeless "Find/Replace" dialog (which is a Motif TopLevelShell) to always stay on top of the other windows of my application, but not on top of other applications. I don't see any Motif-specific setting to do this. KDE allows me to set window-specific behavior, but ...

How can I check with Python which Window Manager is running?

I want to check which Window Manager the user is using (like GNOME or KDE etc.). How do I do that? ...

Qt - how to detect whether the application is running on GNOME or KDE?

I was wondering how I could do something like this (source) using Qt. I looked through the documentation but couldn't find any method to check if an external process is running. if [ "$(pidof ksmserver)" ]; then echo "KDE running." # KDE-specific stuff here elif [ "$(pidof gnome-session)" ]; then echo "GNOME running." # GNOM...

How to create a .desktop file application launcher on Linux?

I've developed an application in Qt which uses a launch script, myapp.sh. I've created a .desktop file which launches this script, and set: Command: $PWD/myapp.sh Work path: $PWD However, $PWD prints my home directory when I launch the .desktop file, resulting in attempting to launch ~/myapp.sh rather than ~/Development/build-director...

How to get user defined system colors on Linux?

How do I get correct colors associated with my KDE or Gnome profile on Linux? java.awt.SystemColor seems to give me root (?) account colors, at least colors definitions doesn't match my settings (whereas on Windows everything is fine). Are there any APIs that let me access current user's Window Manager color settings from Java? ...

Macro detect KDE or GNOME in qt4

Hi, I have a problem to detect when used in GNOME or KDE operating system that runs the application. The program I am doing QT4, and I have trouble feeling of look- in the systray, so I pass it to KDE, but which is not macro to do so. PD: I use KDE and C / C. I search in web and I see this: http://stackoverflow.com/questions/963611/creat...

how to stop repainting of a widget when it's resized

hello i am making a software in which paint event painting a widget as per my need but the problem is that when i re-size my application window it painted it again so please tell me the way to stop paint event from painting my widget on resizing the main window. my file are: v_lab.h(http://qt.pastebin.com/tjHAWkPH) v_lab.cpp(htt...

Put in the KDE SystemTray in the QT

Hi I'm designing an application platform and want to integrate Linux in particular for the KDE desktop only independent bookstores that if I use KDE and the QT libraries the look and feeling not like and I have all the power of the KDE libraries. The problem is, I want to be an application platform that includes the libraries to compile...

Set transparency dynamically in Konsole

I like the transparency effect on Konsole, but when I'm in vim I need to focus and it can be distracting. Is there a way to dynamically turn the transparency on and off, depending on whether my current window is in vim? Maybe I could run a script in place of vim that looks like this: set konsole transparency off; vim; set konsole transp...

big problem with libraries and X after texmaker install

Hello... I just had a big problem after installing tekmaker in Debian testing via apt-get. It was suspicious already that it wad re-installing a lot of libraries and even removing packages (!) When I restarted the machine, X windows not working.... Have you any idea of what happened? I googled for a solution but it really seems that i...

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

starting and stopping a daemon at user login logout

I have a daemon script written in ruby which responds to commands like daemon start and daemon stop. It's executable with shebang #!/usr/bin/env ruby and it works invoked from terminal. I need to start the daemon on login and stop it on logout. Background info: KDE, zsh. I already tried to make two separate shell scripts with daemon st...

How does the *NIX GUI work?

I would like to know more about what makes the GUI on *NIX systems work, but not quite sure where to begin the research. From my understanding, the X server is what makes all the visuals possible, and atop that there are the various UI environments like KDE, Gnome and others. But, for instance, I have always thought that running under ...