LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-15-2014, 02:47 PM   #1
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
useragent setting to get Debian logo


I think I've asked this before but failed to note it down. As you can see I no longer have the Debian logo illuminating my posts. For whatever reason my Iceweasel configuration is not supplying the correct value for some variable. My general.useragent.switch is set to Mozilla/5.0 (X11; Debian Linux x86_64; rv:5.0.0) Gecko/20100101 Firefox/5.0.0/Debian Linux Iceweasel/5.0/Debian Linux. There must be something else that's missing but what?
jdk
 
Old 12-15-2014, 02:53 PM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Go to about:config (type it in the address bar & press return) then right-click on the list & select New → String and type "general.useragent.override" and modify to your needs.
http://www.howtogeek.com/113439/how-...Speed=noscript

Well, that's how I got my Arch logo to show up, anyway...

Last edited by Head_on_a_Stick; 12-15-2014 at 02:54 PM.
 
1 members found this post helpful.
Old 12-16-2014, 01:56 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Original Poster
Rep: Reputation: Disabled
Thanks HoaS but that doesn't appear to work as you can see for yourself.
jdk
 
Old 12-16-2014, 02:13 AM   #4
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by jdkaye View Post
Thanks HoaS but that doesn't appear to work as you can see for yourself.
jdk
Works for my Slackware and FreeBSD machines with Firefox.

Curious, what do you have in general.useragent.override?
 
Old 12-16-2014, 02:31 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Or you can create a ~/.mozilla/firefox/<random characters>/user.js file, containing:
Code:
user_pref("general.useragent.override", "Mozilla/5.0 (X11; Debian Linux x86_64; rv:5.0.0) Gecko/20100101 Firefox/5.0.0/Debian Linux Iceweasel/5.0/Debian Linux");
Regards
 
Old 12-16-2014, 02:40 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by astrogeek View Post
Works for my Slackware and FreeBSD machines with Firefox.

Curious, what do you have in general.useragent.override?
The same value that I have for general.useragent.switch which you see in post #1. What value were you expecting?
jdk
 
Old 12-16-2014, 02:41 AM   #7
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Original Poster
Rep: Reputation: Disabled
Second time lucky. Maybe it just takes a while to take effect.
Thanks to everyone.
jdk
 
Old 12-16-2014, 02:42 AM   #8
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by jdkaye View Post
The same value that I have for general.useragent.switch which you see in post #1. What value were you expecting?
jdk
Just trying to be explicit about what was there.

Glad it is now working!

Last edited by astrogeek; 12-16-2014 at 02:48 AM.
 
Old 12-16-2014, 02:54 AM   #9
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by astrogeek View Post
Just trying to be explicit about what was there.

Glad it is now working!
It's appreciated. Thanks.
jdk
 
Old 12-16-2014, 10:30 AM   #10
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,125
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Testing my logo...
 
Old 12-16-2014, 11:43 AM   #11
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Original Poster
Rep: Reputation: Disabled
Looking good, replica.
jdk
 
Old 12-18-2014, 12:42 PM   #12
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Original Poster
Rep: Reputation: Disabled
Sorry people but I had to remove the [SOLVED] tag. The "fix" using general.useragent.override is not permanent. The general.useragent.override string is not persistent and disappears (I guess) whenever Iceweasel is shut down.

I'll try bathory's suggestion and create a user.js file for the general.useragent.override and see if that fix is more permanent. I'll report back on how it works and (hopefully) put back the [SOLVED] tag.
jdk
 
Old 12-18-2014, 12:58 PM   #13
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
To muddy the waters, and I know I am "pushing it" I tend to use Firefox on Debian.
I think the answer is to just accept the logo and get on with things(sorry, I am British, it's what I do).
 
Old 12-18-2014, 12:59 PM   #14
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,125
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
This worked years ago, but that string doesn't seem to exist for my Firefox now.

https://www.linuxquestions.org/quest...irefox-665401/
 
Old 12-18-2014, 02:48 PM   #15
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Original Poster
Rep: Reputation: Disabled
Hats off to bathory. It appears to be working. I'll give it a day or so and if it still does the job, I'll declare this thread solved again.
@273 (sorry I'm British as well so the bulldog will come out on occasion and I get stubborn)
jdk

Last edited by jdkaye; 12-18-2014 at 02:50 PM.
 
  


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
Browser UserAgent Change For the Slackware Logo on LQ rworkman Slackware 110 09-23-2009 05:59 AM
Disabling Startup logo (Tux) in Debian SheppardArc Linux - Newbie 3 06-15-2009 02:52 AM
Debian Logo freezes the system Rutnut Debian 1 07-09-2005 12:06 AM
No more Debian ascii logo at login Peff Debian 2 06-30-2005 06:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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