kde

从ubuntu-gnome切换到opensuse-gnome

独自空忆成欢 提交于 2019-12-03 14:17:22
为什么打算去装opensuse了 说实在的机缘巧合,我去听了一个在北邮举办的openstack讲座。讲座结束时,组织者给每个人发了一张opensuse-amd64的DVD光盘。昨天实在忍受不了我那ubuntu13.04的机器老死机了。弄了个ubuntu12.04的U盘安装盘,不明白怎么回事,到了安装到grub的时候,莫名其妙的出来了一句warning,然后安装就失败了。真是无比郁闷。我试着修理了下 fdisk -l 查看安装到的分区,然后 sudo mount /dev/sdaX /mnt grub-install --root-directory=/mnt /dev/sda 反正最后没修好。我放弃了,然后拿了我那个opensuse的DVD安装盘试试运气。 安装进行的出奇的顺利。接着我就进入了opensuse的世界。 它与ubuntu有哪里不同 下面的观点可能有点偏激,不过这是我的切身感受 先说下linux程序员需要什么样的系统 稳定(我曾很多次被ubuntu13.04给搞死,对此我有切身体会) 好用的控制台(因为控制台在linux下,那就是一切) 简洁到刚刚够用的桌面 opensuse带给了我什么感受了呢? 要说的是它的页面太简洁了,到底能简洁到什么程度呢? 它的桌面传奇到整个屏幕上方的只有一个状态栏。桌面上只有背景图片,根本就找不到什么文件夹,快捷方式,我的电脑

Change konsole tab title from command line and make it persistent?

江枫思渺然 提交于 2019-12-03 12:17:55
How can I change the konsole tab title? By default, it's set to %u : %n , so it always changes automatically. I can set it with: qdbus org.kde.konsole $KONSOLE_DBUS_SESSION setTitle 1 "My Title" But as soon as you run something in the console, it changes back to %u : %n . Of course. I can set it to %w to tell it to set the title to "Window Title set by shell", but later (if I don't explicitly set it), it will be empty. (Every new tab will be empty, unless I set it.) The question is how to make it persistent (or how to switch profile via command line)? I can make another profile in which the

《CMake实践》笔记一:PROJECT/MESSAGE/ADD_EXECUTABLE

房东的猫 提交于 2019-12-03 08:03:43
《CMake实践》笔记一:PROJECT/MESSAGE/ADD_EXECUTABLE 《CMake实践》笔记二:INSTALL/CMAKE_INSTALL_PREFIX 《CMake实践》笔记三:构建静态库与动态库 及 如何使用外部共享库和头文件 前言: 开发了5,6年的时间,如果没有KDE4,也许不会有人或者Linux发行版本重视cmake,因为除了Kitware似乎没有人使用它。通过KDE4的选型和开发,cmake逐渐进入了人们的视线,在实际的使用过程中,cmake的优势也逐渐的被大家所认识,至少KDE的开发者们给予了cmake极高的评价,同时庞大的KDE项目使用cmake来作为构建工具也证明了cmake的可用性和大项目管理能力。 所以,cmake应该感谢KDE,也正因为如此,cmake的开发者投入了KDE从autotools到cmake的迁移过程中,并相当快速和顺利的完成了迁移,现在整个KDE4开发版本全部使用cmake构建。 这也是促使我们学习cmake的原因,首先cmake被接受并成功应用,其次,cmake的优势在实际使用中不断的体现出来。 我们为什么不来认识一下这款优秀的工程构建工具呢? 在2006年KDE大会,听cmake开发者当面介绍了cmake之后,我就开始关注cmake,并将cmake纳入了Everest发行版,作为系统默认组件。最近QT-4

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

寵の児 提交于 2019-12-03 07:53:01
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 from my QDialog). Does anybody got the same problem? Sorry, I've tried your solution before posting oh

CENTOS_安装KDE或GNOME

孤人 提交于 2019-12-03 06:14:29
Centos安装KDE #yum grouplist #yum groupinstall "X Window System" #yum groupinstall "GNOME Desktop Environment" 或 #yum groupinstall "KDE Desktop Environment" 1.察看是否安装了桌面系统 察看方法: 使用yum察看 代码:# yum grouplist # yum grouplist |more ← 如果输出太长,可以使用“|more”分页显示。 # yum grouplist >> test ← 把输出结果倒入一个特定的文件,进行察看。 在grouplist的输出结果中的“Installed Groups:”部分中, 如果你能找到“X Window System”和“GNOME Desktop Environment或 KDE (K Desktop Environment)或XFCE-4.4”的话,证明你安装了桌面环境。 2.安装了。启动桌面系统 通过(1)的操作,察看到你安装了桌面系统,那么通过下面的命令启动它。 命令: 代码:# startx ←启动X系统 如果无法启动,并且屏幕停住不动,不出现“#或$” 提示符, 就按键盘上的“Alt + F1或F2或F3……”切换虚拟终端登入到系统, 进入错误排除。比如分辨率的设置

How to set my application's desktop icon for Linux: KDE, Gnome etc?

ぐ巨炮叔叔 提交于 2019-12-03 03:17:44
I have a cross platform program that runs on Windows, Linux and Macintosh. My windows version has an Icon but I don't know how to make have one for my Linux build. Is there a standard format for KDE, Gnome etc. or will I have to do something special for each one? My app is in c++ and distributed as source so the end user will compile it with gcc. If I can have the icon embedded directly inside my exe binary that would be the best. For Gnome and Kde, you would probably want to include a desktop file with your app that defines how it will be launched. The specification can be found here . If you

Debian安装KDE图形界面

限于喜欢 提交于 2019-12-03 02:10:11
apt-get update #更新源 apt-get -u install x-window-system-core #安装X-Window的系统核心文件,在配置时请按照提示进行。如果X窗口启动不成功,可以运行dpkg-reconfigure xfree86-common重新进行配置。 apt-get -u install gdm gdm-themes #安装图形化登录窗口及窗口主题(之所以用gdm而不用kdm的主要原因是因为gdm配置更方便) apt-get -u install kde-core kde-i18n-zhcn #安装KDE核心文件及简体中文语言环境支持,这样就重启之后就可以使用KDE桌面系统了 若要安装Gnome,将 kde-core更改为Gnome-core就可以了。 来源: oschina 链接: https://my.oschina.net/u/1420/blog/16186

Why do stat_density (R; ggplot2) and gaussian_kde (Python; scipy) differ?

不想你离开。 提交于 2019-12-02 14:08:08
问题 I am attempting to produce a KDE based PDF estimate on a series of distributions that may not be normally distributed. I like the way ggplot's stat_density in R seems to recognize every incremental bump in frequency, but cannot replicate this via Python's scipy-stats-gaussian_kde method, which seems to oversmooth. I have set up my R code as follows: ggplot(test, aes(x=Val, color = as.factor(Class), group=as.factor(Class))) + stat_density(geom='line',kernel='gaussian',bw='nrd0' #nrd0=

如何在Ubuntu12.04上安装KDE

[亡魂溺海] 提交于 2019-12-02 06:38:36
KDE是一个流行的GUN/Linux用户窗口管理器,KDE的爱好者专有的Ubuntu称为Kubuntu,不过只是基于ubuntu核心和kde套件的滋生版。 如果你安装了Ubuntu 12.04 LTS(默认安装Unity),如果你不喜欢Unity或Gnome界面,那么KDE KDE可能是你理想的选择。它简单,优雅,容易上手,并捆绑了很酷的应用程序。建议从windows迁移过来的初学者使用KDE,因为KDE和Windows有点类似。 下面是些KDE绑定的应用程序——Dolphin 文件浏览器(轻量级、快速)Konqueror浏览器,看起来很酷的Plasma桌面主题,Kmail(KDE桌面默认的电子邮件客户端),Kate(像gedit的文本编辑器),K3b(最好的光盘刻录程序)等。 在Ubuntu 12.04 LTS 上安装 KDE 如果你要安装KDE的标准程序集那么执行- sudo apt-get install kde-standard 另一选择 全部的包/应用程序-(这可能需要更长时间-如果你的网速不够快,那就试试上面那个) sudo apt-get install kde-full 好久不用ubuntu,没试过上面两条命令还能正确完成工作吗?如果不能用, 试下 javatest 提供的: sudo apt-get install kubuntu-desktop

Why do stat_density (R; ggplot2) and gaussian_kde (Python; scipy) differ?

孤街浪徒 提交于 2019-12-02 05:50:35
I am attempting to produce a KDE based PDF estimate on a series of distributions that may not be normally distributed. I like the way ggplot's stat_density in R seems to recognize every incremental bump in frequency, but cannot replicate this via Python's scipy-stats-gaussian_kde method, which seems to oversmooth. I have set up my R code as follows: ggplot(test, aes(x=Val, color = as.factor(Class), group=as.factor(Class))) + stat_density(geom='line',kernel='gaussian',bw='nrd0' #nrd0='Silverman' ,size=1,position='identity') And my python code is: kde = stats.gaussian_kde(data.ravel()) kde.set