maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] User Agent Tool - change Maemo Browser's user agent (https://talk.maemo.org/showthread.php?t=86714)

vetsin 2012-12-11 17:12

Re: [Announce] User Agent Tool - change Maemo Browser's user agent
 
hi!
got this during installation:
/home/user # apt-get install useragenttool
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
useragenttool
0 upgraded, 1 newly installed, 0 to remove and 45 not upgraded.
Need to get 35.3kB of archives.
After this operation, 168kB of additional disk space will be used.
Get:1 http://repository.maemo.org fremantle/free useragenttool 1.1.0 [35.3kB]
Fetched 35.3kB in 1s (20.5kB/s)
Selecting previously deselected package useragenttool.
(Reading database ... 52656 files and directories currently installed.)
Unpacking useragenttool (from .../useragenttool_1.1.0_armel.deb) ...
Setting up useragenttool (1.1.0) ...
chown: invalid option -- f
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) multi-call binary

Usage: chown [-RhLHP]... OWNER[<.|:>[GROUP]] FILE...

dpkg: error processing useragenttool (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
useragenttool
E: Sub-process /usr/bin/dpkg returned an error code (1)
/home/user #

the tool itself seems to launch fine but i haven't tested running the browser from the tool (time for bed again. hehe)
it also starts slower than before and the X button for closing the tool window's missing. thanks!

marmistrz 2012-12-11 17:24

Re: [Announce] User Agent Tool - change Maemo Browser's user agent
 
Quote:

Originally Posted by vetsin (Post 1303551)
hi!
got this during installation:
/home/user # apt-get install useragenttool
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
useragenttool
0 upgraded, 1 newly installed, 0 to remove and 45 not upgraded.
Need to get 35.3kB of archives.
After this operation, 168kB of additional disk space will be used.
Get:1 http://repository.maemo.org fremantle/free useragenttool 1.1.0 [35.3kB]
Fetched 35.3kB in 1s (20.5kB/s)
Selecting previously deselected package useragenttool.
(Reading database ... 52656 files and directories currently installed.)
Unpacking useragenttool (from .../useragenttool_1.1.0_armel.deb) ...
Setting up useragenttool (1.1.0) ...
chown: invalid option -- f
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) multi-call binary

Usage: chown [-RhLHP]... OWNER[<.|:>[GROUP]] FILE...

dpkg: error processing useragenttool (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
useragenttool
E: Sub-process /usr/bin/dpkg returned an error code (1)
/home/user #

the tool itself seems to launch fine but i haven't tested running the browser from the tool (time for bed again. hehe)
it also starts slower than before and the X button for closing the tool window's missing. thanks!

It's pagestackwindow app, so there's no x. tap left & right corner to minimize & quit. It's qt components so it launches a while. And there's no animation with settings applet...

I'll fix it 2moro

demolition 2012-12-12 14:30

Re: [Announce] User Agent Tool - change Maemo Browser's user agent
 
Pretty much a repeat of Vetsin's comment but I did "dpkg --purge", to remove it completely first.
Code:

/home/user # dpkg -l | grep useragent
/home/user # dpkg -i useragenttool_1.1.0_armel.deb
Selecting previously deselected package useragenttool.
(Reading database ... 60183 files and directories currently installed.)
Unpacking useragenttool (from useragenttool_1.1.0_armel.deb) ...
Setting up useragenttool (1.1.0) ...
chown: invalid option -- f
BusyBox v1.20.2 (Debian 1.20.2power5) multi-call binary.

Usage: chown [-RhLHP]... OWNER[<.|:>[GROUP]] FILE...

Change the owner and/or group of each FILE to OWNER and/or GROUP

        -R        Recurse
        -h        Affect symlinks instead of symlink targets
        -L        Traverse all symlinks to directories
        -H        Traverse symlinks on command line only
        -P        Don't traverse symlinks (default)

dpkg: error processing useragenttool (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 useragenttool
/home/user #

Why does user agent tool need to use chown, when other programmes don't?

marmistrz 2012-12-12 15:08

Re: [Announce] User Agent Tool - change Maemo Browser's user agent
 
Quote:

Originally Posted by demolition (Post 1303817)
Pretty much a repeat of Vetsin's comment but I did "dpkg --purge", to remove it completely first.
Code:

/home/user # dpkg -l | grep useragent
/home/user # dpkg -i useragenttool_1.1.0_armel.deb
Selecting previously deselected package useragenttool.
(Reading database ... 60183 files and directories currently installed.)
Unpacking useragenttool (from useragenttool_1.1.0_armel.deb) ...
Setting up useragenttool (1.1.0) ...
chown: invalid option -- f
BusyBox v1.20.2 (Debian 1.20.2power5) multi-call binary.

Usage: chown [-RhLHP]... OWNER[<.|:>[GROUP]] FILE...

Change the owner and/or group of each FILE to OWNER and/or GROUP

        -R        Recurse
        -h        Affect symlinks instead of symlink targets
        -L        Traverse all symlinks to directories
        -H        Traverse symlinks on command line only
        -P        Don't traverse symlinks (default)

dpkg: error processing useragenttool (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 useragenttool
/home/user #

Why does user agent tool need to use chown, when other programmes don't?

To make sure that the file can be edited by the user. I've just uploaded the fix. And if there are problems upgrading: just remove the -f from postinst

xcentric 2013-01-07 09:14

Re: [Announce] User Agent Tool - change Maemo Browser's user agent
 
Quote:

Originally Posted by marmistrz (Post 1263673)
Hi,

I'd like to announce my brand new app, User Agent Tool.

Why is it better than Hide User Agent? Because it has a lot of presets. You can pretend to be an iPhone, a Galaxy S3 or Nokia Lumia 800. Some browser agents are included too!

What is an user agent? It's a string which tells the website which kind of device/browser are you. And this way you can easily fool the server!

Would you like to have an user agent included? Just let me know about it! Any feedback is appreciated!

Download: User Agent Tool in an application manager or
Code:

# apt-get install useragenttool
Source: https://gitorious.org/user-agent-tool/user-agent-tool

Special thanks:
  • sifo - for creating the icon

If you want to support this project, you can DONATE
If you can't donate but you want to support this project, please contact me.



when i type # apt-get install useragenttool in terminal it says cudnt find package useragenttool

please help, more detailed explantion will be appreciated
thanks

Tiran 2013-01-07 09:32

Re: [Announce] User Agent Tool - change Maemo Browser's user agent
 
Quote:

Originally Posted by xcentric (Post 1311809)
when i type # apt-get install useragenttool in terminal it says cudnt find package useragenttool

please help, more detailed explantion will be appreciated
thanks

@xcentric, download in MyDocs useragenttool_1.1.0-1_armel.deb and then in the terminal:
Code:

sudo gainroot
dpkg -i /home/user/MyDocs/useragenttool_1.1.0-1_armel.deb

dpkg -i /home/user/MyDocs/useragenttool_1.1.0-1_armel.deb command in one line, here has warped tag [CODE]. ;)

marmistrz 2013-01-07 10:02

Re: [Announce] User Agent Tool - change Maemo Browser's user agent
 
Quote:

Originally Posted by xcentric (Post 1311809)
when i type # apt-get install useragenttool in terminal it says cudnt find package useragenttool

please help, more detailed explantion will be appreciated
thanks

Dont download the deb, just enable extras-devel

panjgoori 2013-06-11 04:51

Re: [Announce] User Agent Tool - change Maemo Browser's user agent
 
1 Attachment(s)
after latest CSSU-T 8.1 update you app is no longer working. when applying a useragent it gives error. "Error: Permission denied"

screenshot attached.

marmistrz 2013-06-11 17:45

Re: [Announce] User Agent Tool - change Maemo Browser's user agent
 
Quote:

Originally Posted by panjgoori (Post 1351027)
after latest CSSU-T 8.1 update you app is no longer working. when applying a useragent it gives error. "Error: Permission denied"

screenshot attached.

Thanks you for reporting...
Please try reinstalling. This should do the trick.

marmistrz 2013-06-11 17:47

Re: [Announce] User Agent Tool - change Maemo Browser's user agent
 
Pushed an update which will fix the red square as in panjgoori's screenshot


All times are GMT. The time now is 08:11.

vBulletin® Version 3.8.8