小编use*_*784的帖子

为什么 powertop 仍然检测 >12.04 上的可调设置?

根据这个问答,ubuntu 12.04 不再需要笔记本电脑模式工具和 powertop,因为现在内核中包含了节能功能。

所以我决定从我的笔记本电脑中删除笔记本电脑模式工具,因为它会导致我的笔记本电脑在使用电池时在关机时挂起,并且据说不会对功耗产生任何影响。

但是当我在删除笔记本模式工具后检查 powertop 时,我注意到实际上一些“可调参数”在笔记本模式仍然打开的情况下从“好”变成了“坏”。

Bad           VM writeback timeout                                                                                   
Bad           Runtime PM for PCI Device Fresco Logic FL1000G USB 3.0 Host Controller
Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller
Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1
Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port …
Run Code Online (Sandbox Code Playgroud)

kernel laptop power-management 12.04

15
推荐指数
1
解决办法
4215
查看次数

Clementine 不播放名称中包含某些字符的文件

上周我用morituri和rhythmbox翻录了一些CD。除了一张CD外,一切似乎都很好。几首曲目后,我在用 morituri 翻录(到 FLAC)时遇到了一些奇怪的错误,所以我用 rhythmbox 翻录了那张 cd 的其余部分。

之后 Clementine 无法播放我从 cd 中翻录的曲目(以及那些用 morituri 翻录的曲目和那些用节奏盒翻录的曲目)。克莱门汀表现得好像它们不在我的图书馆里一样。然而,有了 Rhythmbox,我可以完美地播放所有曲目。

我从朋友那里得到的一些 mp3 文件确实有同样的问题。我可以在 Rhythmbox 中播放它们,但 Clementine 表现得好像它们不存在一样。

我如何让它再次正常工作?我已经尝试重新安装它,删除配置文件,从 repos 中删除安装的那个并从 www.clementine-player.org 安装最新版本

注意:Clementine 可以完美地播放我翻录的其他 cd 以及我的音乐库的其余部分(主要是 FLAC,有些文件是 mp3)。

我不知道我可以提供哪些额外信息,但请随时询问。

编辑:在终端中运行 clementine 然后尝试播放“有问题”的曲目之一时,我收到以下消息:

11:36:48.542 INFO  MoodbarLoader:144                Creating moodbar data for "/home/user138784/Music/Stromae/Racine Carrée/01.Ta fête.flac" 
11:36:48.546 ERROR MoodbarPipeline:134              Error processing  QUrl( "file:///home/user138784/Music/Stromae/Racine Carrée/01.Ta fête.flac" )  : "Resource not found." 
11:36:48.546 ERROR MoodbarPipeline:134              Error processing  QUrl( "file:///home/user138784/Music/Stromae/Racine Carrée/01.Ta fête.flac" )  : "Resource not found." 
11:36:48.571 ERROR GstEnginePipeline:563            2 …
Run Code Online (Sandbox Code Playgroud)

music utf-8 locale clementine

7
推荐指数
1
解决办法
3114
查看次数

切换自动隐藏统一启动器的键盘快捷键

我想创建一个键盘快捷键来切换单位启动器的自动隐藏选项。基于如何以编程方式更改启动器隐藏行为的答案,我尝试制作一个 python 脚本来完成这项工作。然后我应该弄清楚如何使用键盘快捷键运行它。

我的脚本如下所示:

#!/bin/python
AUTOHIDE=$(dconf read /org/compiz/profiles/unity/plugins/unityshell/launcher-hide-mode)
if (AUTOHIDE==1):
   dconf write /org/compiz/profiles/unity/plugins/unityshell/launcher-hide-mode 0
else:
    dconf write /org/compiz/profiles/unity/plugins/unityshell/launcher-hide-mode 1
Run Code Online (Sandbox Code Playgroud)

但是从终端运行脚本(执行 'python scriptname.py' )不起作用。我在 $ 符号处收到“无效语法”错误。

您必须知道我几乎不了解 Python(或一般编写脚本)。(我刚刚花了几个小时在网上搜索帮助和示例)。

所以实际问题:

  • 我做错了什么?
  • 我是否为此选择了一种复杂的方法,在这种情况下我怎样才能更轻松地做到这一点?

python shortcut-keys launcher

6
推荐指数
1
解决办法
2273
查看次数

如何保护 Ubuntu12.10 免受病毒、间谍软件、垃圾邮件和入侵者的侵害?

我已经使用 Windows 操作系统很长时间了,我需要安装一个单独的防病毒程序(包含在防火墙、反垃圾邮件中)等。

在我导师的推荐下,我用 Ubuntu12.10 64 位替换了 Windows。我真的很喜欢这个系统。它比 Windows 操作系统更好。

我是一名 Java 开发人员,所以我需要安装 Apache tomcat、JBoss 和 Glassfish 以及 MySQL。对于我的工作要求,我需要在上面搜索 Java Develoment 并最终进入许多博客。

我一直在寻找保护 Ubuntu,但他们最终都配置了防火墙。我真的不知道如何根据我的要求配置防火墙。我是否还需要在 Ubuntu 上安装防病毒程序。

任何人都可以指导我如何保护 Ubuntu 12.10 64 位系统。

你的建议对我很重要。

security firewall java apache2

5
推荐指数
2
解决办法
612
查看次数