kde

How do I force/get to use GTKLookAndFeel in Java on KDE?

爱⌒轻易说出口 提交于 2019-12-05 13:00:30
First of all, using gnome is not an option (but it is possible to install its libraries). I need to know what is necessary to display a Java Swing desktop application using the current installed KDE look and feel of KDE. Ideally, the solution should allow me to apply a look and feel that looks like the underlying windowing system (ie: Windows LNF for Windows, GTK LNF for Gnome(GTK), QT LNF for KDE (QT), the default one for other platforms). Under KDE, you can configure it to use the current KDE theme for GTK applications, too. So, if the solution works with GTK it is fine. When I run the

KDE 4.8.4 on Ubuntu 12.04 LTS

本秂侑毒 提交于 2019-12-05 08:32:26
已经用Ubuntu一年多了,个人认为KDE在Ubuntu下还是不错的桌面环境,进来对KDE产生了特别的情怀,截了一些图给大家看看...... 图1 - KDE 4.8.4 笔记本截面 图2 - KDE 4.8.4 下运行 SageMath 4.8(1) 图3 - KDE 4.8.4 下运行 SageMath 4.8(2) 图4 - KDE 4.8.4 下运行 K3DSurf 图5 - KDE 4.8.4 (无比清爽) 图6 – Ubuntu 12.04 LTS 下运行“深度音乐播放器”(1) 图7 – Ubuntu 12.04 LTS 下运行“深度音乐播放器”(2) 图8 – KDE 应用程序 图9 – 开发工具 图10 – 办公工具 图11 – KDE特效(1) 图12 – KDE特效(2) 图13 – KDE特效(3) 图14 – KDE特效(4) 图15 – KDE特效(5) 图16 – KDE 4.8.4 默认界面模式 图17 – 关于 KDE 4.8.4 图18 – KDE 4.8 The Choice is Yous! 来源: oschina 链接: https://my.oschina.net/u/127271/blog/77612

Integrating SVN with kwallet

冷暖自知 提交于 2019-12-05 00:10:17
I can't for my life make SVN read the password stored at kwallet and use it to stop asking when I do anything. Google has not helped finding the answer, so I turn back to you. I'm running right now Kubuntu 16.04 fully upgraded, SVN is version 1.9.3 (r1718519), and it says that it has support for KWALLET The following authentication credential caches are available: * Plaintext cache in /home/ssol/.subversion * Gnome Keyring * GPG-Agent * KWallet (KDE) My .subversion/config has the following configuration: [auth] password-stores = kwallet My .subversion/servers has the following configuration:

Native KDE look for Qt 5 app

自闭症网瘾萝莉.ら 提交于 2019-12-04 22:30:37
I installed Qt5 along with Qt4 on my Kubuntu 12.10 linux machine and noticed the following: Program compiled with Qt4 has native KDE look and feel. I use default KDE's Oxygen theme and so does my program (note smooth gradient with title and blue selection of focused widget); But when recompiled with Qt5 without any changes to code , it uses different style (seems like it is called Fusion ) and it looks awkward and out-of-place (see right pic) What I want is pretty straitforward: I want my app to fit surrounding system, i.e. look native always. When using Qt4, I'm used to having this by default

How to load default settings with KConfig on kdelib?

对着背影说爱祢 提交于 2019-12-04 21:08:25
I've a question about KConfig usage. I'm able to write and read settings in my .kde4/share/config/_appname_rc configuration file like that KConfig basicconf; KConfigGroup conf = KConfigGroup(basicconf.group("Settings")); conf.writeEntry("filepath",QString("/path/")); basicconf.sync(); But I don't understand how to use a "default" configuration file to read at first time i run my application, or in case if application settings needs reset. I prefer do not use KConfig XT because my project is tiny and KConfigXT with kcfgc* files seems excessive. Thank you in advance First, this: KConfigGroup

CentOS 7.4 安装后优化配置

陌路散爱 提交于 2019-12-04 17:21:37
CentOS 7.4 安装后优化配置 1.网卡 [root@zhg1 ~]# vim /etc/sysconfig/network-scripts/ifcfg-ens32 显示结果: TYPE="Ethernet" BOOTPROTO="static" NAME="ens32" DEVICE="ens32" ONBOOT="yes" IPADDR="192.168.6.80" PREFIX="24" GATEWAY="192.168.6.1" DNS1="114.114.114.114" [root@zhg1 ~]# service network restart 或者 [root@zhg1 ~]# systemctl restart network.service 2.防火墙 [root@zhg1 ~]# systemctl disable firewalld.service 3.selinux [root@zhg1 ~]# vim /etc/selinux/config 更改内容:将SELINUX=后面的内容改为disabled(需要重启) 4.YUM [root@zhg1 ~]# cd /etc/yum.repos.d/ [root@zhg1 ~]# mv CentOS-Base.repo{,.bak} [root@zhg1 ~]# vim CentOS-Media.repo

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

99封情书 提交于 2019-12-04 10:23:12
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 as not programming related? How about Win32 "programming" questions? Should I try to close those too?

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

懵懂的女人 提交于 2019-12-04 06:40:22
Closed. This question is off-topic. It is not currently accepting answers. Learn more . 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? 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 simplicity )) xmonad (haskell) awesome (i think lua, based off dwm) wmii (C) (( "big brother"

How does the *NIX GUI work?

六眼飞鱼酱① 提交于 2019-12-04 05:15:20
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 certain UI environments restricted you to programs that utilize that environment, until I realized I'm able to use KDE utilities and software under Gnome and vice versa, which retain the look of their native environment. What would be a good place to start

How can I find the selected item in a QTreeWidget?

陌路散爱 提交于 2019-12-03 15:22:56
I have a class that inherits QTreeWidget. How can I find the currently selected row? Usually I connect signals to slots this way: connect(myButton, SIGNAL(triggered(bool)), this, SLOT(myClick())); However, I can't find anything similar for QTreeWidget->QTreeWidgetItem . The only way I found is to redefine the mousePressEvent of the QTreeWidget class like this: void MyQTreeWidget::mousePressEvent(QMouseEvent *e){ QTreeView::mousePressEvent(e); const QModelIndex index = indexAt(e->pos()); if (!index.isValid()) { const Qt::KeyboardModifiers modifiers = QApplication::keyboardModifiers(); if (!