小编Tho*_*att的帖子

如何让 Google Drive (Docs) 搜索在 Unity Dash 中工作?

如何让 Google Drive (Docs) 搜索在 Unity Dash 中工作?

我已在“Online Accounts系统设置”面板中添加了我的 Google 帐户。

我正在使用安装了以下软件包的 Ubuntu 13.04:

ii  unity-lens-applications
ii  unity-lens-files
un  unity-lens-friends
un  unity-lens-gdocs
un  unity-lens-music
un  unity-lens-photos
un  unity-lens-shopping
un  unity-lens-video

un  unity-scope-calculator
un  unity-scope-colourlovers
un  unity-scope-deviantart
un  unity-scope-gallica
un  unity-scope-gdocs
ii  unity-scope-gdrive
un  unity-scope-github
un  unity-scope-googlenews
un  unity-scope-imdb
un  unity-scope-launchpad
un  unity-scope-manpages
un  unity-scope-openclipart
un  unity-scope-openweathermap
un  unity-scope-soundcloud
un  unity-scope-virtualbox
un  unity-scope-yahoostock
un  unity-scope-yelp
Run Code Online (Sandbox Code Playgroud)

unity launcher lenses unity-dash scopes

8
推荐指数
1
解决办法
7755
查看次数

为什么运行 `time` 和 `/usr/bin/time` 给出不同的结果?

为什么运行time/usr/bin/time给出不同的结果?

/usr/bin/时间

thomas@tbdesktop:~$ /usr/bin/time -f "Elapsed time:%E" wc /etc/hosts
  9  25 224 /etc/hosts
Elapsed time:0:00.04
Run Code Online (Sandbox Code Playgroud)

时间

thomas@tbdesktop:~$ time -f "Elapsed time:%E" wc /etc/hosts
-f: command not found

real    0m0.079s
user    0m0.052s
sys 0m0.024s
Run Code Online (Sandbox Code Playgroud)

我的路径如下。据我所知,time路径中只有一个可执行文件。

thomas@tbdesktop:~$ echo $PATH
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
thomas@tbdesktop:~$ find / -name time 2> /dev/null
/sys/devices/pnp0/00:03/rtc/rtc0/time
/sys/module/printk/parameters/time
/var/lib/dkms/virtualbox/4.1.12/build/common/time
/var/lib/doc-base/documents/time
/usr/src/linux-headers-3.2.0-30/kernel/time
/usr/src/linux-headers-3.2.0-31-generic/include/config/sr/report/time
/usr/src/linux-headers-3.2.0-31-generic/include/config/generic/time
/usr/src/linux-headers-3.2.0-31-generic/kernel/time
/usr/src/virtualbox-4.1.12/common/time
/usr/src/linux-headers-3.2.0-29/kernel/time
/usr/src/linux-headers-3.2.0-30-generic/include/config/sr/report/time
/usr/src/linux-headers-3.2.0-30-generic/include/config/generic/time
/usr/src/linux-headers-3.2.0-30-generic/kernel/time
/usr/src/linux-headers-3.2.0-29-generic/include/config/sr/report/time
/usr/src/linux-headers-3.2.0-29-generic/include/config/generic/time
/usr/src/linux-headers-3.2.0-29-generic/kernel/time
/usr/src/linux-headers-3.2.0-31/kernel/time
/usr/bin/time
/usr/share/doc/time
/usr/share/doc-base/time
thomas@tbdesktop:~$ 
Run Code Online (Sandbox Code Playgroud)

command-line environment-variables time-command

4
推荐指数
1
解决办法
1644
查看次数