LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices

Reply
 
Thread Tools
Old 08-21-2009, 01:24 AM   #61
MBybee
Member
 
Registered: Jan 2009
Distribution: PC-BSD/FreeBSD/Debian
Posts: 134
Thanked: 10
Talking


[Log in to get rid of this advertisement]
Quote:
Originally Posted by GrapefruiTgirl View Post
I'd guess quotes are not needed.. But test over Here and try "mint" by itself (minus the quotes of course)..

Then again, we don't yet know what-all OS's exactly are recognized.

Sasha
Well, I noticed that in my case, my browser string is simply "Linux", which is rather generic. I'd love to know what strings it's looking for to see if I can get a Debian Swirl
linux MBybee is offline     Reply With Quote


Old 08-21-2009, 01:31 AM   #62
MBybee
Member
 
Registered: Jan 2009
Distribution: PC-BSD/FreeBSD/Debian
Posts: 134
Thanked: 10
Now I'm trying it using the default for IceWeasel (oh how I love the user agent switcher plugin!)

I guess gaming the system this way kind of removes the point, doesn't it? Or is this actually even more to the point?
linux MBybee is offline     Reply With Quote


Old 08-21-2009, 04:03 AM   #63
jiml8
Senior Member
 
Registered: Sep 2003
Distribution: mandriva 2009.1, 2008.1, kubuntu 8, fedora 8
Posts: 2,819
Thanked: 38
I appear to have the only Mandriva icon around.

Gee, I feel special.

And as far as switching user agents is concerned, I run Privoxy so I can set it to report anything I want. I used to block user agents completely, but that broke a lot of sites. For a long time I reported myself as a Mac Classic with Mosaic, but that also broke sites.

So now I tell the truth.

Last edited by jiml8; 08-21-2009 at 04:04 AM..
linuxmandriva jiml8 is offline     Reply With Quote


Old 08-21-2009, 04:13 AM   #64
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Kubuntu Karmic Koala
Posts: 17,466
Blog Entries: 4
Thanked: 88
Hot tip on user agents

All

If your distro is simply showing up as "Linux", do the following (and this applicable to FF 3+, by the way). Go to about:config and in the search box type in "useragent" (w/o the quotes). One of the options will have the identifier - in this case "Linux". Change that to your distro - Slackware, Debian, Mint, etc etc. You may need to play around with the wording to make it show up correctly.

I can confirm that Slackware, Debian, Gentoo and Ubuntu all show up correctly if you change the string to the single word for your distro.
windows_xp_2003 XavierP is offline     Reply With Quote


Old 08-21-2009, 05:28 AM   #65
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,230
Thanked: 10
This is going to lead to a great many useless posts for testing as more people catch on. Should there be one thread in General for this purpose?


Also, I noticed that editing a post does not change the user agent used for the original posting. I'm not sure how useful this might me, but I think it might be preferable to the current state where the original identification seems to be permanent.
linuxslackware Franklin is offline     Reply With Quote


Old 08-21-2009, 06:28 AM   #66
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Kubuntu Karmic Koala
Posts: 17,466
Blog Entries: 4
Thanked: 88
This thread in General is a good place to post if you want to test you ruser agent. It won't affect post count and the original poster (thanks GrapefruiTgirl) has said that it's ok to post there.
windows_xp_2003 XavierP is offline     Reply With Quote


Old 08-21-2009, 08:34 AM   #67
joeBuffer
Member
 
Registered: Jul 2009
Distribution: Ubuntu 9.04
Posts: 321
Thanked: 23
Why in the other forums is the icon not always coming up? My icon hasn't shown up once in other forums, and a lot of other people's also. They're only occasionally showing up.
This is the first post I've made, as far as I know that has shown it.

Last edited by joeBuffer; 08-21-2009 at 08:35 AM..
linuxubuntu joeBuffer is offline     Reply With Quote


Old 08-21-2009, 08:39 AM   #68
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Kubuntu Karmic Koala
Posts: 17,466
Blog Entries: 4
Thanked: 88
It's probably because this is in beta and Jeremy is gauging the reactions and the viability of doing it forum wide. I think I have seen the icon in the General forum though.
windows_xp_2003 XavierP is offline     Reply With Quote


Old 08-21-2009, 09:14 AM   #69
MBybee
Member
 
Registered: Jan 2009
Distribution: PC-BSD/FreeBSD/Debian
Posts: 134
Thanked: 10
Quote:
Originally Posted by XavierP View Post
All

If your distro is simply showing up as "Linux", do the following (and this applicable to FF 3+, by the way). Go to about:config and in the search box type in "useragent" (w/o the quotes). One of the options will have the identifier - in this case "Linux". Change that to your distro - Slackware, Debian, Mint, etc etc. You may need to play around with the wording to make it show up correctly.

I can confirm that Slackware, Debian, Gentoo and Ubuntu all show up correctly if you change the string to the single word for your distro.
Here's mine:
general.useragent.override;Mozilla/5.0 (X11; U; Debian; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5
And it shows up as:
Mozilla/5.0 (X11; U; Debian; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5

However, I've tried Debian i686, I've tried setting the iceweasel settings, all sorts of things.

Must be something I'm missing?
unknown MBybee is offline     Reply With Quote


Old 08-21-2009, 11:09 AM   #70
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Kubuntu Karmic Koala
Posts: 17,466
Blog Entries: 4
Thanked: 88
When I get home I'll post up a couple of screenshots of my setup. Give me a few hours.
windows_xp_2003 XavierP is offline     Reply With Quote


Old 08-21-2009, 02:11 PM   #71
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Kubuntu Karmic Koala
Posts: 17,466
Blog Entries: 4
Thanked: 88
Righty ho, I'm home now. So here's what you need to do:
  1. Open a new tab and type in about:config (aboutconfig.png)
  2. Type in useragent to the search box (useragent.png)
  3. Select the line with the distro name, or where it should be (useragentselect.png)
  4. Double click the name of the distro (useragentselected.png)
Continued below
Attached Images
File Type: png aboutconfig.png (163.3 KB, 18 views)
File Type: png useragent.png (75.5 KB, 21 views)
File Type: png useragentselect.png (74.4 KB, 20 views)
linuxdebian XavierP is offline     Reply With Quote


Old 08-21-2009, 02:15 PM   #72
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Kubuntu Karmic Koala
Posts: 17,466
Blog Entries: 4
Thanked: 88
  1. Once you have doubleclicked, a box opens (useragentselected.png)
  2. The space to write your distro name is inside the brackets. NOTE: Leave the brackets intact (changeinsidethebrackets.png)
Once done, your distro will produce an icon.

Acceptable strings are Debian, Slackware, Gentoo, Mint (I think), Ubuntu. Not tried any others and I think for MS products you do Windows_xp_2003 or Windows_Vista - but I could be wrong.

Enjoy.
Attached Images
File Type: png useragentselected.png (87.7 KB, 19 views)
File Type: png changeinsidethebrackets.png (87.9 KB, 15 views)
linuxdebian XavierP is offline     Reply With Quote


Old 08-21-2009, 03:52 PM   #73
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 13.0 (2.6.29.6-smp)
Posts: 557
Blog Entries: 1
Thanked: 47
OK,

Here's my test with general.useragent.extra.firefox = Slackware/Firefox/3.0.13

Last edited by gegechris99; 08-21-2009 at 03:53 PM.. Reason: No chance :(
linuxslackware gegechris99 is offline     Reply With Quote


Old 08-21-2009, 03:53 PM   #74
Nevahre
LQ Newbie
 
Registered: Aug 2009
Posts: 21
Thanked: 1
second test
linux Nevahre is offline     Reply With Quote


Old 08-21-2009, 03:54 PM   #75
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 13.0 (2.6.29.6-smp)
Posts: 557
Blog Entries: 1
Thanked: 47
Another test with general.useragent.extra.firefoxComment = Slackware

Last edited by gegechris99; 08-21-2009 at 03:56 PM..
linuxslackware gegechris99 is offline     Reply With Quote



Reply

Bookmarks


Thread Tools

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
How to disable the option to show the description for a shortcut? zahadumy Linux - Software 3 11-28-2006 05:30 AM
How to disable the reload option in mozilla? green_njk Linux - General 3 04-12-2006 02:07 AM
How to disable Filemenu option in Help m.harshavardhan Linux - Software 0 08-30-2005 09:58 AM
read other posts but still can't change display pires Linux - Newbie 5 08-25-2003 10:30 AM
How to disable ethernet option tanchu Linux - Networking 0 03-17-2003 09:42 AM


All times are GMT -5. The time now is 06:33 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration