LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-05-2014, 08:24 AM   #1
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Display Slackware logo when posting from a Slackware machine?


Hi,

Looks like I'm missing some vital piece of information here. How can I display the Slackware logo in an LQ message when I post from a Slackware PC? All I get is a little penguin with a question mark in it.

Cheers,

Niki
 
Old 09-05-2014, 08:30 AM   #2
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,135

Rep: Reputation: 277Reputation: 277Reputation: 277
Perhaps:

https://www.linuxquestions.org/quest...x-11-a-935679/

cheers,
 
Old 09-05-2014, 08:32 AM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660
In Firefox, go to about:config (no clue if this link will work - it doesn't, I'm removing the url tags) and right click to create a new string called general.useragent.extra.distro. The text should just be simply Slackware to change the icon.

Apparently this functionality was removed from Firefox and it now requires full editing of the UserAgent rather than appending something to the end in about:config. See my next post for the likely way to get the logo to show.

https://bugzilla.mozilla.org/show_bug.cgi?id=581008

Last edited by bassmadrigal; 09-05-2014 at 09:10 AM. Reason: First time 'round didn't work.
 
Old 09-05-2014, 08:55 AM   #4
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Thank you very much !

Edit: doesn't work.

Last edited by kikinovak; 09-05-2014 at 08:57 AM.
 
Old 09-05-2014, 09:15 AM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660
Well, after more research, it seem my previous post is no longer valid due to Mozilla removing the ability to add strings to the end of your UserAgent.

You should just be able to take your current UserAgent string and then just add [b]Slackware[/b[ before Linux x86(_64) (or in other words, modify it so instead of Linux, it shows Slackware Linux). You can do this with various UserAgent extensions or by overriding it in your prefs.js under .mozilla/firefox/*.default/prefs.js (this file needs to be modified while Firefox is not open... otherwise the changes won't be saved when you exit Firefox). Keep in mind, by modifying the UserAgent, it will not reflect any changes when you update Firefox. You will need to redo the versioning (might be easier to remove the modification, get the new string, and then modify the new UserAgent) every time you update Firefox.

user_pref("general.useragent.override", "Mozilla/5.0 (X11; Slackware Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0");
 
Old 09-05-2014, 09:16 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
Think post #2, by tronayne, in the thread linked to by mrclisdue is correct. Let's see...?
Yes. Had to refresh the page.
In ~/.mozilla/firefox/*.default/prefs.js, in my case:
Code:
user_pref("general.useragent.override", "Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0 Slackware Linux");

Last edited by brianL; 09-05-2014 at 09:22 AM.
 
1 members found this post helpful.
Old 09-05-2014, 09:23 AM   #7
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by brianL View Post
Think post #2, by tronayne, in the thread linked to by mrclisdue is correct. Let's see...?
Yes. Had to refresh the page.
In ~/.mozilla/firefox/*.default/prefs.js, in my case:
Code:
user_pref("general.useragent.override", "Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0 Slackware Linux");
Giving this a spin.

(...)

Nope.
 
Old 09-05-2014, 09:26 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
Nope?
 
Old 09-05-2014, 09:30 AM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660
Quote:
Originally Posted by kikinovak View Post
Giving this a spin.

(...)

Nope.
You have to edit the file while Firefox is closed and then start it back up. It only loads the preferences when Firefox starts, and anything that was set while Firefox was open is lost when you exit Firefox.
 
Old 09-05-2014, 09:34 AM   #10
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
Got my user agent string from here:

http://www.whatsmyuseragent.com/
 
Old 09-05-2014, 11:39 AM   #11
hegobald
LQ Newbie
 
Registered: Aug 2002
Location: Skåne
Distribution: *Bsd,Slackware
Posts: 27

Rep: Reputation: 4
Yes, there is.

Hopefully there is a Slackware logo now.

Last edited by hegobald; 09-05-2014 at 11:41 AM. Reason: to check if it worked
 
Old 09-05-2014, 12:00 PM   #12
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229
This appeared to work for me. (The changing the user agent part in Firefox, that is.)

Last edited by Richard Cranium; 09-05-2014 at 12:03 PM.
 
Old 09-05-2014, 12:09 PM   #13
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
That method used to work for me, editing about:config. But then, with one of the past firefox releases, that entry kept disappearing. That's when someone posted the solution of putting it in prefs.js.
 
Old 09-06-2014, 04:22 AM   #14
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
Edited prefs.js on my laptop, and the Slack logo wasn't appearing. Try disabling the (Firefox) Classic Theme Restorer, see if that works.
 
Old 09-06-2014, 04:28 AM   #15
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
Well?
No. WTF???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



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

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