我尝试的命令是:
sudo apt-get install screenlets 结果:
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的开罗时钟,但是这个小部件在随机时间间隔之后消失了。外面还有别的东西吗?
发布于 2016-07-22 11:19:15
您可以在16.04上手动构建和安装它,尽管一些小部件已经损坏。为此您将需要Python2.7。
下载源代码包:
使用apt,安装python-漂亮汤,python,python,python
也可以运行以下命令:
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包权限问题,我通过运行以下命令修复了它:
sudo chmod -R go+rX /usr/local/lib/python2.7/dist-packages/https://askubuntu.com/questions/793006
复制相似问题