它是 Ubuntu 的默认图像查看器,显然它被称为“侏儒之眼”。我希望能够从命令行启动它,并传递一个文件名来打开它。
当我打开一个包含 .swp 文件的文件时,如何摆脱烦人的警告?或者,我如何根本不生成 .swp 文件?示例警告:
E325: ATTENTION
Found a swap file by the name ".notes.swp"
owned by: james dated: Fri Dec 3 17:38:07 2010
file name: ~james/school/se/project-dir/rottencucumber/doc/notes
modified: no
user name: james host name: james-laptop
process ID: 2251 (still running)
While opening file "notes"
dated: Fri Dec 3 18:46:10 2010
NEWER than swap file!
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the …Run Code Online (Sandbox Code Playgroud) 我试过了
ffmpeg -t in_movie.avi -ss 00:26:20 -t 00:28:24 out_movie.avi
Run Code Online (Sandbox Code Playgroud)
但这给了我:
Invalid duration specification for t: in_movie.avi
Run Code Online (Sandbox Code Playgroud)
请指教。
更新: 莫莉,该命令给出:
FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5+svn20090706-2ubuntu2 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --extra-cflags=-I/build/buildd/ffmpeg-0.5+svn20090706/debian/include --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter …Run Code Online (Sandbox Code Playgroud) 有时当我使用 vicaps lock时,我在command mode. 这显然使 viverbose mode无法找到有关如何使用的文档。我应该如何以及何时使用verbose mode?
有没有办法做到这一点?我很感激任何帮助/指示。
我正在使用 ubuntu 11.04。我已经安装了googlecl,它声称允许我使用 vim 编辑 google doc 文件。我有一个谷歌文档“测试”:
google docs edit --title "test" --editor vim
Run Code Online (Sandbox Code Playgroud)
打开文件很好。当我通过 vim 命令写入文件时:w,更改不会传播到云中的原始 google 文档。此外,当我:wq,我得到这个命令行输出:
Server responded with: 412, <errors xmlns='http://schemas.google.com/g/2005'><error><domain>GData</domain><code>etagsMismatch</code><internalReason>Mismatch: etags = ["tags"], version = [gqpwmaue]</internalReason></error></errors>
Moved edited document to /home/james/test.txt
Run Code Online (Sandbox Code Playgroud)
当我在 vim 中保存原始文档时,如何自动更新它?