ubuntu-users Digest, Vol 72, Issue 176
eddydjingga at hotmail.com
eddydjingga at hotmail.com
Mon Aug 23 13:19:47 UTC 2010
Sent from my BlackBerry® smartphone from Sinyal Bagus XL, Nyambung Teruuusss...!
-----Original Message-----
From: ubuntu-users-request at lists.ubuntu.com
Sender: ubuntu-users-bounces at lists.ubuntu.com
Date: Mon, 23 Aug 2010 14:03:19
To: <ubuntu-users at lists.ubuntu.com>
Reply-To: ubuntu-users at lists.ubuntu.com
Subject: ubuntu-users Digest, Vol 72, Issue 176
Send ubuntu-users mailing list submissions to
ubuntu-users at lists.ubuntu.com
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
or, via email, send a message with subject or body 'help' to
ubuntu-users-request at lists.ubuntu.com
You can reach the person managing the list at
ubuntu-users-owner at lists.ubuntu.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of ubuntu-users digest..."
Today's Topics:
1. Re: Ubuntu 10.04.1 LTS released (Karl Larsen)
2. Re: script help (Basil Chupin)
3. Re: Button number assignments - where are they specified?
(Chris G)
4. Re: script help (kosaidpo)
5. Re: script help (C de-Avillez)
6. Re: How to install acrobat reader on ubuntu 10.04? (Alan Holt)
7. Re: script help (Cameron Hutchison)
8. Re: Button number assignments - where are they specified?
(Karl Larsen)
9. Linux programming (GaryT)
----------------------------------------------------------------------
Message: 1
Date: Mon, 23 Aug 2010 06:17:32 -0600
From: Karl Larsen <klarsen1 at gmail.com>
Subject: Re: Ubuntu 10.04.1 LTS released
To: "Ubuntu user technical support, not for general discussions"
<ubuntu-users at lists.ubuntu.com>
Message-ID: <4C7266DC.5030405 at gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 08/23/2010 03:23 AM, ms wrote:
> On 23/08/10 02:26, Johnneylee Rollins wrote:
>
>> On Sun, Aug 22, 2010 at 6:20 PM, Karl Larsen<klarsen1 at gmail.com> wrote:
>>
>>> On 08/22/2010 05:39 PM, ms wrote:
>>>
>>>> On 21/08/10 11:26, Res wrote:
>>>>
>>>>
>>>>> On Fri, 20 Aug 2010, Karl Larsen wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Hard to believe since I wrote only 8 emails to this list this
>>>>>> week and cannot see how they could do so much damage. If your so
>>>>>> worried about my misleading other users by all means you need to correct
>>>>>> what I write. Then maybe I can learn as well
>>>>>>
>>>>>>
>>>>>>
>>>>> or, you could STFU and stay out of what you know nothing about, there are
>>>>> many knowledgable folk here who will answer people with their need for
>>>>> help and will learn the right way, and, you too can learn the right way by
>>>>> reading those replies, you far too often but in when you know nothing
>>>>> about it, throwing in ' thoughts of what might be, in your opinion '
>>>>> thats dangerous, Karl, this has been brought to your attention many a time
>>>>> before, its about time you listened to them.
>>>>>
>>>>>
>>>>>
>>>> Can't just the guy be banned from the list? I think there is consensus
>>>> he's a net negative.
>>>>
>>>>
>>>>
>>>>
>>> Better that you be banned. I am NOT a net negative. I have been
>>> on this list from well before you were old enough to send your first
>>> message with trash.
>>>
>> Isn't that just a testament to how long you've been polluting the list?
>> Also, no one is getting banned, just stop your stupid damn whining.
>> Lol, old people these days. :(
>> They just ain't what they used to be, or in this case, maybe they are.
>> Once a troll...
>>
>> ~SpaceGhost
>>
>>
> No, I mean, isn't there a mail blocking mechanism? A way for stuff to be
> filtered out?
> This is a technical, public mailing list. People look for help here. If
> people pollute it with false and misleading information, repeatidly,
> this has to be stopped for the good of the service. It's a real problem.
> It's even worse than spam.
>
> m.
>
>
This message contains no questions or answers about the Ubuntu
Operating system. It should not be on this list. Please stop doing this.
Thank you.
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
Key ID = 3951B48D
------------------------------
Message: 2
Date: Mon, 23 Aug 2010 22:20:23 +1000
From: Basil Chupin <blchupin at iinet.net.au>
Subject: Re: script help
To: ubuntu-users at lists.ubuntu.com
Message-ID: <4C726787.3010207 at iinet.net.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
On 23/08/2010 22:10, kosaidpo wrote:
> sorry no idea you shud ask someninja bash i guess but i never heard
> abt a function or sumthin to
>
> retrieve a patern
>
> good luck
>
I am most curious: which language was the above written in?
BC
--
Were you successful?
At age 4 success is.....not piddling in your pants.
At age 12 success is....having friends.
At age 17 success is....having a drivers licence.
At age 35 success is....having money.
At age 50 success is....having money.
At age 70 success is....having a drivers licence.
At age 75 success is....having friends.
At age 80 success is....not piddling in your pants.
------------------------------
Message: 3
Date: Mon, 23 Aug 2010 13:22:26 +0100
From: Chris G <cl at isbd.net>
Subject: Re: Button number assignments - where are they specified?
To: ubuntu-users at lists.ubuntu.com
Message-ID: <20100823122226.GC11437 at chris>
Content-Type: text/plain; charset=us-ascii
On Sun, Aug 22, 2010 at 04:08:05PM -0700, NoOp wrote:
> On 08/22/2010 07:01 AM, Chris G wrote:
> > Where are the mouse button actions defined? I.e. where is it defined
> > that a double-click of button 1 will select a word and a single click
> > of button 2 (middle) will paste it?
> >
> > Alternatively (and better for what I want to do probably) where are
> > the button numbers assigned to 'Left', 'Middle' and 'Right'?
> >
>
> Short answer is on Lucid I don't know. However, you might try:
> http://packages.ubuntu.com/lucid/gpointing-device-settings
Hmm, still doesn't allow me to assign functions to buttons, all it
does is emulate other things with the existing buttons.
> and
> <http://www.google.com/search?hl=en&complete=0&q=ubuntu+%2Blucid+%2Bmouse+configuration&btnG=Search>
>
That might be useful but hacking around with xorg.conf isn't really my
cup of tea. :-)
> Also in https://help.ubuntu.com/ search for 'xorg +mouse +10.04'
> and you might find some helpful info that may not apply directly to your
> mouse, but may give you some hints on how to configure. Example:
> https://help.ubuntu.com/community/Logitech_Marblemouse_USB
>
I had found that last one already, unfortunately it only does some of
what I'm trying to do. The remapping of the mouse buttons is actually
much easier if you use xmodmap, just put the following in the .Xmodmap
file and it happens automagically:-
pointer = 1 8 3 4 5 6 7 2 9 10
But the other bit I want to do is assign the "select a word" to button
9 rather than having it assigned to a double-click of button 1. Doing
the other way about (making button 9 pretend to be a double-click of
button 1) is a messy bodge which I got working in 9.04 and 9.10 but no
longer works in 10.04.
--
Chris Green
------------------------------
Message: 4
Date: Mon, 23 Aug 2010 16:53:43 +0430
From: kosaidpo <kosaidpo at gmail.com>
Subject: Re: script help
To: "Ubuntu user technical support, not for general discussions"
<ubuntu-users at lists.ubuntu.com>
Message-ID:
<AANLkTim+jeVs2kbYFJEUVpsU8SM137D5v=89zTWHB+XR at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
I am most curious: which language was the above written in?
its shell
------------------------------
Message: 5
Date: Mon, 23 Aug 2010 07:23:41 -0500
From: C de-Avillez <hggdh2 at ubuntu.com>
Subject: Re: script help
To: ubuntu-users at lists.ubuntu.com
Message-ID: <20100823072341.08e60bc4 at xango2>
Content-Type: text/plain; charset="us-ascii"
On Mon, 23 Aug 2010 12:41:34 +0100
Oliver Marshall <Oliver.Marshall at g2support.com> wrote:
> I can find an occurrence of the pattern string itself, but what's
> foxing me is extracting just the pattern values and then removing
> the "." characters to leave me with just the pattern numbers. ie
> from "Win vxx.yy.zz" to "xxyyzz"
man tr
$ echo "12.23.45.67" | tr -d "."
12234567
$
Cheers,
--
C de-Avillez
IRC: hggdh
This email (and any attachments) is digitally signed using GNUpg
(http://gnupg.org). The public key is available at http://pgp.mit.edu.
The key Id is 0xD3133E56.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100823/4fd8de00/attachment-0001.pgp
------------------------------
Message: 6
Date: Mon, 23 Aug 2010 15:29:48 +0300
From: Alan Holt <berber.it at gmail.com>
Subject: Re: How to install acrobat reader on ubuntu 10.04?
To: "Ubuntu user technical support, not for general discussions"
<ubuntu-users at lists.ubuntu.com>
Message-ID:
<AANLkTikksog3hY6D6HZF9-OwbVwSUWqm8pzcmN-Dv-JF at mail.gmail.com>
Content-Type: text/plain; charset="koi8-r"
Is good way too
On Sun, Aug 22, 2010 at 8:32 PM, NoOp <glgxg at sbcglobal.net> wrote:
> On 08/22/2010 02:50 AM, Peng Yu wrote:
> > Hi,
> >
> > I read the following document and want to install ubuntu. I'd prefer
> > Option 1. But I can't do "Navigate to System > Administration >
> > Software Sources" as I'm operating my machine remotely. I'm wondering
> > what would be the equivalent commands in a shell?
> >
> >
> http://ubuntu-tutorials.com/2010/07/11/install-adobe-reader-9-3-2-on-ubuntu-10-04-lts-lucid-lynx/
> >
>
> When you say "operating my machine remotely" how are you doing this?
> I'll assume ssh for lack of any other information.
>
> $ ssh -X <username>@<remote>
>
> $ gksu synaptic
>
> and then do Option #1.
>
> Or solely via cli:
>
> $ gksu gedit /etc/apt/sources.list
> [or use nano if you prefer]
> and edit to ensure that these lines are in the soures.list file:
>
> deb http://archive.canonical.com/ lucid partner
> deb-src http://archive.canonical.com/ lucid partner
>
> save the file. Then:
>
> $ sudo apt-get update && sudo apt-get upgrade
> $ sudo apt-get install acroread
>
> $ apt-cache policy acroread
> acroread:
> Installed: 9.3.3-1lucid1
> Candidate: 9.3.3-1lucid1
> Version table:
> *** 9.3.3-1lucid1 0
> 500 http://archive.canonical.com/ lucid/partner Packages
> 100 /var/lib/dpkg/status
>
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
--
??? - ??? ??????!
www.linuxspace.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100823/cba1a885/attachment-0001.htm
------------------------------
Message: 7
Date: Mon, 23 Aug 2010 12:31:39 -0000
From: Cameron Hutchison <lists at xdna.net>
Subject: Re: script help
To: ubuntu-users at lists.ubuntu.com
Message-ID: <5057.4c726a2b.d7af5 at getafix.xdna.net>
Oliver Marshall <Oliver.Marshall at g2support.com> writes:
>Hi chaps,
>Can someone help me with a script/grep syntax please? I have a string within an HTML file downloaded by wget.
>The string is "Antivirus Pattern - Win vx.yyy.z"
>I need to find that string and then pass "xyyyz" to the console pass to the next command in the chain (note the lack of v and the ".").
>Any ideas how I can do this ?
sed is the right tool for this job (not grep).
sed -n 's/^.*Antivirus Pattern - Win v\(.\)\.\(...\)\.\(.\).*/\1\2\3/p' wget_file.html
where wget_file.html is the HTML file you downloaded with wget.
To break this down:
sed -n : this runs sed, telling it not to output lines unless told to do so
's/XXX/YYY/p' : substitute XXX for YYY and print the line (overrides sed -n)
\(XXX\) : The part between \( and \) is matched and assigned to the
next "group" by number
\1 : substitute the value of group 1. Can be from 1 to 9
The sed pattern matches three groups because that is the data we want to
extract. I placed dots (.) in the groups to say "match any character"
for each dot. You can make this more specific by using [0-9] for
instance if you know that x, yyy and z are only numbers. (Note that I
"escaped" the actual dots in the string (\.), because a dot on its own
matches any character - thats why there are a lot of backslashes there).
The replacement string consists of the three matched groups only
(\1\2\3). All the other text on the line is discarded.
Any lines that do not match the pattern are not printed (sed -n).
The next step is passing this to the next command, either with a pipe if
it is to go to stdin of the next command, or in the parens in $() if
they are to go on the command line of the next command.
------------------------------
Message: 8
Date: Mon, 23 Aug 2010 06:33:43 -0600
From: Karl Larsen <klarsen1 at gmail.com>
Subject: Re: Button number assignments - where are they specified?
To: "Ubuntu user technical support, not for general discussions"
<ubuntu-users at lists.ubuntu.com>
Message-ID: <4C726AA7.6080902 at gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 08/23/2010 06:22 AM, Chris G wrote:
> On Sun, Aug 22, 2010 at 04:08:05PM -0700, NoOp wrote:
>
>> On 08/22/2010 07:01 AM, Chris G wrote:
>>
>>> Where are the mouse button actions defined? I.e. where is it defined
>>> that a double-click of button 1 will select a word and a single click
>>> of button 2 (middle) will paste it?
>>>
>>> Alternatively (and better for what I want to do probably) where are
>>> the button numbers assigned to 'Left', 'Middle' and 'Right'?
>>>
>>>
>> Short answer is on Lucid I don't know. However, you might try:
>> http://packages.ubuntu.com/lucid/gpointing-device-settings
>>
> Hmm, still doesn't allow me to assign functions to buttons, all it
> does is emulate other things with the existing buttons.
>
> I use the mouse to set the the mouse. Click on System-Preferences-Mouse and a panel comes up that lets you adjust what the mouse can do. Or change it.
>
73 Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
Key ID = 3951B48D
------------------------------
Message: 9
Date: Mon, 23 Aug 2010 23:03:29 +1000
From: GaryT <taig at melbpc.org.au>
Subject: Linux programming
To: "Ubuntu user technical support, not for general discussions"
<ubuntu-users at lists.ubuntu.com>
Message-ID: <4C7271A1.9080503 at melbpc.org.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Is there a discussion list for Linux programmers?
TIA
GaryT
------------------------------
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
End of ubuntu-users Digest, Vol 72, Issue 176
*********************************************
More information about the ubuntu-users
mailing list