FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-20-2008, 03:56 PM
fedora
 
Default fedora 9: left handed mouse after resuming from hibernate

hi every

bug report is in https://bugzilla.redhat.com/show_bug.cgi?id=442250

my workaround: after resuming, run the following script:

<script>
#!/bin/sh
# This command will swap the buttons of ALL mouses under KDE

xmodmap -e "pointer = 3 2 1 4 5"
xmodmap -e "pointer = 3 2 1 4 5"
</script>

no typo: you must run the command twice...

this is called heuristical computing, if you catch my meaning...

suomi

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-20-2008, 04:06 PM
Frank Murphy
 
Default fedora 9: left handed mouse after resuming from hibernate

On Fri, 2008-06-20 at 17:56 +0200, fedora wrote:
> hi every
>
> bug report is in https://bugzilla.redhat.com/show_bug.cgi?id=442250
>
> my workaround: after resuming, run the following script:
>
> <script>
> #!/bin/sh
> # This command will swap the buttons of ALL mouses under KDE
>
> xmodmap -e "pointer = 3 2 1 4 5"
> xmodmap -e "pointer = 3 2 1 4 5"


No faster than using the applet.
Now if it could run automagically after, F9 picking up the mouse again.
That would be nice.

Thanks for the script.

Frank


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-21-2008, 06:02 AM
Tim
 
Default fedora 9: left handed mouse after resuming from hibernate

On Fri, 2008-06-20 at 17:56 +0200, fedora wrote:
> my workaround: after resuming, run the following script:

Have you tried putting your script into one of the power management
script directories [1], so it gets run automatically?

Obviously the real fault should be fixed, but in the meantime...

1. One of the sub-directories inside /etc/pm/

--
[tim@localhost ~]$ uname -r
2.6.25.6-55.fc9.i686

Don't send private replies to my address, the mailbox is ignored. I
read messages from the public lists.



--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-21-2008, 09:48 AM
Frank Murphy
 
Default fedora 9: left handed mouse after resuming from hibernate

On Sat, 2008-06-21 at 15:32 +0930, Tim wrote:
> On Fri, 2008-06-20 at 17:56 +0200, fedora wrote:
> > my workaround: after resuming, run the following script:
>
> Have you tried putting your script into one of the power management
> script directories [1], so it gets run automatically?
>
> Obviously the real fault should be fixed, but in the meantime...
>
> 1. One of the sub-directories inside /etc/pm/

If script was put there would it need any ext .sh etc..,
am thinking /etc/pm/config.d
As here it not a resume just losing the setup after using kvm.
(no coder here)

Frank

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-24-2008, 09:47 AM
Tim
 
Default fedora 9: left handed mouse after resuming from hibernate

Tim:
>> Have you tried putting your script into one of the power management
>> script directories [1], so it gets run automatically?

Frank Murphy:
> If script was put there would it need any ext .sh etc..,
> am thinking /etc/pm/config.d
> As here it not a resume just losing the setup after using kvm.
> (no coder here)

On my Fedora 7 laptop, I have a script in /etc/pm/sleep.d/ for
re-applying some parameters to my hard drive after a wakeup. You could
use it as a template, changing the (hdparm) command line to whatever
commands you were using to fix your problem.


#!/bin/bash

case "$1" in

thaw|resume)
/sbin/hdparm -B255 /dev/sda
;;

*)
;;

esac

exit $?


The file permissions are rwx-r-xr-x. Though I suspect it only needs to
be executable by root, I haven't bothered testing.

--
(This computer runs FC7, my others run FC4, FC5 & FC6, all using Gnome
in case that's important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 05:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org