kde

Is there a way to change some “special” GUI colors in eclipse?

柔情痞子 提交于 2019-12-23 04:22:22
问题 I have on Linux/KDE a installed version of eclipse Mars.2. But there are strong problems with colors. So there is no different between a activated toolbar button and a inactive toolbar button. At example the "Link with editor" button of the "Project Explorer" view has exactly the same background color if the button is selected or not: Another thing is that I cannot see if a checkbox or radio button is selected or not. It seems that the foreground color for the check/radio box selections is

KDE: klipper action script

筅森魡賤 提交于 2019-12-22 16:40:00
问题 So KDE's clipboard manager - klipper - allows one to write a script to be applied to clipboard contents matching regexp. Say, I want klipper to download an image through bash script. Here's a klipper QRegExp: ^http://.*\.(png|svg|gif|jpg|jpeg) I know that this regexp works - klipper notifies me every time I copy image URL to clipboard. Then, here's a bash script #!/bin/bash # let's name it clip.bash name=`basename $1` curl -o ~/Downloads/$name $1 I put this script to the PATH (I tried to feed

QDialog - How to remove the minimize button

主宰稳场 提交于 2019-12-22 09:20:06
问题 Qt 4.8 based, application - Issue with QDialog, minimize button Windows and Gnome (linux) The modal dialog appears with the close button on the right top, and the minimize button is nonexistent . The minimize option are grayed out in every dialog. This makes sense, since the QDialog is modal - if you minimize it, the whole application will be blocked. But here comes the issue: in KDE (linux) the minimize-maximize button appears. It seems that this is a platform dependent feature - I am not

Change Konsole title via Python

跟風遠走 提交于 2019-12-22 08:21:07
问题 How can I change the Konsole title in Python? I found this code: >>> import sys >>> sys.stdout.write("\x1b]2;test\x07") But it only works with Gnome terminal, not Konsole (on Kubuntu). 回答1: I would give "\x1b]0;test\x07" a try (note the 0 instead of 2 ). There is an open bug about Konsole not correctly treating xterm escape sequences; maybe it won't work at all until it is fixed. 回答2: dcop "$KONSOLE_DCOP_SESSION" renameSession "New title here" This should work. You can also run the command

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

倖福魔咒の 提交于 2019-12-21 17:52:39
问题 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 ) determine which desktop a user is on and then interact with X windows in that desktop from a python script. Should I go around and nuke all Microsoft IDE questions

Window placement: WinSplit Revolution -like application for Linux (KDE)? [closed]

℡╲_俬逩灬. 提交于 2019-12-21 12:24:34
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 years ago . What is the WinSplit Revolution -like application for Linux (KDE)? Or maybe there is a functionality in KDE I am missing? 回答1: Tiling is typically a function of the window manager. KWin does not do tiling to my knowledge. There are numerous tiling managers out there though: dwm (C) (( also, what I prefer due to

embedding an application (in this case a terminal) within a QT application

久未见 提交于 2019-12-21 01:25:11
问题 I am writing a QT application and I need to embed a terminal (we say,xterm) within a QDialog, like some KDE application (see kdevelop/kate/...). I've been trying with: - QX11EmbedContainer placed into the QLayout of my QDialog - QProcess for the program I want to excecute I expect the QProcess running within the QX11EmbedContainer, but it does not work. The problem is that I can't put the xterm into the QX11EmbedContainer, the only thing I obtain is an xterm window (unfortunately separated

Qt place new window correctly on screen, center over mouse, move into screen

谁说我不能喝 提交于 2019-12-18 16:56:55
问题 After many months of trying, searching, reviewing code, etc. I'm unable to find a solution to properly positioning a new window in QT. In my most basic case I simply want to get the final size of the window and center it under the mouse. It will be shifted to ensure that no part of the window is outside of the screen. I do not wish to have the window appear then move into position, that produces visual jarring, particularly with desktop FX turned on. The problems I've encountered, not all of

Linux GUI development

和自甴很熟 提交于 2019-12-17 19:16:33
问题 I have a large GUI project that I'd like to port to Linux. What is the most recommended framework to utilize for GUI programming in Linux? Are Frameworks such as KDE / Gnome usable for this objective Or is better to use something more generic other than X? I feel like if I chose one of Gnome or KDE, I'm closing the market out for a chunk of the Linux market who have chosen one over the other. (Yes I know there is overlap) Is there a better way? Or would I have to create 2 complete GUI apps to

Sublime text & Linux-KDE. System locales is set to a value that can not handle non-ASCII characters

自古美人都是妖i 提交于 2019-12-13 04:47:24
问题 I'm getting this error when I open ST3. Package control is not working. Package Control Your system's local is set to a value that can not handle non ASCII characters. Package Control can not properly work unless this is fixed. On Linux, please reference your distribution's docs for on properly setting the LANG environmental variable. As a temporary work-around, you can launch Sublime Text from the terminal with: LANG=en_US.UTF-8 sublime_text The termporary workaround doesn't work. Also, when