LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Why is my distro not showing up in posts? (https://www.linuxquestions.org/questions/linux-general-1/why-is-my-distro-not-showing-up-in-posts-4175423851/)

leosubhadeep 08-24-2012 03:32 PM

Why is my distro not showing up in posts?
 
Well, I posted this topic about a fortnight ago and I was told there were similar threads and i should look for them. I found some, but not exactly similar to me, nor did the procedures worked.
I post on LQ either through Windows 7 or Ubuntu 12.04 or Fedora 17. I use either Google Chrome or Firefox of latest versions. I hope this is enough info I can give you.
Sadly, while posting from Win7, a Win7 logo appears to the bottom-left of my posts (where the distro is seen by default) but from either linux my distro doesn't show up. All I get either a generic tux head or even worse, a queston mark. :(
I tried deleting the name of my distro from my CP. But same tux head. Whereas others' distros, even Ubuntu, are seen. I know that's not my alone's problem, but please guide my how I can get that. This is not a crucial matter, but I'd like to show my distro to my LQ friends.

Regards.

byannoni 08-24-2012 03:35 PM

Your user agent string isn't showing your OS. Chrome and Firefox both do not have the OS in the user agent. I have heard that Opera works, though.

byannoni 08-24-2012 03:38 PM

Testing that Opera works...

Edit:
Apparently not for me...

bathory 08-24-2012 04:06 PM

For Firefox:
You need to create a user.js file under your firefox homedir (~/.mozilla/firefox/<random characters>/user.js). The contents in my case (Slackware64) are:
Code:

user_pref("general.useragent.override", "Slackware/Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20100101 Firefox/14.0.1");
For Chrome:
You need to start chrome with:
Code:

chrome --user-agent="Slackware/Chrome Mozilla/5.0 (X11; U; Linux x86_64; en-US)"
Sorry but I don't run Opera, so I don't know how to change its user-agent string

Regards

byannoni 08-24-2012 04:32 PM

Quote:

Originally Posted by bathory (Post 4763452)
For Chrome:
You need to start chrome with:
Code:

chrome --user-agent="Slackware/Chrome Mozilla/5.0 (X11; U; Linux x86_64; en-US)"

There is also an on-the-fly setting in the developer tools.

Edit:
Nevermind, it doesn't appear to be reliable.

abrinister 08-24-2012 04:37 PM

To set this up on Opera, do the following:

In URL bar:

Code:

opera:config
Look for the ISP submenu

Enter this in the field:

Code:

Opera/9.80 (X11; Linux x86_64; U; <your distro here>; en-US) Presto/2.7.62 Version/11.00
Alex Brinister

abrinister 08-24-2012 04:48 PM

Quote:

Nevermind, it doesn't appear to be reliable.
Couldn't agree more.

Alex Brinister

byannoni 08-24-2012 04:49 PM

Quote:

Originally Posted by abrinister (Post 4763492)
Couldn't agree more.

The command line argument seems to be working better, though.

Edit:
Seeing as I'm not using Slackware right now.

abrinister 08-24-2012 04:52 PM

Are you using vanilla Chrome or Chromium? It doesn't seem to be working with Chromium. If I use that command-line argument, Chromium tells me that it's unable to connect to a proxy server (????).

Alex Brinister

byannoni 08-24-2012 04:56 PM

I'm using Chromium from the official repos.
Try this one:
Code:

Arch/Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.81 Safari/537.1
It is a bit more sophisticated.

Template:
Code:

<OS>/Mozilla/5.0 (X11; Linux <arch_only_if_x64>) AppleWebKit/<webkit_ver> (KHTML, like Gecko) Chrome/<chrome_ver> Safari/<webkit_ver>

abrinister 08-24-2012 04:58 PM

Still the same proxy error.


Alex Brinister

byannoni 08-24-2012 05:02 PM

Maybe try it without Tor?

What is the error?

Edit:
Also, go into proxy settings and clear them if they aren't already.

abrinister 08-24-2012 05:03 PM

Ha, you got me!

Quote:

Unable to connect to the proxy server
A proxy server is a server that acts as an intermediary between your computer and other servers. Right now, your system is configured to use a proxy, but Chromium can't connect to it.
Here are some suggestions:
If you use a proxy server, check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don't believe you should be using a proxy server, adjust your proxy settings: Go to the wrench menu > Settings > Show advanced settings... > Change proxy settings... and make sure your configuration is set to "no proxy" or "direct."
Error 130 (net::ERR_PROXY_CONNECTION_FAILED): Proxy server connection failed.
Alex Brinister

byannoni 08-24-2012 05:04 PM

Quote:

Go to the wrench menu > Settings > Show advanced settings... > Change proxy settings... and make sure your configuration is set to "no proxy" or "direct."
^This

abrinister 08-24-2012 05:08 PM

Quote:

When running Chromium under a supported desktop environment, the system proxy settings will be used. However, either your system is not supported or there was a problem launching your system configuration.

But you can still configure via the command line. Please see man chromium for more information on flags and environment variables.
I think I'm having an issue with DBUS as well.

Code:

[fluffypony@0xffeDAEMONPAWNY1969 ~]$ chromium --user-agent="Arch/Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.81 Safari/537.1"
[16191:16204:22404881411:ERROR:object_proxy.cc(495)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/NetworkManager: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
[16246:16249:22412211270:ERROR:object_proxy.cc(495)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/NetworkManager: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1

Maybe I should open a new thread for this...

Alex Brinister


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