mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 22:34:04 +02:00
Export NanoNote specific global settings affecting QT4 applications.
This results qt4 applications NOT using DirectFB by default.
This commit is contained in:
parent
ced8773f54
commit
6815dd8fb6
@ -8,8 +8,17 @@ export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
|
|||||||
export HOME=${HOME:-/root}
|
export HOME=${HOME:-/root}
|
||||||
export PS1='\u@\h:\w\$ '
|
export PS1='\u@\h:\w\$ '
|
||||||
|
|
||||||
|
# NanoNote specific global settings
|
||||||
|
## SDL
|
||||||
|
### we do not have any mouse
|
||||||
export SDL_NOMOUSE=1
|
export SDL_NOMOUSE=1
|
||||||
|
### do use fb-device directly
|
||||||
export SDL_VIDEODRIVER=fbcon
|
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 /bin/more ] || alias more=less
|
||||||
[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
|
[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
|
||||||
|
Loading…
Reference in New Issue
Block a user