No console mouse support in Midnight Commander
Steven P. Ulrick
lists-fedora at afolkey2.net
Sat Oct 9 17:31:48 UTC 2010
> On 10/09/2010 05:07 AM, Steven P. Ulrick wrote:
> >>
> >> On 01/-10/-28163 11:59 AM, Steven P. Ulrick wrote:
> >>>> On 01/-10/-28163 11:59 AM, Hiisi wrote:
> >>>>> 2010/10/8 Silent-Hunter<cheery314 at hotmail.com>:
> >>>>>> Unless I use sudo. It's weird, it only works if I use sudo.
Otherwise,
> >>>>>> no mouse in MC. Is it a permissions thing? If so, how do I fix it?
> >>>>> I have no such problem:
> >>>>> mc-4.7.4-1.fc12.i686
> >>>>> gpm-1.20.6-9.fc12.i686
> >>>>> Have you installed mc and gpm by yum?
> >>>> Yes. I have installed both of them. The mouse works for copy/paste, but
> >>>> not for clicking on items to select them, which it does if I use sudo.
> >>> I have not had any luck getting console mouse support to work with Fedora
> > for
> >>> quite a few releases now. BUT, the muse struck me, and I gave it another
> >>> chance...
> >>>
> >>> I did the following:
> >>> 1. "yum install gpm"
> >>> 2. "/etc/init.d/gmp start"
> >>> 3. Pressed "Ctrl | Alt | F2"
> >>> 4. "su" into root.
> >>> 5. Started "mc"
> >>> 6. Result? For the first time in years, I have console mouse support in
> > Fedora
> >>> :) I can do everything with the mouse in "mc" in Console mode that I can
do
> >>> with the mouse when I am in graphical mode.
> >>>
> >>> But, you might already have tried all of this...
> >>>
> >>> Steven P. Ulrick
> >>>
> >> I have. I want to be able to do it without having to be root.
> >
> > Thank you for that clarification. I just tried Midnight Commander in Console
> > mode. This time, I did NOT log in as root. I just logged in as myself, a
> > regular, non-priviledged user. I discovered that mouse support works the
same
> > for me in Console mode whether I am root or not. Translation: at least on
my
> > system, for some reason Console mouse support works perfectly in Midnight
> > Commander when I am logged in as a regular user.
>
> What are the file permissions on /dev/input/mouse(n) and mice? Maybe
> there's a clue here.
Here it is:
steve at localhost ~$ ls -lh /dev/input/mouse0
crw-r----- 1 root root 13, 32 Oct 9 09:56 /dev/input/mouse0
steve at localhost ~$ ls -lh /dev/input/mice
crw-r----- 1 root root 13, 63 Oct 9 09:56 /dev/input/mice
steve at localhost ~$
Just to clarify for everyone following this, mouse support works perfectly for
me in console mode Midnight Commander as root AND as a regular user. This is on
Fedora 13 with SELinux disabled.
Steven P. Ulrick
More information about the users
mailing list