Questions tagged [kde4]
45 questions
2
votes
0 answers
What is the proper way to identify screen, plasmoid is running on?
Currently I'm developing KDE Plasma/Wallpaper plugin with D-Bus interface(small learning project). I have multi-monitor setup and would like to be able to address each D-Bus Plasma/Wallpaper instance independently(running on different monitors or…

zeronineseven
- 129
- 2
- 6
2
votes
1 answer
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…

Averrin
- 21
- 2
2
votes
1 answer
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,…

Peter
- 971
- 8
- 15
2
votes
1 answer
Python - send KDE knotify message with cron job on linux?
I'm trying to send a notification to KDE's knotify from a cron job. The code below works fine but when I run it as a cron job the notification doesnt appear.
#!/usr/bin/python2
import dbus
import gobject
album = "album"
artist = "artist"
title =…

James
- 241
- 3
- 13
2
votes
2 answers
In Pyqt, how do I enable dragging/moving windows by the empty widget space?
Main Qt apps, and AFAIK most KDE apps let you drag windows around not just by their titlebar, but using any empty space on the window. For some reason, a basic Pyqt app like this doesn't appear to let you do that:
from PyQt4.QtGui import *
import…

Ken Kinder
- 12,654
- 6
- 50
- 70
1
vote
2 answers
How to put an image from python to klipper?
Using python, one can read in an image:
from PIL import Image, ImageTk
image = Image.open("test.jpg")
Then one can write to klipper in the following way:
import dbus
bus = dbus.SessionBus()
proxy = bus.get_object("org.kde.klipper","/klipper")
iface…

Adobe
- 12,967
- 10
- 85
- 126
1
vote
1 answer
Missing FindKDE4Internal.cmake module
I have trouble compiling KDE aurorae designer with the following error :
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/user/.kde/share/apps;/usr/share/kde4/apps
Apparently because I haven't this module FindKDE4Internal.cmake…

Parsa Mousavi
- 1,052
- 1
- 13
- 31
1
vote
0 answers
change default service preference for application/xml global
Background:
KDE4
global change application/xml (all users)
For application xml in "services preference order" the default
is that konqueror use "KHTML (khtml)" profile (see service preference order) on top in local provice file associations.
But…

Pinguin_12
- 11
- 3
1
vote
2 answers
parse ACDSee categories
How could one parse a xml-like string and convert it a separated list?
I am trying to convert the following string:
6 Level
6.2 Level
…

asp
- 139
- 6
1
vote
1 answer
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…

Moomin
- 1,846
- 5
- 29
- 47
1
vote
1 answer
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…

Moomin
- 1,846
- 5
- 29
- 47
1
vote
2 answers
How to type Numpad Enter, if there's no such key on the keyboard?
I'm working with an ancient platform emulator, so sometimes I need to press Numpad Enter, but my notebook keyboard has no options for doing that. Is is possible to emulate Numpad Enter key somehow? I don't mind if the solution is clumsy.

Andrey Moiseev
- 3,914
- 7
- 48
- 64
1
vote
1 answer
KDE for Windows (7): non-resizable dialogs
the problem: I have to use win7 currently, but I want to use Umbrello UML. Now I have installed the KDE for Windows port and the tool is running. But if there high dialogs poping up or other windows that are not resizeable it could happen that I do…

Jens Peters
- 2,075
- 1
- 22
- 30
1
vote
1 answer
"argument 1 has unexpected type 'str'"
I'm trying to use PyKDE, PyKDE.kdecore.KStandardDirs to be precise. This method is called with two strings according to the documentation and according to the PyQt4 documentation, I can use standard Python strs instead of QString.
This doesn't…

Nova
- 2,623
- 4
- 26
- 45
1
vote
2 answers
Use dolphin (or other browser) like yakuake
I often want to open a file browser to open a file and then close the browser.
Is there a way (a plasmoid, a dolphin plugin, another browser...) which could allow me to have a file browser "in the style of" yakuake? (i.e. unfolding with a shortcut,…

Yves Parès
- 581
- 5
- 14