当我想在 Ubuntu/Debian 中从源代码编译某些东西时,我通常通过sudo apt-get build-dep PACKAGE_NAME在终端中运行“ ”来获得构建依赖项。
一旦编译工作完成,它们(通常)就无用了。
那么,如何删除特定包的所有构建依赖项?
Linux Mint Cinnamon 1.4 与“MDM 显示管理器”一起发布。它基于 GDM2.20 的代码。它提供:
并且它具有比目前可用的任何其他显示管理器更多的功能。
(MDM)
那么如何在 Ubuntu 上使用 MDM 而不是 LightDM 呢?
我想irc://从铬打开pidgin 中的链接。
当我登录到在终端中irc.freenode.net运行的 irc server( )purple-url-handler irc://irc.freenode.net/#ubuntu时工作正常。
但是,当我单击 Chrome 中的相同链接(xdg-open用于打开irc://链接)时,它什么也不做。知道如何做到这一点吗?
我正在使用 Ubuntu 12.04。
我已经写了一个关闭脚本进行传输。在 torrent 下载完成后,传输会调用脚本。该脚本在我的机器上完美运行(Ubuntu 11.04 和 12.04)。
#!/bin/bash
sleep 300s
# default display on current host
DISPLAY=:0.0
# find out if monitor is on. Default timeout can be configured from screensaver/Power configuration.
STATUS=`xset -display $DISPLAY -q | grep 'Monitor'`
echo $STATUS
if [ "$STATUS" == " Monitor is On" ]
### Then check if its still downloading a torrent. Couldn't figure out how.(May be) by monitoring network downstream activity?
then
notify-send "Downloads Complete" "Exiting transmisssion now"
pkill transmission
else
notify-send "Downloads …Run Code Online (Sandbox Code Playgroud)