当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]%u是什么意思?
帖子发表于 : 2007-06-17 20:14 
头像

注册: 2007-03-24 23:45
帖子: 2357
送出感谢: 0 次
接收感谢: 9
例如firefox %u命令中的%u是什么意思?


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-06-17 21:35 
头像

注册: 2007-01-15 17:15
帖子: 3766
送出感谢: 0 次
接收感谢: 0 次
The command can contain the following special codes which will be replaced with the value specified in the following table:
%f
A single file name, even if multiple files are selected. The system reading the desktop entry should recognize that the program in question cannot handle multiple file arguments, and it should should probably spawn and execute multiple copies of a program for each selected file if the program is not able to handle additional file arguments. If files are not on the local file system (i.e. are on HTTP or FTP locations), the files will be copied to the local file system and %f will be expanded to point at the temporary file. Used for programs that do not understand the URL syntax.


%F


A list of files. Use for apps that can open several local files at once.



%u


A single URL.



%U


A list of URLs.



%d


Directory containing the file that would be passed in a %f field.



%D


List of directories containing the files that would be passed in to a %F field.



%n


A single filename (without path).



%N


A list of filenames (without paths).



%i


The Icon field of the desktop entry expanded as two parameters, first --icon and then the contents of the Icon field. Should not expand as any parameters if the Icon field is empty or missing.



%c


The translated Name field associated with the desktop entry.



%k


The location of the desktop file as either a URI (if for example gotten from the vfolder system) or a local filename or empty if no location is known.



%v


The name of the Device entry in the desktop file.


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-06-17 22:58 
头像

注册: 2007-03-24 23:45
帖子: 2357
送出感谢: 0 次
接收感谢: 9
8)
居然是全英...
还是谢谢了


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译