LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 01-30-2011, 03:46 PM   #1
ewsmith
Member
 
Registered: Oct 2010
Location: Weesatche, Texas
Distribution: Slackware
Posts: 72

Rep: Reputation: 7
os indicator in post question


This has been bugging me for a while.

Some people have their os show up in a post. I figured out how to
do that, but all I have is a penguin head. How do I replace that with
the slackware symbol?
 
Old 01-30-2011, 04:09 PM   #2
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
As far as I'm aware, the server detects it based on the user agent string of the browser, it's not something you set yourself
 
Old 01-30-2011, 04:11 PM   #3
ewsmith
Member
 
Registered: Oct 2010
Location: Weesatche, Texas
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 7
Oh. Ok.
Thanks.
 
Old 01-30-2011, 04:16 PM   #4
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Rep: Reputation: 50
actually, you can change the user agent string of the browser! just search google. i'm not sure how to do that
 
Old 01-30-2011, 04:19 PM   #5
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by phil.d.g
it's not something you set yourself
Umm...actually you can set it yourself. If you're using Firefox, go into about:config and change one of the general.useragent.* fields there to include the name of your distribution (I just appended "Arch" to general.useragent.extra.firefox to get the Arch icon on my posts). You can test it in this thread.

Chrom(e|ium) has a CLI switch --user-agent where you can provide this info.

Last edited by MrCode; 01-30-2011 at 04:22 PM. Reason: included Google browser info
 
Old 01-30-2011, 06:18 PM   #6
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
Quote:
Originally Posted by MrCode View Post
Umm...actually you can set it yourself. If you're using Firefox, go into about:config and change one of the general.useragent.* fields there to include the name of your distribution (I just appended "Arch" to general.useragent.extra.firefox to get the Arch icon on my posts). You can test it in this thread.

Chrom(e|ium) has a CLI switch --user-agent where you can provide this info.
lol, I meant you couldn't set the icon displayed explicitly.

If you change the user agent string then the icon will change as a side effect, however that will only work if the forums recognise the user agent and has an icon associated with it.
 
Old 01-30-2011, 08:15 PM   #7
ewsmith
Member
 
Registered: Oct 2010
Location: Weesatche, Texas
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by MrCode View Post
Umm...actually you can set it yourself. If you're using Firefox, go into about:config and change one of the general.useragent.* fields there to include the name of your distribution (I just appended "Arch" to general.useragent.extra.firefox to get the Arch icon on my posts). You can test it in this thread.

Chrom(e|ium) has a CLI switch --user-agent where you can provide this info.
I am going to try this. Thanks.


EDIT:
It works! Woo!

Unfortunately, I posted the 'test' post in the wrong thread. The one about the solved slackware icon firefox 4 beta.

Last edited by ewsmith; 01-30-2011 at 08:22 PM. Reason: Update
 
Old 07-31-2012, 04:29 AM   #8
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
OS indictator test post
 
Old 07-31-2012, 04:51 AM   #9
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
Test again
 
Old 07-31-2012, 04:55 AM   #10
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
Seems like the: "general.useragent.extra.firefox" setting does not work as it should.
My OS indicator icon stays as it was or disappers.

Is CentOS even recognised by linuxqustions.org?
 
Old 07-31-2012, 05:02 AM   #11
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
test again
 
Old 07-31-2012, 05:04 AM   #12
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141
Centos test
Code:
useragent:Mozilla/5.0 (X11; Centos;  Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0 Firefox/12.0

Last edited by whizje; 07-31-2012 at 05:05 AM.
 
Old 07-31-2012, 05:15 AM   #13
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
Quote:
Originally Posted by whizje View Post
Centos test
Code:
useragent:Mozilla/5.0 (X11; Centos;  Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0 Firefox/12.0
Thanks!

Let's see
 
Old 07-31-2012, 05:28 AM   #14
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
This goes into "general.useragent.extra.firefox" as a string right?
 
Old 07-31-2012, 08:50 AM   #15
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,
Quote:
Originally Posted by MrCode View Post
<snip>You can test it in this thread.

<snip>
https://www.linuxquestions.org/quest...-issue-745067/ Thread is closed.
 
  


Reply



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] DD-WRT Indicator Light Question linuxbird Linux - Networking 2 11-24-2010 10:15 PM
question about text/source files: what is the EOF indicator? rahul8705 Linux - General 2 11-10-2010 11:36 AM
First post ... sure with a question :) Oras Linux - Newbie 2 07-09-2006 10:52 PM
Before you Post a Question?????? trickykid Linux - General 1 05-18-2001 12:52 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 09:54 AM.

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