You are not logged in.
I have the "links-g-directfb 2.2-1" package installed from here. Something really weird happens when i use links with directfb...every keystroke in the browser get duplicated - typing A would show AA, B would show up as BB, etc. - ..browsing by clicking of hyperlinks seems ok...but this keystroke behavior is extremely frustrating...i get the following in the terminal:
--
sudo links -g -driver directfb google.com
Password:
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2009 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2010-01-20 07:09)
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>...
(*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/FBDev: Found 'VESA VGA' (ID 0) with frame buffer at 0xd8000000, 3072k (MMIO 0x00000000, 0k)
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Macintosh mouse button emulatio (1) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: AT Translated Set 2 keyboard (2) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: PC Speaker (3) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Power Button (4) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Power Button (5) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: ImPS/2 Generic Wheel Mouse (6) 0.1 (directfb.org)
(*) Direct/Thread: Started 'PS/2 Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
^C(!) [12468: 0.000] --> Caught signal 2 (sent by the kernel) <--
(!!!) *** WARNING [still objects in 'Window Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
Any help would be greatly appreciated..
Last edited by erythrocyte (2010-02-04 07:50:44)
Offline
In your /etc/directfbrc (create it if it's missing), add:
disable-module=linux_input
IIRC, that will fix this problem.
Offline
In your /etc/directfbrc (create it if it's missing), add:
disable-module=linux_input
IIRC, that will fix this problem.
Thanks...that worked!
1. Is there a way to copy/paste while i'm using 'links' in directfb mode? when i'm using Xorg, i just use the context menu in the Terminal.
2. Is there a way to use 'links' in directfb mode without using sudo?
Offline
Snowman wrote:In your /etc/directfbrc (create it if it's missing), add:
disable-module=linux_input
IIRC, that will fix this problem.
Thanks...that worked!
1. Is there a way to copy/paste while i'm using 'links' in directfb mode? when i'm using Xorg, i just use the context menu in the Terminal.
you could try using gpm. It gives mouse support in console so it might work in 'links' in directfb mode.
2. Is there a way to use 'links' in directfb mode without using sudo?
Why do you need to use sudo? If it's a permision with a device in /dev, you'll probably need to add your user in a group or use a udev rule.
Offline
you could try using gpm. It gives mouse support in console so it might work in 'links' in directfb mode.
I already have gpm and I think links uses gpm by default in directfb mode...I can see my mouse cursor, but can only use it to click and highlight. The mousewheel also works for scrolling. What I miss is the ability to copy and paste.
Why do you need to use sudo? If it's a permision with a device in /dev, you'll probably need to add your user in a group or use a udev rule.
I don't know how to solve this, but running it as normal user gives me the following:
links -g -driver directfb google.com
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2009 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2010-01-20 07:09)
(!) DirectFB/core/vt: Error opening `/dev/tty0'!
--> Permission denied
(!) DirectFB/Core: Could not initialize 'system_core' core!
--> Initialization error!
Could not initialize graphics driver directfb:
Initialization error!
Would certainly appreciate any help! Thanks!
Last edited by erythrocyte (2010-02-03 09:32:39)
Offline
What "ls -l /dev/tty0" gives you?
EDIT:
Here it is:
$ ls -l /dev/tty0
crw--w---- 1 eric users 4, 0 Feb 2 16:55 /dev/tty0
And links-g-directfb starts without sudo but the mouse doesn't work at all (it might be because it is wireless).
Offline
What "ls -l /dev/tty0" gives you?
EDIT:
Here it is:
$ ls -l /dev/tty0
crw--w---- 1 eric users 4, 0 Feb 2 16:55 /dev/tty0And links-g-directfb starts without sudo but the mouse doesn't work at all (it might be because it is wireless).
Mine shows the following. And I have a P/S2 mouse and it works.
ls -l /dev/tty0
crw--w---- 1 root root 4, 0 Feb 3 13:12 /dev/tty0
I wonder if it always attaches to tty0.
And is it secure to change the permissions here?
Offline
Snowman wrote:What "ls -l /dev/tty0" gives you?
EDIT:
Here it is:
$ ls -l /dev/tty0
crw--w---- 1 eric users 4, 0 Feb 2 16:55 /dev/tty0And links-g-directfb starts without sudo but the mouse doesn't work at all (it might be because it is wireless).
Mine shows the following. And I have a P/S2 mouse and it works.
ls -l /dev/tty0 crw--w---- 1 root root 4, 0 Feb 3 13:12 /dev/tty0
I wonder if it always attaches to tty0.
And is it secure to change the permissions here?
I'm not really sure about how secure it is. You'll need to use a udev rule to change the permissions. Here:
tty0 and tty1 are owned by eric:users
tty6 is owned by root:root
the rest of the tty devices are owned by root:tty
I have no idea why my user owns those devices. Either I did something and I forgot about it or something is changing the permissions automatically. Maybe it's because I use qingy as login manager.
For security, you might want to put the device in the tty group and add your user to that group. You should add a comment on the links-g-directfb page in AUR. People who use this package might help you better .
Offline
erythrocyte wrote:Snowman wrote:What "ls -l /dev/tty0" gives you?
EDIT:
Here it is:
$ ls -l /dev/tty0
crw--w---- 1 eric users 4, 0 Feb 2 16:55 /dev/tty0And links-g-directfb starts without sudo but the mouse doesn't work at all (it might be because it is wireless).
Mine shows the following. And I have a P/S2 mouse and it works.
ls -l /dev/tty0 crw--w---- 1 root root 4, 0 Feb 3 13:12 /dev/tty0
I wonder if it always attaches to tty0.
And is it secure to change the permissions here?
I'm not really sure about how secure it is. You'll need to use a udev rule to change the permissions. Here:
tty0 and tty1 are owned by eric:users
tty6 is owned by root:root
the rest of the tty devices are owned by root:ttyI have no idea why my user owns those devices. Either I did something and I forgot about it or something is changing the permissions automatically. Maybe it's because I use qingy as login manager.
For security, you might want to put the device in the tty group and add your user to that group. You should add a comment on the links-g-directfb page in AUR. People who use this package might help you better .
Alright thanks . ... I need to mark this topic as Solved!
Offline