Display Slackware logo when posting from a Slackware machine?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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");
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");
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");
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.