From 87fdb53728ce59c877ac1d1a820fd26d78964d54 Mon Sep 17 00:00:00 2001 From: Chris Efant Date: Mon, 5 Apr 2004 20:28:43 +0000 Subject: [PATCH] Chris Efant: kdebase fixes: -Adds patch "konsole-fix.patch" which makes Konsole show a prompt instead of "bash-2.05b#" -Set's aRts to use ALSA by default which prevents "CPU Overload" errors -Changes the font in Konsole from "Fixed" to "Curser", this fixes the double spacing issue [2004031406541211931] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2643 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/kde/kdebase/kdebase.conf | 8 +++++++ package/kde/kdebase/konsole-fix.patch | 34 +++++++++++++++++++++++++++ package/kde/kdebase/konsolerc | 4 ++++ 3 files changed, 46 insertions(+) create mode 100644 package/kde/kdebase/konsole-fix.patch create mode 100644 package/kde/kdebase/konsolerc diff --git a/package/kde/kdebase/kdebase.conf b/package/kde/kdebase/kdebase.conf index 0a739caaa..185c62029 100644 --- a/package/kde/kdebase/kdebase.conf +++ b/package/kde/kdebase/kdebase.conf @@ -31,6 +31,14 @@ kde_base_pi() chmod +x $root/etc/cron.daily/90-kdm cp -fv $confdir/Xsession.* $root/$prefix/share/config/kdm/ + + # Set's "Curser" as Konsole's default font, fixes the + # doublespace issue + cp $fv $confdir/konsolerc $root/$prefix/share/config + + # Set's aRts as the default soundsystem, prevents the + # "CPU overload" errors + cp -fv $confdir/kcmartsrc $root/$prefix/share/config/ } hook_add postinstall 3 "kde_base_pi" diff --git a/package/kde/kdebase/konsole-fix.patch b/package/kde/kdebase/konsole-fix.patch new file mode 100644 index 000000000..a684c8458 --- /dev/null +++ b/package/kde/kdebase/konsole-fix.patch @@ -0,0 +1,34 @@ +diff -urN ./konsole/other.orig/linux.desktop ./konsole/other/linux.desktop +--- ./konsole/other.orig/linux.desktop 2004-03-12 16:20:32.000000000 -0500 ++++ ./konsole/other/linux.desktop 2004-03-12 16:22:15.000000000 -0500 +@@ -120,7 +120,7 @@ + Comment[zh_CN]=新建 Linux 控制台 + Comment[zh_TW]=新增 Linux 主控台 + Comment[zu]=Ikhonsoli Entsha ye-Linux +-Exec=bash ++Exec=bash --login + Schema=Linux.schema + #VGA + Font=6 +diff -urN ./konsole/other.orig/shell.desktop ./konsole/other/shell.desktop +--- ./konsole/other.orig/shell.desktop 2004-03-12 16:20:32.000000000 -0500 ++++ ./konsole/other/shell.desktop 2004-03-12 16:22:15.000000000 -0500 +@@ -108,5 +108,5 @@ + Comment[zh_CN]=新建 Shell + Comment[zh_TW]=新增 Shell + Comment[zu]=Igobolodo Elisha +-Exec= ++Exec=bash --login + Cwd= +diff -urN ./konsole/other.orig/su.desktop ./konsole/other/su.desktop +--- ./konsole/other.orig/su.desktop 2004-03-12 16:20:32.000000000 -0500 ++++ ./konsole/other/su.desktop 2004-03-12 16:22:15.000000000 -0500 +@@ -121,7 +121,7 @@ + Comment[zh_CN]=新建 Root 控制台 + Comment[zh_TW]=新增 Root 主控台 + Comment[zu]=Ikhonsoli Yempande Entsha +-Exec=su ++Exec=su - + Schema=BlackOnLightYellow.schema + #Schema=Linux.schema + #VGA diff --git a/package/kde/kdebase/konsolerc b/package/kde/kdebase/konsolerc new file mode 100644 index 000000000..59bc3ba99 --- /dev/null +++ b/package/kde/kdebase/konsolerc @@ -0,0 +1,4 @@ +[Desktop Entry] +defaultfont=Cursor,12,-1,5,50,0,0,0,0,0 +font=8 +