From 6d9b81845cffabdfa2ba66bf511ca675eb0ab478 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Sat, 20 Nov 2010 22:58:56 +0800 Subject: [PATCH] add setfont2 ... to /usr/bin/gmenu2x Signed-off-by: Xiangfu Liu --- data/qi_lb60/files/usr/bin/gmenu2x | 7 +++++++ .../files/usr/share/gmenu2x/sections/applications/abook | 3 +-- .../files/usr/share/gmenu2x/sections/games/backgammon | 3 +-- data/qi_lb60/files/usr/share/gmenu2x/sections/games/tetris | 3 +-- 4 files changed, 10 insertions(+), 6 deletions(-) create mode 100755 data/qi_lb60/files/usr/bin/gmenu2x diff --git a/data/qi_lb60/files/usr/bin/gmenu2x b/data/qi_lb60/files/usr/bin/gmenu2x new file mode 100755 index 000000000..4748e1b15 --- /dev/null +++ b/data/qi_lb60/files/usr/bin/gmenu2x @@ -0,0 +1,7 @@ +#!/bin/sh + +source /etc/profile +setfont2 /usr/share/setfont2/un-fuzzy-6x10-font.pnm + +cd /usr/share/gmenu2x +./gmenu2x diff --git a/data/qi_lb60/files/usr/share/gmenu2x/sections/applications/abook b/data/qi_lb60/files/usr/share/gmenu2x/sections/applications/abook index e8568ae7b..7f7461b5e 100644 --- a/data/qi_lb60/files/usr/share/gmenu2x/sections/applications/abook +++ b/data/qi_lb60/files/usr/share/gmenu2x/sections/applications/abook @@ -1,4 +1,3 @@ title=abook icon=skin:icons/utilities-terminal.png -exec=/usr/sbin/setfont2 -params=/usr/share/setfont2/un-fuzzy-6x10-font.pnm && /usr/bin/abook +exec=/usr/bin/abook diff --git a/data/qi_lb60/files/usr/share/gmenu2x/sections/games/backgammon b/data/qi_lb60/files/usr/share/gmenu2x/sections/games/backgammon index 7c460960a..cd0393c7e 100644 --- a/data/qi_lb60/files/usr/share/gmenu2x/sections/games/backgammon +++ b/data/qi_lb60/files/usr/share/gmenu2x/sections/games/backgammon @@ -1,4 +1,3 @@ title=backgammon icon=skin:icons/utilities-terminal.png -exec=/usr/sbin/setfont2 -params=/usr/share/setfont2/un-fuzzy-4x8-font.pnm && /usr/bin/backgammon +exec=/usr/bin/backgammon diff --git a/data/qi_lb60/files/usr/share/gmenu2x/sections/games/tetris b/data/qi_lb60/files/usr/share/gmenu2x/sections/games/tetris index 167412b2d..bdee94ce3 100644 --- a/data/qi_lb60/files/usr/share/gmenu2x/sections/games/tetris +++ b/data/qi_lb60/files/usr/share/gmenu2x/sections/games/tetris @@ -1,4 +1,3 @@ title=tetris icon=skin:icons/utilities-terminal.png -exec=/usr/sbin/setfont2 -params=/usr/share/setfont2/un-fuzzy-6x10-font.pnm && /usr/bin/tetris +exec=/usr/bin/tetris