Texonom
Texonom
/
Engineering
Engineering
/Hardware Engineering/Computer/Operating System/UNIX/Unix-like/Linux/Linux Terms/
%u
Search

%u

What does "%U" mean when calling a command?
Thanks for contributing an answer to Ask Ubuntu! Please be sure to answer the question. Provide details and share your research! Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our tips on writing great answers.
What does "%U" mean when calling a command?
https://askubuntu.com/questions/30210/what-does-u-mean-when-calling-a-command
What does "%U" mean when calling a command?
 
used at the end of the command entries for some Gnome menu entries
 
  • %u - a parameter for the Exec key in .desktop files - Local files may either be passed as file: URLs or as file path
  • %U - list of URLs
 
 
  • %f - file uri?
  • %F - file uri list?
 
So, e.g., /usr/share/applications/gedit.desktop contains:
Exec=gedit %U
 
 
 

Recommendations

Texonom
Texonom
/
Engineering
Engineering
/Hardware Engineering/Computer/Operating System/UNIX/Unix-like/Linux/Linux Terms/
%u
Copyright Seonglae Cho