Re: Was..... Lots of lagging after upgrade of xorg. Now keyboard layout is lost

2012-04-24 Thread Polytropon
On Tue, 24 Apr 2012 07:13:20 +0200, Leslie Jensen wrote:
 
 
 2012-04-23 19:56, Leslie Jensen skrev:
 
 
  2012-04-23 18:29, Warren Block skrev:
  On Mon, 23 Apr 2012, Leslie Jensen wrote:
 
 
   Use Option
  AutoAddDevices Off to disable HAL input device detection.
  ___
 
 
  http://www.wonkity.com/~wblock/docs/html/aei.html
 
 
 
 
 After adding the above Option I lost the Swedish layout of my keyboard.
 
 Following the instructions and editing the
 
 /usr/local/etc/hal/fdi/policy/x11-input.fdi
 
 
 I already have the file in place with the following setup:
 
 
 ?xml version=1.0 encoding=ISO-8859-1?
 deviceinfo version=0.2
device
  match key=info.capabilities contains=input.keyboard
 merge key=input.x11_options.XkbOptions 
 type=stringterminate:ctrl_alt_bksp
 /merge
merge key=input.x11_options.XkbModel 
 type=stringlatitude/merge
merge key=input.x11_options.XkbLayout type=stringse/merge
  /match
/device
 /deviceinfo
 
 
 Where else can I control the setting for Swedish?

You could use the default method: /etc/X11/xorg.conf which is
designed to _centralize_ X-related settings. Keyboard settings
can also be put there.

For example, this is what I use to define a german keyboard
layout (and which applies everywhere in X, as intended):

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbModel  pc105
Option  XkbLayout de
Option  XkbOptionsterminate:ctrl_alt_bksp
EndSection

You can employ this approach, changing it to swedish language.
Note that I'm using the X setup without HAL and DBUS here.

Additionally, there's the method of using xmodmap with a
custom ~/.xmodmaprc file which can be used to make keyboard
language settings work _independently_ from both xorg.conf
and XML files scattered across the local/ subtree. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Was..... Lots of lagging after upgrade of xorg. Now keyboard layout is lost

2012-04-24 Thread Warren Block

On Tue, 24 Apr 2012, Leslie Jensen wrote:

2012-04-23 19:56, Leslie Jensen skrev:

2012-04-23 18:29, Warren Block skrev:

On Mon, 23 Apr 2012, Leslie Jensen wrote:




Use Option

AutoAddDevices Off to disable HAL input device detection.
___




http://www.wonkity.com/~wblock/docs/html/aei.html



After adding the above Option I lost the Swedish layout of my keyboard.


It's not required to disable HAL, but that's usually what people are 
trying to do when they turn off AEI.


To leave HAL enabled, remove the AutoAddDevices option.  Keyboard layout 
will come from the HAL fdi file.


Keyboard layout can also be set with setxkbmap in .xinitrc or .xsession, 
or in the keyboard InputDevice section as Polytropon shows.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Was..... Lots of lagging after upgrade of xorg. Now keyboard layout is lost

2012-04-24 Thread Leslie Jensen



2012-04-24 16:01, Warren Block skrev:

On Tue, 24 Apr 2012, Leslie Jensen wrote:

2012-04-23 19:56, Leslie Jensen skrev:

2012-04-23 18:29, Warren Block skrev:

On Mon, 23 Apr 2012, Leslie Jensen wrote:




Use Option

AutoAddDevices Off to disable HAL input device detection.
___




http://www.wonkity.com/~wblock/docs/html/aei.html



After adding the above Option I lost the Swedish layout of my keyboard.


It's not required to disable HAL, but that's usually what people are
trying to do when they turn off AEI.

To leave HAL enabled, remove the AutoAddDevices option. Keyboard layout
will come from the HAL fdi file.

Keyboard layout can also be set with setxkbmap in .xinitrc or .xsession,
or in the keyboard InputDevice section as Polytropon shows.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org



Yes, thank you.

Polytropon solution works for me :-)

/Leslie

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Ports Libraries - Shared object libz.so.5 not found

2012-04-24 Thread Carolyn Longfoot

I'm on 9.0 Release AMD64 and did not have Compat8x installed from ports which 
fixed the issue, but I am wondering what (apart from upgrading *all* ports) 
would be the correct approach to find out which port needs to be updated so 
that whatever references the libz.so.5 version instead of libz.so.6 gets 
updated?

This is very confusing to me because I got the error with php, and I am on the 
very latest php5-5.3.10_1 version which I would expect to reference current 
libraries.

Now I also have a problem with libssl.so.7, which popped up with Samba36. Again 
I'm wondering what version provides the .7 incarnation.
I found a comment (http://forums.freebsd.org/showthread.php?t=21886) that this 
library is part of security/openssl but a reinstall just now of openssl only 
gave me libssl.so.8, so that's no longer valid. Creating a link to libssl.so.7 
fixes the problem but is probably not the correct approach.

I guess the summary of the above is the question how one should go about 
keeping/getting the right library versions. Or is that really a port problem 
because they do not keep step with dependencies?

An explanation in layman's terms would be appreciated :-)


Thanks,

Caro
  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ports Libraries - Shared object libz.so.5 not found

2012-04-24 Thread Dean E. Weimer

On 24.04.2012 10:07, Carolyn Longfoot wrote:

I'm on 9.0 Release AMD64 and did not have Compat8x installed from
ports which fixed the issue, but I am wondering what (apart from
upgrading *all* ports) would be the correct approach to find out 
which

port needs to be updated so that whatever references the libz.so.5
version instead of libz.so.6 gets updated?

This is very confusing to me because I got the error with php, and I
am on the very latest php5-5.3.10_1 version which I would expect to
reference current libraries.

Now I also have a problem with libssl.so.7, which popped up with
Samba36. Again I'm wondering what version provides the .7 
incarnation.

I found a comment (http://forums.freebsd.org/showthread.php?t=21886)
that this library is part of security/openssl but a reinstall just 
now

of openssl only gave me libssl.so.8, so that's no longer valid.
Creating a link to libssl.so.7 fixes the problem but is probably not
the correct approach.

I guess the summary of the above is the question how one should go
about keeping/getting the right library versions. Or is that really a
port problem because they do not keep step with dependencies?

An explanation in layman's terms would be appreciated :-)


Thanks,

Caro
  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org


pkg_libchk from the sysutils/bsdadminscripts port should show you 
anything that is pointing to a missing shared library.  Yes you should 
rebuild the samba36 port so that it links against the new libssl.so.8 
library.  I ran into a few of these when upgrading from openssl-1.0.0_10 
to openssl-1.0.1, I also believe I hit the libcrypto.so.7 missing as 
well.  I temporary linked them as you did, then rebuilt all ports just 
to be safe.


if you use portmaster to update ports, doing a -r on the openssl port 
would have recompiled all the ports dependent on it.  However in my case 
it blew up because of these missing libraries, adding a -w (causes 
shared libraries to be kept) as well resolved this on the additional 
machines I updated.


--
Thanks,
 Dean E. Weimer
 dwei...@dweimer.net
 http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: LaCie P'9230 Is Not Recognized

2012-04-24 Thread Doug Sampson
 I went out and got a LaCie P'9230 drive, an external USB 3.0/2.0 2TB drive
 (http://www.lacie.com/products/product.htm?id=10559). FreeBSD 9.0-STABLE
 #5 running on an Intel D845GEBV2L motherboard does not recognize it.
 
 Apr 23 15:57:11 test kernel: usb_alloc_device: set address 2 failed
 (USB_ERR_STALLED, ignored)
 Apr 23 15:57:11 test kernel: usbd_setup_device_desc: getting device
 descriptor at addr 2 failed, USB_ERR_STALLED
 Apr 23 15:57:12 test kernel: usbd_req_re_enumerate: addr=2, set address
 failed! (USB_ERR_STALLED, ignored)
 Apr 23 15:57:12 test kernel: usbd_setup_device_desc: getting device
 descriptor at addr 2 failed, USB_ERR_STALLED
 Apr 23 15:57:13 test kernel: usbd_req_re_enumerate: addr=2, set address
 failed! (USB_ERR_STALLED, ignored)
 Apr 23 15:57:13 test kernel: usbd_setup_device_desc: getting device
 descriptor at addr 2 failed, USB_ERR_STALLED
 Apr 23 15:57:13 test kernel: ugen3.2: Unknown at usbus3 (disconnected)
 Apr 23 15:57:13 test kernel: uhub_reattach_port: could not allocate new
 device
 root@test:/usr/home/install#
 
 'camcontrol devlist -v' does not indicate any daX devices.
 
 I've used a variety of smaller external LaCie USB 2.0 drives with this
 motherboard successfully in the past.
 
 A link at the LaCie web site
 (http://www.lacie.com/more/index.htm?id=10112) indicates that a driver
 needs to be installed on a Mac in order to realize true USB 3.0 speeds.
 Does this mean that for me to use this drive, I need a special driver?
 
 I've consulted the hardware compatibility list but it appears to not have
 been updated to reflect newer hardware.
 
 Any advice would be appreciated.
 

So I sent an email to Technical Support. They basically said they do not 
support any OSes other than Windows and Mac OS X and not even Windows Server. 
That was expected.

That said, are there any USB 3.0/2.0 2TB drives that you are currently using 
with FreeBSD 9.0 or even 8.3?

~Doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


editor that understands CTRL/B, CTRL/I, CTRL/U

2012-04-24 Thread Anton Shterenlikht
My daughter is doing a touch typing course
that presumes MS Word. So far she was fine
with pico, but now they want the kids to
practice CTRL/B (bold), CTRL/I (italic),
CTRL/U (underline). She really needs to use
these particular combinations because that
is how the on-line assessment tool is set out.

I use nothing but vi, so have no clue which,
if any, editor from ports/editors will have
these particular combinations implemented.

Please recommend one, preferably as simple
and as small as possible.

Thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


pxegrub + FreeBSD install

2012-04-24 Thread Rick Miller
Hi All,

I am attempting to build FreeBSD 8.x-RELEASE over the network via PXE.
 I chain pxegrub to pxelinux and load the FreeBSD kernel and mfsroot
through pxegrub with the following:

menuentry freebsd-x86_64 {
   kfreebsd /boot/kernel/kernel
   kfreebsd_loadenv /boot/device.hints
   kfreebsd_module /boot/mfsroot.gz type=mfs_root
   set kFreeBSD.vfs.root.mountfrom=ufs:/dev/md0c
}

The mfsroot.gz is from the installation DVD with a couple of scripts
and an install.cfg which result in a non-interactive install.  I set
variables necessary to allow sysinstall to retrieve the expected
files.  The variables (previously) are populated as follows:

server=`kenv -q boot.nfsroot.server`
mac=`kenv -q boot.netif.hwaddr`
ip=`kenv -q boot.netif.ip`
nm=`kenv -q boot.netif.netmask`
gw=`kenv -q boot.netif.gateway`
name=`kenv -q dhcp.host-name`
route=`kenv -q dhcp.routers`


The mfsroot.gz does not see these as set when the environment loads
through pxegrub.  If I load the environment through pxeboot.bs, the
variables populate ok.  Unfortunately, with pxeboot.bs I experience
extremely high tftp failure rates when compared to pxegrub.

My question is how should I populate these variables in the mfsroot.gz
when loading via pxegrub?


-- 
Take care
Rick Miller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: editor that understands CTRL/B, CTRL/I, CTRL/U

2012-04-24 Thread Tim Daneliuk

On 04/24/2012 12:50 PM, Anton Shterenlikht wrote:

My daughter is doing a touch typing course
that presumes MS Word. So far she was fine
with pico, but now they want the kids to
practice CTRL/B (bold), CTRL/I (italic),
CTRL/U (underline). She really needs to use
these particular combinations because that
is how the on-line assessment tool is set out.

I use nothing but vi, so have no clue which,
if any, editor from ports/editors will have
these particular combinations implemented.

Please recommend one, preferably as simple
and as small as possible.

Thanks



I am not certain, but I think it is possible to create your own
keyboard maps in both joe and vim...

--
---
Tim Daneliuk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: editor that understands CTRL/B, CTRL/I, CTRL/U

2012-04-24 Thread Mike Jeays
On Tue, 24 Apr 2012 18:50:26 +0100
Anton Shterenlikht me...@bristol.ac.uk wrote:

 My daughter is doing a touch typing course
 that presumes MS Word. So far she was fine
 with pico, but now they want the kids to
 practice CTRL/B (bold), CTRL/I (italic),
 CTRL/U (underline). She really needs to use
 these particular combinations because that
 is how the on-line assessment tool is set out.
 
 I use nothing but vi, so have no clue which,
 if any, editor from ports/editors will have
 these particular combinations implemented.
 
 Please recommend one, preferably as simple
 and as small as possible.
 
 Thanks
 
 -- 
 Anton Shterenlikht
 Room 2.6, Queen's Building
 Mech Eng Dept
 Bristol University
 University Walk, Bristol BS8 1TR, UK
 Tel: +44 (0)117 331 5944
 Fax: +44 (0)117 929 4423
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Abiword will do this. It is a good bit bigger than vi, but if your daughter is 
being schooled in MS WORD, it is a good substitute.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: editor that understands CTRL/B, CTRL/I, CTRL/U

2012-04-24 Thread Waitman Gobble
On Tue, Apr 24, 2012 at 11:10 AM, Tim Daneliuk tun...@tundraware.comwrote:

 On 04/24/2012 12:50 PM, Anton Shterenlikht wrote:

 My daughter is doing a touch typing course
 that presumes MS Word. So far she was fine
 with pico, but now they want the kids to
 practice CTRL/B (bold), CTRL/I (italic),
 CTRL/U (underline). She really needs to use
 these particular combinations because that
 is how the on-line assessment tool is set out.

 I use nothing but vi, so have no clue which,
 if any, editor from ports/editors will have
 these particular combinations implemented.

 Please recommend one, preferably as simple
 and as small as possible.

 Thanks


 I am not certain, but I think it is possible to create your own
 keyboard maps in both joe and vim...

 --
 --**--**
 ---
 Tim Daneliuk

 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org



try AbiWord, /usr/*ports*/editors/*abiword*

should be 'close match' to ms word...

Waitman Gobble
San Jose California USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: editor that understands CTRL/B, CTRL/I, CTRL/U

2012-04-24 Thread Anton Shterenlikht
On Tue, Apr 24, 2012 at 01:33:58PM -0500, Robert Bonomi wrote:
 
  Date: Tue, 24 Apr 2012 18:50:26 +0100
  From: Anton Shterenlikht me...@bristol.ac.uk
  To: freebsd-questions@freebsd.org
  Subject: editor that understands CTRL/B, CTRL/I, CTRL/U
 
  My daughter is doing a touch typing course
  that presumes MS Word. So far she was fine
  with pico, but now they want the kids to
  practice CTRL/B (bold), CTRL/I (italic),
  CTRL/U (underline). She really needs to use
  these particular combinations because that
  is how the on-line assessment tool is set out.
 
  I use nothing but vi, so have no clue which,
  if any, editor from ports/editors will have
  these particular combinations implemented.
 
  Please recommend one, preferably as simple
  and as small as possible.
 
 Sorry *NO* 'text editor' has those capabilities, let alone has 
 them on those key sequences.
 
 Those are 'word processor' functions.  word processor' software
 is required.

I know, I know..

I don't know why in a touchtyping course
you need to teach kids this, but..

Anyway, abiword seems to do what I need.

Let me know if there's anything lighter.

Many thanks


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ports Libraries - Shared object libz.so.5 not found

2012-04-24 Thread sw2wolf
ls -l /lib/libz*
lrwxr-xr-x  1 root  wheel9  4 22 09:00 /lib/libz.so.5@ - libz.so.6

When i installed wine, it reported the same error which is fixed simply by a
symbolic link.

-
e^(π.i) + 1 = 0
--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Ports-Libraries-Shared-object-libz-so-5-not-found-tp5662329p5663803.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org