LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 11-22-2018, 06:07 AM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,659
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
On automatically recognising distros in posts


I notice that the automatic recognition of distros does not work for some of the smaller ones. For example, I am now using Crux, but the panel to the left of my posts shows only generic Linux (and sometimes only a question mark, which is worse!). The same thing happens with LFS. Is there a way to improve this?

Last edited by hazel; 11-22-2018 at 06:09 AM.
 
Old 11-22-2018, 06:43 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
I've also noticed that where I suspect the poster might actually be running Linux Mint for example; their post shows the Ubuntu icon for their OS icon. I know it's the User Agent that tells LQ which OS you're using, so I imagine that Jeremy would need to add more OS's to LQ's OS list for the User Agent icon there.

But I don't understand why Linux Mint doesn't seem to have it's own User Agent icon for the detected OS ? Given it's one of the most popular distro's out.
 
Old 11-22-2018, 06:50 AM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by jsbjsb001 View Post
I've also noticed that where I suspect the poster might actually be running Linux Mint for example; their post shows the Ubuntu icon for their OS icon. I know it's the User Agent that tells LQ which OS you're using, so I imagine that Jeremy would need to add more OS's to LQ's OS list for the User Agent icon there.

But I don't understand why Linux Mint doesn't seem to have it's own User Agent icon for the detected OS ? Given it's one of the most popular distro's out.
Possibly because there aren't any sites in the real world that would recognise and cater for "Mint" in HTTP_USER_AGENT, whereas for "Ubuntu" there already are many. Mint is 99.9% Ubuntu, so being served Ubuntu-specific content (e.g. download selection) is fine.
 
Old 11-22-2018, 07:23 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by hydrurga View Post
Possibly because there aren't any sites in the real world that would recognise and cater for "Mint" in HTTP_USER_AGENT, whereas for "Ubuntu" there already are many. Mint is 99.9% Ubuntu, so being served Ubuntu-specific content (e.g. download selection) is fine.
While I do see your point, and I believe you can install Ubuntu packages on Linux Mint (I *think*), and while there may not be a lot of differences [major] between the two; I can't help but think it could still be of benefit to know if it's Linux Mint or actually Ubuntu itself the poster is posting from (particularly if their the OP).

Also, are you saying you "Minters" don't deserve you're own User Agent? I would have thought that was blasphemy in the Linux Mint world there, shame on you hydrurga! Just kidding...
 
Old 11-22-2018, 07:29 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by jsbjsb001 View Post
While I do see your point, and I believe you can install Ubuntu packages on Linux Mint (I *think*), and while there may not be a lot of differences [major] between the two; I can't help but think it could still be of benefit to know if it's Linux Mint or actually Ubuntu itself the poster is posting from (particularly if their the OP).

Also, are you saying you "Minters" don't deserve you're own User Agent? I would have thought that was blasphemy in the Linux Mint world there, shame on you hydrurga! Just kidding...


I've just asked the Mint developers why they don't use "Mint" in HTTP_USER_AGENT and the response was that there is simply no need for it, that Mint has nothing to gain by setting this differently. They added that including such a string would be unlikely to break compatibility, but that there is no reason to find out.

And yes, you can install Ubuntu packages on Linux Mint so you can now say "(I *know*)".

Hydrurga the Minter.
 
Old 11-22-2018, 08:15 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,659

Original Poster
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
Does this mean that if I set the environmental variable HTTP_USER_AGENT to my distro name, LQ will recognise it?
 
Old 11-22-2018, 08:27 AM   #7
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by hydrurga View Post
I've just asked the Mint developers why they don't use "Mint" in HTTP_USER_AGENT and the response was that there is simply no need for it, that Mint has nothing to gain by setting this differently. They added that including such a string would be unlikely to break compatibility, but that there is no reason to find out.
It is (was?) the same for Slackware, you had to manually add it to your user agent string to get the icon to appear, as I recall.
Quote:
Originally Posted by hazel View Post
Does this mean that if I set the environmental variable HTTP_USER_AGENT to my distro name, LQ will recognise it?
No, not necessarily - the forum software would first need an icon set up, etc to cater for it. Which may or may not already be the case.

Last edited by cynwulf; 11-22-2018 at 08:28 AM.
 
1 members found this post helpful.
Old 11-22-2018, 08:29 AM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by hazel View Post
Does this mean that if I set the environmental variable HTTP_USER_AGENT to my distro name, LQ will recognise it?
I would imagine no. It takes two to tango and LQ must recognise the string and then display the relevant logo. And it's unlikely that LQ would do that for one person, unless you can round up all the other Crux users and make a case for it.

Out of interest, what does your HTTP_USER_AGENT show for the browser you use to view LQ?

Last edited by hydrurga; 11-22-2018 at 09:52 AM. Reason: Edit: grammar.
 
Old 11-22-2018, 09:17 AM   #9
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
I actually have seen several older posts with the Linux Mint icon instead of Ubuntu. It would of course be difficult to find them, but if I remember right they were posted by @frankbell.
 
Old 11-22-2018, 09:36 AM   #10
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
There's a way to change this in Firefox by tweaking the about:config settings (there's a thread here on LQ, somewhere), but yes, as has been said, there would need to be the corresponding distro icon available on LQ for it to work. Most of the major distros, BSDs, Solaris-like OSes, Android, macOS, and Windows versions are represented.
 
Old 11-22-2018, 10:44 AM   #11
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,659

Original Poster
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
Quote:
Originally Posted by hydrurga View Post
Out of interest, what does your HTTP_USER_AGENT show for the browser you use to view LQ?
I don't think I have anything set. I can't find it in Preferences or about:config and it isn't set in my environment either.
 
Old 11-22-2018, 10:48 AM   #12
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,738

Rep: Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213
This site will display your user agent:
https://www.whoishostingthis.com/tools/user-agent/
 
1 members found this post helpful.
Old 11-22-2018, 11:01 AM   #13
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,659

Original Poster
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
OK, it's Mozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0.
 
Old 11-22-2018, 11:14 AM   #14
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,738

Rep: Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213
Quote:
Originally Posted by hazel View Post
OK, it's Mozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0.
Exactly the same as mine. This desktop is CentOS 7.5.
 
Old 11-22-2018, 11:22 AM   #15
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,659

Original Poster
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
Quote:
Originally Posted by scasey View Post
Exactly the same as mine. This desktop is CentOS 7.5.
...and you've got the same generic Linux icon. Now that is bad!! Crux may be a minority interest but I would regard CentOS as mainstream. It ought at worst to identify as Red Hat.

btw, I always get a question mark icon on fresh posts. Then on refreshing the page it turns into the penguin.

Last edited by hazel; 11-22-2018 at 11:23 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
View new posts -- request to show threads with own posts catkin LQ Suggestions & Feedback 5 01-26-2012 08:51 PM
What's the diff: New posts vs Latest Posts? theNbomr LQ Suggestions & Feedback 4 02-13-2009 05:42 PM
Distros, distros, distros...slight rant.. Jamesb427 Linux - Distributions 1 05-31-2007 03:10 PM
LXer: See distros. See distros run. Run, distros, run. LXer Syndicated Linux News 0 06-13-2006 01:24 AM
Suggestion: Change "my posts" button to "my posts by thread" PTrenholme LQ Suggestions & Feedback 5 03-10-2006 06:49 AM

LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback

All times are GMT -5. The time now is 02:29 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