desktop

Ubuntu各个版本的介绍

夙愿已清 提交于 2020-01-04 07:54:55
Ubuntu各个版本的介绍 Ubuntu的版本比较多,而且基于ubuntu的衍生版也很多,让人容易混淆,也让很多人不知道自己适合哪一个,在这里简单比较一下ubuntu的各个版本的特点:   介绍ubuntu版本之前先说一说与ubuntu有关的一些知识:   Ubuntu的版本号命名规则:   ubuntu的版本命名规则非常简单易记:   前两位数字为发行时的年份年份的最后两位数字,后两位为发行的月份,中间以一个英文小数点隔开。   例如现在ubuntu的最新版是10.10,则代表了是在2010年10月份发行的。   上一个版本是10.04,则代表了是在2010年4月份发行的。   Ubuntu的代号命名   :   Ubuntu的代号名非常有趣可爱,固定是形容词再加上动物名称,而且这个形容词和动物名的英文单词的第一个字母都是相同的。   Ubuntu 4.10 – Warty Warthog (多疣的疣猪)   Ubuntu 5.04 – Hoary Hedgehog (白发的刺猬)   Ubuntu 5.10 – Breezy Badger (活泼的獾)   Ubuntu 6.06 – Dapper Drake (整洁的公鸭)   Ubuntu 6.10 – Edgy Eft (尖利的小蜥蜴)   Ubuntu 7.04 – Feisty Fawn (烦躁不安的小鹿)  

Java/Swing: Desktop.open() causes GTK-ERROR

我是研究僧i 提交于 2020-01-03 16:47:03
问题 I am currently developing a Swing Desktop application. This application is also using a tray icon which is handled by SystemTray of dorkbox. Now I need to open a file with the default application. To achieve this I am using the Desktop.open() method of AWT like this. if (Desktop.isDesktopSupported()) { System.out.println("Get desktop."); Desktop desktop = Desktop.getDesktop(); System.out.println("Got desktop."); desktop.open(file); } But now here comes the problem: On some devices (which

how to change desktop screen resolution

蓝咒 提交于 2020-01-03 06:04:31
问题 I want to change screen resolution with c# code in desktop application. 回答1: This is a similar question to "I want to change the clock" or "I want to change the user password" or "I want to change the Windows theme". An application program has no business making such system configuration changes, accordingly it isn't wrapped by the .NET framework. You can do it, but it will require P/Invoke. Use ChangeDisplaySettingsEx(). Not exactly easy to use, nor very safe to use. Lots of LCD panels only

Linux基础之用户管理

大城市里の小女人 提交于 2020-01-03 03:27:06
文章目录 一、用户及用户组存在的意义 1、用户 2、组 二、用户在系统中的存储方式 三、用户涉及到的配置文件及内容 四、用户信息的查看 五、用户身份的切换方式及环境变量 1、图形中的注销命令 2、su 和 su - 六、用户及用户组的建立及删除 1、用户组 2、用户 七、用户及用户组的信息管理 1、用户组 2、用户 八、用户认证文件 九、用户认证管理 1、passwd 2、chage 十、用户权力的下放 一、用户及用户组存在的意义 1、用户 用户是操作者在系统中的身份标识 意义:用户的存在为了限制权限。 2、组 组是逻辑概念,是用户的集合 意义:组的存在为了归类用户,便于管理权限。 二、用户在系统中的存储方式 用户在系统中就是文件中的字符串,每个字符串映射了该用户所用到的系统资源。 三、用户涉及到的配置文件及内容 配置文件 内容 /etc/passwd 用户信息库 /etc/group 组信息库 /home/用户同名目录 默认用户家目录 /etc/skel/所有文件 用户环境配置文件模板 /etc/shadow 用户认证信息 /etc/gshadow 组认证信息 四、用户信息的查看 id:查看指定用户id信息 id 含义 0 超级用户id 1-999 系统用户id 1000-65535 普通用户id id 命令的常用参数: 参数 含义 -u 查看用户的uid -g 查看用户的gid

Opening sockets to the Xserver directly

孤街醉人 提交于 2020-01-02 11:23:24
问题 I'm looking to understand how Linux Desktop Environments work with Xserver. I was reading that most window managers don't open sockets directly, instead they use either Xlib bindings for which ever language the WM is being written or you can use higher level bindings XCB; but i would like to know What are the advantages to opening a socket directly to the Xserver? 回答1: The question should rather be "What are the advantages of using Xlib instead of a graphical toolkit like gtk"? Even to master

Opening sockets to the Xserver directly

送分小仙女□ 提交于 2020-01-02 11:20:17
问题 I'm looking to understand how Linux Desktop Environments work with Xserver. I was reading that most window managers don't open sockets directly, instead they use either Xlib bindings for which ever language the WM is being written or you can use higher level bindings XCB; but i would like to know What are the advantages to opening a socket directly to the Xserver? 回答1: The question should rather be "What are the advantages of using Xlib instead of a graphical toolkit like gtk"? Even to master

Is Python on every GNU/Linux distribution?

会有一股神秘感。 提交于 2020-01-02 06:10:17
问题 I would like to know if is Python on every G/L distribution preinstalled or not. And why is it so popular on GNU/Linux and not so much on Windows? 回答1: Well python does not come on ALL GNU/Linux distros but is present on most of the popular Linux home user distributions (Ubuntu and Fedora Core for example), possibly because most of the application of Gnome desktop environment and KDE use python 2.5+ (not python 3 yet) interpreters. Since python is almost integrated onto the system/environment

How to give focus to default program of shell-opened file, from Java?

假装没事ソ 提交于 2020-01-02 05:25:12
问题 From within Java, I am opening an Excel file with the default file handler (MS Excel, in this case :-) ) using the method described in this stackoverflow question: Desktop dt = Desktop.getDesktop(); dt.open(new File(filename)); However, the Excel program doesn't get the focus. Is there any easy way to do so? Edit: There is a related stackoverflow question for C#, but I didn't find any similar Java method. Edit 2: I've did some simple tests, and discovered that Excel starts and gets the focus

Problem with Java 1.6 and Desktop.open()

梦想的初衷 提交于 2020-01-02 03:27:05
问题 I've been using Destop.open() to launch a .pdf viewer on Windows machines, both Vista and XP, and most of them work just fine. However, on one XP machine the call does not work, simply returning without throwing any exceptions, and the viewer does not launch. On that machine the file association is properly set up as far as I can tell: double-clicking a .pdf works, as does the "start xxx.pdf" command on the command prompt. I'm thinking it must be a Windows configuration issue, but can't put

[*丁辉*看] 怎样让你的 WinXP 快速启动和关闭 ?

China☆狼群 提交于 2020-01-01 23:05:34
WindowsXP快速开机的办法 1、加快开关机速度 在Windows XP中关机时,系统会发送消息到运行程序和远程服务器,告诉它们系统要关闭,并等待接到回应后系统才开始关机。加快开机速度,可以先设置自动结束任务,首先找到HKEY_CURRENT_USER/Control Panel/Desktop,把AutoEndTasks的键值设置为1;然后在该分支下有个“HungAppTimeout”,把它的值改为“4000(或更少),默认为50000;最后再找到HKEY_LOCAL_MACHINE/System/CurrentControlSet/Control,同样把WaitToKillServiceTimeout设置为“4000”;通过这样设置关机速度明显快了不少。 2、优化硬件 如果你家里没有多余的USB设备,请在“设备管理器---通用串行总线控制器”中将所有的USB设备禁用。此法可以让你的XP开机时间减少约十五秒。 同样,如果你家只有一块硬盘或光驱,可以在“设备管理器---IDE ATA/ATAPI控制器”中把“主/次要IDE通道---高级设置”中的“设备1---设备类型”设置为无。 3、优化视觉效果 大家知道,在Windows XP在菜单效果方面比起win9x等兄弟可以说是非常漂亮了,不过对于小内存用户来说,太华丽了,太占内存了,(偶的256MB内存也只能是基本满足需要~~~~~