From 6815dd8fb6b4354b51e178212a914d0dd436721f Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Mon, 15 Nov 2010 03:06:03 +0100 Subject: [PATCH] Export NanoNote specific global settings affecting QT4 applications. This results qt4 applications NOT using DirectFB by default. --- data/qi_lb60/files/etc/profile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/data/qi_lb60/files/etc/profile b/data/qi_lb60/files/etc/profile index 995556eab..93ec2c639 100644 --- a/data/qi_lb60/files/etc/profile +++ b/data/qi_lb60/files/etc/profile @@ -8,8 +8,17 @@ export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6) export HOME=${HOME:-/root} export PS1='\u@\h:\w\$ ' +# NanoNote specific global settings +## SDL +### we do not have any mouse export SDL_NOMOUSE=1 +### do use fb-device directly export SDL_VIDEODRIVER=fbcon +## QT4 +### set keyboard device +export QWS_KEYBOARD=LinuxInput:/dev/input/event1 +### do use fb-device directly +export QWS_DISPLAY=linuxfb [ -x /bin/more ] || alias more=less [ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi