Debian系列Linux/Ubuntu 安装软件


wps(http://community.wps.cn/download/)

优客天气(https://launchpad.net/indicator-china-weather/+download)

Classic Menu Indicator 是一款老版 GNOME 小程序。(Ubuntu 11.10 的默认程序之一)。如果你不喜欢 Unity Dash,经典 GNOME 风格的应用程序菜单可能适合你。最新的版本是Classic Menu Indicator 0.10,近日发布。

Classic Menu Indicator 0.10 变化:

ported to GTK3, Python3
Ubuntu Software Center in main menu
custom logo icon support
new preference window allows to change menu definitions, icons, and other settings.
show wine applications, and even Android apps for me.
various fixes and translation updates

class menu

安装 PPA 命令:

sudo add-apt-repository ppa:diesch/testing
sudo apt-get update
sudo apt-get install classicmenu-indicator

卸载 classicmenu-indicator 命令:

sudo apt-get remove classicmenu-indicator

Indicator小程序是非常有用的,提供了一些快捷的操作和信息,为Ubuntu的整体的体验发挥了很大的作用。这里介绍10个非常有用的Indicator小程序。

大开眼界:Ubuntu下10个厉害的Indicator小程序

  1. Weather Indicator Applet (天气预报)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo apt-get install indicator-weather

  1. ClassicMenu:经典的GNOME2菜单

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo apt-add-repository ppa:diesch/testing

sudo apt-get update

sudo apt-get install classicmenu-indicator

  1. Ubuntu One(Ubuntu提供的类似网盘的服务)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo add-apt-repository ppa:rye/ubuntuone-extras

sudo apt-get update

sudo apt-get install indicator-ubuntuone

  1. System Load Indicator ( 系统状态指示器)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo add-apt-repository ppa:indicator-multiload/stable-daily

sudo apt-get update

sudo apt-get install indicator-multiload

  1. Touchpad Indicator (触摸板开关)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo add-apt-repository ppa:atareao/atareao

sudo apt-get update

sudo apt-get install touchpad-indicator

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo apt-add-repository ppa:iaz/battery-status

sudo apt-get update

sudo apt-get install battery-status

运行:

/usr/lib/battery-status/battery-status –indicator

  1. Workspaces Indicator (快速切换工作区)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo add-apt-repository ppa:geod/ppa-geod

sudo apt-get update

sudo apt-get install indicator-workspaces

  1. Keylock Application Indicator (显示大写键状态)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo add-apt-repository ppa:tsbarnes/indicator-keylock

sudo apt-get update

sudo apt-get install indicator-keylock

  1. Caffeine Application Indicator (防止启动屏保和省电模式)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo add-apt-repository ppa:caffeine-developers/ppa

sudo apt-get update

sudo apt-get install caffeine

  1. Pastie Clipboard Manager Indicator (剪贴板管理工具)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo add-apt-repository ppa:hel-sheep/pastie

sudo apt-get update

sudo apt-get install pastie

这10个建议执行起来十分简单方便,那就让我们开始吧!

  1. 安装 TLP

我们不久前涉及到了TLP, 这是一款优化电源设置的软件,可以让你享受更长的电池寿命。之前我们深入的探讨过TLP, 并且我们也在列表中提到这软件真不错。要安装它,在终端运行以下命令:

sudo add-apt-repository -y ppa:linrunner/tlp && sudo apt-get update && sudo apt-get install -y tlp tlp-rdw tp-smapi-dkms acpi-call-tools && sudo tlp start

上面的命令将添加必要的仓库,更新包的列表以便它能包含被新仓库提供的包,安装TLP并且开启这个服务。

  1. 系统负载指示器

给你的Ubuntu桌面添加一个系统负载指示器能让你快速了解到你的系统资源占用率。 如果你不想在桌面上添加这个技术图表,那么可以不要添加, 但是对于那些对它感兴趣的人来说,这个扩展真是很好。 你可以运行这个命令去安装它:

sudo apt-get install indicator-multiload

然后在Dash里面找到它并且打开。

  1. 天气指示器

Ubuntu过去提供内置的天气指示器,但是自从它切换到Gnome 3以后,就不再默认提供了。你需要安装一个独立的指示器来代替。 你可以通过以下命令安装它:

sudo add-apt-repository -y ppa:atareao/atareao && sudo apt-get update && sudo apt-get install -y my-weather-indicator

这将添加另外一个仓库,更新包的列表,并且安装这个指示器。然后在Dash里面找到并开启它。

  1. 安装 Dropbox 或其他云存储解决方案

我在我所有的Linux系统里面都安装过的一个软件,那就是Dropbox。没有它,真的就找不到家的感觉,主要是因为我所有经常使用的文件都储存在Dropbox中。安装Dropbox非常直截了当,但是要花点时间执行一个简单的命令。 在开始之前,为了你能在系统托盘里看到Dropbox的图标,你需要运行这个命令:

sudo apt-get install libappindicator1

然后你需要去Dropbox的下载页面,接着安装你已下载的.deb文件。现在你的Dropbox应该已经运行了。

如果你有点讨厌Dropbox, 你也可以尝试使用Copy 或者OneDrive。两者提供更多免费存储空间,这是考虑使用它们的很大一个原因。比起OneDrive我更推荐使用Copy,因为Copy能工作在所有的Linux发行版上。

  1. 安装Pidgin和Skype

和朋友们保持联系特别好,并且如果你使用即时通讯,那么你很幸运。 Pidgin和Skype在Linux都十分出色,它们都能连接所有主要网络。安装Pidgin就像运行这个命令一样简单:

sudo apt-get install pidgin

安装Skype也很简单 — 你仅仅需要去Skype的下载页面并且下载你Ubuntu12.04对应架构的.deb文件就可以了。

  1. 移除键盘指示器

在桌面上显示键盘指示器可能让一些人很苦恼。对于讲英语的人来说,它仅仅显示一个“EN”,这可能是恼人的,因为很多人不需要改变键盘布局或者被提醒他们正在使用英语。要移除这个指示器,选择系统设置,然后文本输入,接着去掉“在菜单栏显示当前输入源”的勾。 (译注:国人可能并不适合这个建议。)

  1. 回归传统菜单

在Ubuntu切换到Unity之前,它使用Gnome 2 作为默认的桌面环境。 这包含一个简单的菜单去访问已安装的应用,菜单包含的很多分类,比如: 游戏,办公, 互联网,等等。 你可以用另外一个简单的包找回这个“传统菜单” 。要安装它,运行这个命令:

sudo add-apt-repository -y ppa:diesch/testing && sudo apt-get update && sudo apt-get install -y classicmenu-indicator
  1. 安装Flash和Java

在之前的文章中我提到了安装解码器和Silverlight,我应该也提到了Flash和Java是它们所需要的主要插件,虽然有时可能它们可能被遗忘。要安装它们只需运行这个命令:

sudo add-apt-repository -y ppa:webupd8team/java && sudo apt-get update && sudo apt-get install oracle-java7-installer flashplugin-installer

安装Java需要新增仓库,因为Ubuntu不再包含它的专利版本(大多数人为了最好的性能推荐使用这个版本),而是使用开源的OpenJDK。

  1. 安装VLC

默认的媒体播放器Totem十分优秀但是它依赖很多独立安装的解码器才能很好的工作。我个人推荐你安装VLC媒体播放器, 因为它包含所有解码器并且实际上它支持世界上每一种媒体格式。要安装它,仅仅需要运行如下命令:

sudo apt-get install vlc
  1. 安装PuTTY (或者不)

最近,如果你出于SSH的需要而使用PuTTY,你有两个选择:为Linux安装PuTTY,或者直接使用终端。如果你想使用终端安装PuTTY,需要用到这个命令:

sudo apt-get install putty

然而,并不需要直接安装它,因为你可以使用这个命令来连接任何远程主机。

ssh username@this.domain.here

用你想要连接的用户名来替换掉“username”,然后用主机的直接域名或者IP地址替换掉“this.domain.here” 都可以。

教大家如果打造一个仿 MAC 界面的 Ubuntu,当然不是每个人都喜欢 MAC,我个人还是比较喜欢 Gnome 3 桌面。安装 Mac OS X 主题会帮助你的 Ubuntu 16.04 看起来更像MAC OS X。在这里我们介绍的Macbuntu安装包包含了GTK 主题,这些主题是专门为Ubuntu Unity定制的。图标主题可以为Ubuntu 16.04使用,包括登陆界面引导启动的背景,登陆用户,甚至包括了lightdm 使用webkit的登陆界面。

Linux公社测试的截图:

Ubuntu 16.04下安装MacBuntu 16.04 TP 变身Mac OS X主题风格

Ubuntu 16.04下安装MacBuntu 16.04 TP 变身Mac OS X主题风格

打造步骤:

1、下载 macbuntu 壁纸:http://www.linuxidc.com/Linux/2016-06/131945.htm

2、安装 MacBuntu OS Y Theme、Icons 和 cursors:

安装命令:

sudo add-apt-repository ppa:noobslab/macbuntu

Ubuntu 16.04下安装MacBuntu 16.04 TP 变身Mac OS X主题风格

sudo apt-get update

Ubuntu 16.04下安装MacBuntu 16.04 TP 变身Mac OS X主题风格

sudo apt-get install macbuntu-os-icons-lts-v7

Ubuntu 16.04下安装MacBuntu 16.04 TP 变身Mac OS X主题风格

sudo apt-get install macbuntu-os-ithemes-lts-v7

Ubuntu 16.04下安装MacBuntu 16.04 TP 变身Mac OS X主题风格

启用主题,需要安装 tweak tool

Ubuntu 16.04中安装 Unity Tweak Tool 见 http://www.linuxidc.com/Linux/2016-05/130951.htm

卸载命令:

cd /usr/share/icons/mac-cursors && sudo ./uninstall-mac-cursors.sh
sudo apt-get remove macbuntu-os-icons-lts-v7 macbuntu-os-ithemes-lts-v7

3、安装 Slingscold(替代Launchpad)

sudo add-apt-repository ppa:noobslab/macbuntu
sudo apt-get update
sudo apt-get install slingscold

4、安装Albert Spotlight (替代 Mac Spotlight)

sudo add-apt-repository ppa:noobslab/macbuntu
sudo apt-get update
sudo apt-get install albert

5、安装 Plank Dock

sudo apt-get install plank

安装 Plank 主题:

sudo add-apt-repository ppa:noobslab/macbuntu
sudo apt-get update
sudo apt-get install macbuntu-os-plank-theme-lts-v7

安装 Ctrl + Right Click 选择主题。

卸载主题命令:

sudo apt-get autoremove plank macbuntu-os-plank-theme-lts-v7

6、将面板上的 ‘Ubuntu Desktop’ 文字替换 ‘Mac’

cd && wget -O Mac.po http://drive.noobslab.com/data/Mac/change-name-on-panel/mac.po
cd /usr/share/locale/en/LC_MESSAGES; sudo msgfmt -o unity.mo ~/Mac.po;rm ~/Mac.po;cd

语言上如果是其他非英语语言,将 /en 做相应修改:

恢复原来的桌面文字命令:

cd && wget -O Ubuntu.po http://drive.noobslab.com/data/Mac/change-name-on-panel/ubuntu.po
cd /usr/share/locale/en/LC_MESSAGES; sudo msgfmt -o unity.mo ~/Ubuntu.po;rm ~/Ubuntu.po;cd

7、启动器上苹果Logo

命令:
wget -O launcher_bfb.png http://drive.noobslab.com/data/Mac/launcher-logo/apple/launcher_bfb.png
sudo mv launcher_bfb.png /usr/share/unity/icons/

恢复图标:

wget -O launcher_bfb.png http://drive.noobslab.com/data/Mac/launcher-logo/ubuntu/launcher_bfb.png
sudo mv launcher_bfb.png /usr/share/unity/icons/

8、安装 Tweak tool 软件启用主题、图标等:

sudo apt-get install unity-tweak-tool
sudo apt-get install gnome-tweak-tool

9、为 Libreoffice 安装 Monochrome icons:

sudo apt-get install libreoffice-style-sifr

然后在 LibreOffice 菜单进行设置 “工具” > “选项” > “LibreOffice” > “试图” 选择 “Sifr” “图标大小和样式”。参照下面截图设置:

Ubuntu 16.04下安装MacBuntu 16.04 TP 变身Mac OS X主题风格

Ubuntu 16.04下安装MacBuntu 16.04 TP 变身Mac OS X主题风格

10、配置 Mac 字体:

安装字体命令:

wget -O mac-fonts.zip http://drive.noobslab.com/data/Mac/macfonts.zip
sudo unzip mac-fonts.zip -d /usr/share/fonts; rm mac-fonts.zip
sudo fc-cache -f -v

使用 Unity-Tweak-Tool, Gnome-Tweak-Tool 或 Ubuntu Tweak 软件更换字体。

11、修改启动界面:

sudo add-apt-repository ppa:noobslab/themes
sudo apt-get update
sudo apt-get install macbuntu-os-bscreen-lts-v7
如果你喜欢 MBuntu 启动界面,你想恢复到 Ubuntu ,使用命令:
sudo apt-get autoremove macbuntu-os-bscreen-lts-v7

12、登陆迎宾界面:

注意安装这个东东有风险,如果你不是在意,建议不安装,安装这个仅仅适合于 Ubuntu Unity – Lightdm 和 Ubuntu Gnome – gdm,其他桌面环境有风险。

sudo add-apt-repository ppa:noobslab/themes
sudo apt-get update
sudo apt-get install macbuntu-os-lightdm-lts-v7

卸载恢复命令:

sudo apt-get remove macbuntu-os-lightdm-lts-v7

OK,完工,好好享受你的新桌面吧!

Ranger是Ubuntu中类似Mac中的Finder的文件管理器,非常的轻便和好用,基于Python,使用Vi类似的快捷键。在Ubuntu中安装Ranger很简单,软件中心就有,或者直接:

sudo apt-get install ranger

在Bash中启动或者关掉Ranger直接输入ranger或者Q。除了类似Vi操控的快捷键外,其他的一些命令包括按下g然后可以看到组合其他字母到达文件夹的组合列表(例如gh=cd ~)。在ranger中还可以使用标签浏览,例如ctrl+n=创建新的标签。输入!是执行shell命令,输入:是执行Ranger命令,du为检测当前文件夹硬盘使用。

一些精彩使用的功能键和命令如下:
名利 属性
jkhl 移动
gg,G 移到最顶和最底端
Ctrl+f,Ctrl+b 向下翻页,向上翻页
J,K 向下 1/2 页,向上 1/2页
H,L 根据历史记录返回或前进
gh cd ~
ge cd /etc
gu cd /usr
gd cd /dev
go cd /opt
gv cd /var
gm cd /media
gM cd /mnt
gs cd /srv
gr cd /
gR cd 到ranger的全局控制文件夹
i Display file (useful if you’d like to view a text file in a pager instead of editing it)
l or E Open file (opens file in default file-handler)
r Open file with… (allows you to choose program to use)
o Change sort order (follow by character in menu selection)
z Change settings (commonly used toggle settings)
zh View hidden files
Space Select current file
t Tag file (you can perform actions on tagged files)
cw Rename current file
/ Search for files
n Jump to next match
N Jump to previous match
yy Yank (copy) file
dd Mark file for cut operation
delete Delete selected file
Ctrl+n Create new tab
Ctrl+w Close current tab
Tab Next tab
Shift+Tab Previous tab
? View ranger man page
1? Keybindings help
2? Command help
3? Settings help
R Reload current directory
Q Quit
! execute a command from the shell (non-ranger commands)
: Execute a ranger command
du Measure disk usage of current directory
chmod Change permissions of current file
%f Substitute highlighted file
%d Substitute current directory
%s Substitute currently selected files
%t Substitute currently tagged files


问题:我试着通过运行apt-get update命令来再次同步包索引文件,但是却出现了“404 无法找到”的错误,看起来似乎是我不能从先前添加的第三方PPA仓库中获取最新的索引。我怎样才能清除这些破损而且陈旧的PPA仓库呢?

Err http://ppa.launchpad.net trusty/main amd64 Packages
404 Not Found
Err http://ppa.launchpad.net trusty/main i386 Packages
404 Not Found
W: Failed to fetch http://ppa.launchpad.net/finalterm/daily/Ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/finalterm/daily/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

当你试着更新APT包索引时,“404 无法找到”错误总是会在版本更新之后发生。就是说,在你升级你的Ubuntu发行版后,你在旧的版本上添加的一些第三方PPA仓库就不再受新版本的支持。在此种情况下,你可以像下面这样来鉴别并清除那些破损的PPA仓库。

首先,找出那些引起“404 无法找到”错误的PPA。

$ sudo apt-get update | grep "Failed"

在本例中,Ubuntu Trusty不再支持的PPA仓库是“ppa:finalterm/daily”。

去移除PPA仓库吧。

$ sudo add-apt-repository --remove ppa:finalterm/daily

你得去重复重复再重复,把上面找到的所有过时的PPA仓库一个一个地移除。

在移除所有过时的PPA仓库后,重新运行“apt-get update”命令来检查它们是否都被成功移除。

  1. Weather Indicator Applet (天气预报)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo apt-get install indicator-weather

  1. ClassicMenu:经典的GNOME2菜单

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo apt-add-repository ppa:diesch/testing

sudo apt-get update

sudo apt-get install classicmenu-indicator

  1. Ubuntu One(Ubuntu提供的类似网盘的服务)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo add-apt-repository ppa:rye/ubuntuone-extras

sudo apt-get update

sudo apt-get install indicator-ubuntuone

  1. System Load Indicator ( 系统状态指示器)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo add-apt-repository ppa:indicator-multiload/stable-daily

sudo apt-get update

sudo apt-get install indicator-multiload

  1. Touchpad Indicator (触摸板开关)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo add-apt-repository ppa:atareao/atareao

sudo apt-get update

sudo apt-get install touchpad-indicator

  1. Battery Status Indicator (电源状态指示器)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo apt-add-repository ppa:iaz/battery-status

sudo apt-get update

sudo apt-get install battery-status

运行:

/usr/lib/battery-status/battery-status –indicator

  1. Workspaces Indicator (快速切换工作区)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo add-apt-repository ppa:geod/ppa-geod

sudo apt-get update

sudo apt-get install indicator-workspaces

  1. Keylock Application Indicator (显示大写键状态)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo add-apt-repository ppa:tsbarnes/indicator-keylock

sudo apt-get update

sudo apt-get install indicator-keylock

  1. Caffeine Application Indicator (防止启动屏保和省电模式)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo add-apt-repository ppa:caffeine-developers/ppa

sudo apt-get update

sudo apt-get install caffeine

  1. Pastie Clipboard Manager Indicator (剪贴板管理工具)

大开眼界:Ubuntu下10个厉害的Indicator小程序

安装命令:

sudo add-apt-repository ppa:hel-sheep/pastie

sudo apt-get update

sudo apt-get install pastie

夏天到了,笔记本过热是最近一个常见的问题。监控硬件温度或许可以帮助你诊断笔记本为什么会过热。本篇中,我们会了解如何在Ubuntu中检查CPU的温度。

我们将使用一个GUI工具Psensor,它允许你在Linux中监控硬件温度。用Psensor你可以:

监控cpu和主板的温度
监控NVidia GPU的文档
监控硬盘的温度
监控风扇的速度
监控CPU的利用率

Psensor最新的版本同样提供了Ubuntu中的指示小程序,这样使得在Ubuntu中监控温度变得更加容易。你可以选择在面板的右上角显示温度。它还会在温度上过阈值后通知。
如何在Ubuntu 15.04 和 14.04中安装Psensor

在安装Psensor前,你需要安装和配置lm-sensors,这是一个用于硬件监控的命令行工具。如果你想要测量磁盘温度,你还需要安装hddtemp。要安装这些工具,运行下面的这些命令:

sudo apt-get install lm-sensors hddtemp

接着开始检测硬件传感器:

sudo sensors-detect

要确保已经工作,运行下面的命令:

sensors

它会给出下面这样的输出:

acpitz-virtual-0
Adapter: Virtual device
temp1: +43.0°C (crit = +98.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +44.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +41.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +40.0°C (high = +100.0°C, crit = +100.0°C)

如果一切看上去没问题,使用下面的命令安装Psensor:

sudo apt-get install psensor

安装完成后,在Unity Dash中运行程序。第一次运行时,你应该配置Psensor该监控什么状态。

在面板显示温度

如果你想要在面板中显示温度,进入Sensor Preferences:

在 Application Indicator 菜单下,选择你想要显示温度的组件并勾上 Display sensor in the label 选项。

每次启动启动Psensor

进入 Preferences->Startup 并选择 Launch on session startup 使每次启动时启动Psensor。

就是这样。你所要做的就是在这里监控CPU温度。你可以时刻注意并帮助你找出使计算机过热的进程。

去移除PPA仓库吧。

$ sudo add-apt-repository --remove ppa:finalterm/daily

你得去重复重复再重复,把上面找到的所有过时的PPA仓库一个一个地移除。

转载于:https://www.cnblogs.com/MimiSnowing/p/5619009.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值