LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-05-2021, 09:57 AM   #1
triplemaya
LQ Newbie
 
Registered: May 2006
Posts: 26

Rep: Reputation: 1
%s and %u


What do %s and %u mean on the command line? I have tried googling but cannot get a search for the string %u or "%u", I just get entries for u.

I'm asking because I have been having trouble with opening firefox with firefox -P [profilename] -no-remote "%s"

It works ok with just firefox -P [profilename] but I wondered what the $s was supposed to do.

I also notice that many of the commands in the applications menu are followed by %u and I am wondering if that should be appended instead.

Thanks
 
Old 07-05-2021, 10:19 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,688

Rep: Reputation: Disabled
Quote:
Originally Posted by triplemaya View Post
I also notice that many of the commands in the applications menu are followed by %u
What applications menu is it exactly? In what DE? In the Desktop Entry Specification, %u means a single URL.
 
Old 07-05-2021, 10:21 AM   #3
lvm_
Senior Member
 
Registered: Jul 2020
Posts: 1,024

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
You could be referring to %codes in exec key of the desktop entry specification: https://specifications.freedesktop.o...exec-variables
 
Old 07-07-2021, 04:05 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ yep, freedesktop stuff. Has nothing to do with the command line!
 
Old 07-08-2021, 12:36 AM   #5
GentleThotSeaMonkey
Member
 
Registered: Dec 2016
Posts: 338
Blog Entries: 4

Rep: Reputation: 128Reputation: 128
http://forums.mozillazine.org/viewto...644&p=14897441
(OP's thread; has more ...)
 
Old 12-01-2021, 06:23 AM   #6
triplemaya
LQ Newbie
 
Registered: May 2006
Posts: 26

Original Poster
Rep: Reputation: 1
Many thanks for your replies.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] differences between shell regex and php regex and perl regex and javascript and mysql golden_boy615 Linux - General 2 04-19-2011 01:10 AM
xfs and disk space and tar and squid and rc.local!!! Paul Reed Linux - Software 7 06-23-2006 02:28 PM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM
Asus P4C800-E Deluxe and Mandrake and Intel ICH5R and RAID 0 and 74 GB Raptors SeattleGoozyGuy Linux - Software 2 09-13-2004 02:05 PM
Asus P4C800-E Deluxe and Mandrake and Intel ICH5R and RAID 0 and 74 GB Raptors SeattleGoozyGuy Linux - Hardware 1 05-31-2004 06:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration