LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Closed Thread
  Search this Thread
Old 09-14-2010, 12:57 AM   #586
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,144
Blog Entries: 21

Rep: Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482

Test AntiX
 
Old 09-14-2010, 12:58 AM   #587
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,144
Blog Entries: 21

Rep: Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482
Test Debian
 
Old 09-14-2010, 12:59 AM   #588
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,144
Blog Entries: 21

Rep: Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482
Test Mepis
 
Old 09-14-2010, 01:31 AM   #589
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,144
Blog Entries: 21

Rep: Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482
last
 
Old 09-14-2010, 04:31 PM   #590
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Rep: Reputation: 41
Testing Arch Linux, using Konqueror from the KDEmod legacy repository because I like KDE3.5 better than any KDE4.x
 
Old 09-14-2010, 04:42 PM   #591
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Yeah, how do you set the useragent string in Konqueror...? I haven't found an option to do that.
 
Old 09-14-2010, 05:34 PM   #592
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Rep: Reputation: 41
Not sure if it's still applicable for the KDE4.x series Konqueror, but the legacy 3.5 one you go Settings >> Configure Konqueror, Go to the Browser Identification part, and just check or uncheck the options. To get Arch to work, you need to check both 'Add Operating System Name' and 'Add Operating System Version'
 
Old 09-14-2010, 05:51 PM   #593
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Posting from Mandriva One 2010 KDE in Konqueror, with all useragent settings checked.

Icon? Nope.

There appears to be no way of editing the useragent string directly. I tried using the site-specific options, but even then it wouldn't let me edit the string manually.

Last edited by MrCode; 09-14-2010 at 05:53 PM.
 
Old 09-14-2010, 07:16 PM   #594
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Settings->Configure Konqueror...->Browser Identification
 
Old 09-14-2010, 07:52 PM   #595
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Quote:
Originally Posted by MrCode View Post
Posting from Mandriva One 2010 KDE in Konqueror, with all useragent settings checked.

Icon? Nope.

There appears to be no way of editing the useragent string directly. I tried using the site-specific options, but even then it wouldn't let me edit the string manually.
The file that gets modified when you do site specific identification is ~/.kde/share/config/kio_httprc. Here is mine for instance
Code:
UserAgentKeys=o

[$Version]
update_info=kioslave.upd:kde2.2/r1,kioslave.upd:kde2.2/r2

[www.linuxquestions.org]
UserAgent=Slackware/current Mozilla/5.0 (X11; U; i686 Linux; en_US; rv:1.9.2) Gecko/20100115 Firefox/3.6
This was posted from konqueror.
 
Old 09-14-2010, 08:13 PM   #596
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Okay, edited kio_httprc, posting again from Mandriva...

Icon? Awesome!

This is the useragent line:

Code:
[www.linuxquestions.org]
UserAgent=Mandriva 2010 Mozilla/5.0 (compatible; Konqueror/4.4 Linux; i686) KHTNL/4.4.3 (like Gecko)
Mostly I just wanted to know how to do this for future reference, if I ever hop over to a distro that uses KDE (or if I decide to install KDE/Konqueror on my Arch host; this was posted from a virtual machine).

IIRC there's also a way to set the useragent manually in Chrome(ium), but I think it's just via a command-line option (I think it's --user-agent=<useragent string here> or something).

Last edited by MrCode; 09-14-2010 at 08:17 PM.
 
Old 09-14-2010, 08:18 PM   #597
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
If I set Chrom(e|ium)'s user agent using the command line option, will it be remembered or do I have to enter it every time I launch it?
 
Old 09-14-2010, 08:21 PM   #598
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
(back to Arch/FF)

If you set your launcher's command line (the command that gets executed whenever you (double-)click the launcher on the desktop/panel/whatever) to include the --user-agent=<UA> line, that should do the trick.
 
Old 09-14-2010, 08:22 PM   #599
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by MrCode View Post
(back to Arch/FF)

If you set your launcher's command line (the command that gets executed whenever you (double-)click the launcher on the desktop/panel/whatever) to include the --user-agent=<UA> line, that should do the trick.
But I don't use a launcher with a configurable command!
 
Old 09-14-2010, 08:42 PM   #600
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Quote:
Originally Posted by MTK358 View Post
But I don't use a launcher with a configurable command!
What are you using? If openbox is like fluxbox then in the executed command it can be edited to include the useragent string. Otherwise you need to use an alias from the command line. But somewhere an icon or a menu entry ought to be tied to what is essentially a shell command... right?
 
  


Closed Thread



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
gawk related issue scbops Programming 6 08-17-2007 10:45 AM
Help me diagnose this internet problem (DNS related) WebGraphics Linux - Networking 9 06-01-2007 11:33 AM
NFS related issue push19180 Linux - Networking 1 05-19-2006 07:36 AM
process related issue LinuxRam Linux - Networking 1 09-12-2004 04:24 PM
configure qt thread issue (just compiled qt w/ -thread option) cleff Linux - Software 8 05-07-2004 11:11 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

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