From owner-freebsd-questions@FreeBSD.ORG Mon Nov 24 06:11:42 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48934B07 for ; Mon, 24 Nov 2014 06:11:42 +0000 (UTC) Received: from know-smtprelay-omc-10.server.virginmedia.net (know-smtprelay-omc-10.server.virginmedia.net [80.0.253.74]) by mx1.freebsd.org (Postfix) with ESMTP id B6B23E87 for ; Mon, 24 Nov 2014 06:11:41 +0000 (UTC) Received: from localhost.localdomain ([81.106.150.188]) by know-smtprelay-10-imp with bizsmtp id KJBg1p03b4481jl01JBgU9; Mon, 24 Nov 2014 06:11:40 +0000 X-Originating-IP: [81.106.150.188] X-Spam: 0 X-Authority: v=2.1 cv=dY0O3Bne c=1 sm=1 tr=0 a=DGj713NdaxKrsjjgQne7PA==:117 a=DGj713NdaxKrsjjgQne7PA==:17 a=J0QyKEt1u0cA:10 a=IkcTkHD0fZMA:10 a=NLZqzBF-AAAA:8 a=5y4faFyK3SkA:10 a=2ZtKTxRTfKnRywWhplMA:9 a=QEXdDO2ut3YA:10 Received: by localhost.localdomain (Postfix, from userid 500) id 6450E83779; Mon, 24 Nov 2014 06:11:40 +0000 (GMT) Date: Mon, 24 Nov 2014 06:11:40 +0000 From: Ken Moffat To: freebsd-questions@freebsd.org Subject: No Xorg mouse running 10.1 as a qemu guest on linux. Message-ID: <20141124061140.GB12294@milliways> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2014 06:11:42 -0000 Hi, I'm normally a linux user - specifically beyond linuxfromscratch (BLFS), and in a previous life I guess I must have been *really* bad, because I've ended up taking responsibility for BLFS's texlive issues (initially, our 'from source' build was not building everything, particularly asy, biber, and xindy). As part of that I created some test scripts to check if what I was doing with the "modern" (read that mostly as "UTF-8") parts of texlive worked, and now I'm trying to make them more-generally useful (in 2014, context has had "issues", building xindy from-source did not work on my first attempt, and my initial use of biber-1.8 with perl-5.20 was problematic). Now that I have qemu working, I guessed that FreeBSD would be a useful test to make my scripts portable. I've now got them running on your system in qemu, but I cannot use Xorg to run a PDF viewer because my mouse is not working. So: 1. Is there any secret to getting a mouse working in 10.1 in Xorg under qemu ? I've tried various things, including building vmmouse and adding appropriate xorg.conf lines to force that, but it made no difference. 2. A subsidiary question - have you guys changed /bin/sh in 10.1 ? All the documentation google finds suggests you are using a POSIX /bin/sh, probably the almquist shell [ I was unable to install the documentation, I guess that the time I was trying to do that (the small hours in this county / late in the USA) was perhaps not a good time ], but all my attempts to use what are apparently appropriate constructs, such as 'export LC_ALL=en_GB.UTF-8' and setting variables to the result of a subshell, such as VAR=$(command arg) failed - but using csh-style constructs seemed to work. 3. Using 'pkg' I've installed (amongst other things), xfce, Xorg (xfce did not pull in 'startx' as a dependency, which surprised me) and the supposedly full texlive (in practice, no asy, no biber, no xindy, and context [ MkIV ] on x86_64 is broken - similar to some linux distros). I see that along the way I've acquired /usr/local/bin/bash [4.3.30] which is good and lets me invoke my configure sript. But is bash a common thing to find on FreeBSD, or did I just get lucky ? (or 'unlucky', I suppose, if you do not like the GPL). TIA ĸen [ since FreeBSD seems not especially keen on UTF-8, read that as 'ken' if you get something like '?en' : I _like_ obsolete greenlandic letters ;) ] -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m.