首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在Ubuntu16.04中工作的屏幕(只需要模拟时钟小部件)

无法在Ubuntu16.04中工作的屏幕(只需要模拟时钟小部件)
EN

Ask Ubuntu用户
提问于 2016-06-30 05:48:16
回答 1查看 4.9K关注 0票数 2

我尝试的命令是:

代码语言:javascript
复制
sudo apt-get install screenlets 

结果:

代码语言:javascript
复制
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package screenlets is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source

还有其他方法来安装它吗?我试着使用MacSlow的开罗时钟,但是这个小部件在随机时间间隔之后消失了。外面还有别的东西吗?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2016-07-22 11:19:15

您可以在16.04上手动构建和安装它,尽管一些小部件已经损坏。为此您将需要Python2.7。

下载源代码包:

  1. 筛芯
  2. Screenlets Widget Pack

使用apt,安装python-漂亮汤,python,python,python

  1. 在两个提取的路径中运行make。
  2. 运行屏幕

也可以运行以下命令:

代码语言:javascript
复制
sudo apt install python-beautifulsoup python-wnck python-vte python-tz
cd /tmp
wget -O - https://launchpad.net/screenlets/trunk/0.1.6/+download/screenlets-0.1.6.tar.bz2 | bunzip2 -c - | tar xf -
wget -O - https://launchpad.net/indiv-screenlets/trunk/0.1.6/+download/indiv-screenlets-0.1.6.tar.bz2 | bunzip2 -c - | tar xf -
cd screenlets-0.1.6
sudo make install
cd ../indiv-screenlets-0.1.6
sudo make install
screenlets &

注意:您可能会遇到Python包权限问题,我通过运行以下命令修复了它:

代码语言:javascript
复制
sudo chmod -R go+rX /usr/local/lib/python2.7/dist-packages/
票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/793006

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档