From owner-freebsd-questions@FreeBSD.ORG Sat Mar 6 09:18:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2018B16A4CE for ; Sat, 6 Mar 2004 09:18:47 -0800 (PST) Received: from ms-smtp-02-eri0.southeast.rr.com (ms-smtp-02-lbl.southeast.rr.com [24.25.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1E4143D2F for ; Sat, 6 Mar 2004 09:18:46 -0800 (PST) (envelope-from wegster@mindcore.net) Received: from mindcore.net (rdu162-234-100.nc.rr.com [24.162.234.100]) i26HIhkF029348; Sat, 6 Mar 2004 12:18:43 -0500 (EST) Message-ID: <404A07F2.8020602@mindcore.net> Date: Sat, 06 Mar 2004 12:18:42 -0500 From: Scott W User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ed Budd References: <20040305170328.314ca322.ebudd@grokking.org> <200403061914.13660.satimis@icare.com.hk> <20040306070821.7b84c556.ebudd@grokking.org> In-Reply-To: <20040306070821.7b84c556.ebudd@grokking.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@freebsd.org cc: Stephen Liu Subject: Re: calling xterm under KDE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2004 17:18:47 -0000 Ed Budd wrote: > On Sat, 6 Mar 2004 19:14:13 +0800 > Stephen Liu wrote: > > >>- snip - >> >>>You can add the fontsize as a parameter when you invoke it, like >>>this: >>> >>>xterm -fn >>> >>>I use 'xterm -fn 9x15' on a high res monitor and set it (along with >>>some other params) in my window manager (blackbox) menu config. >> >>Hi Ed, >> >>Where can I find "window manager"? From 'Control Center' ok KDE? >> >># menu config >>menu: Command not found. >># menuconfig >>menuconfig: Command not found >> >>Kindly advise. TIA >> >>B.R. >>Stephen Liu >> > > > You probably can't. As I am using the term, "window manager" is not an > applet but a reference to whatever you happen to be using to control > graphical window behavior on your desktop. It looks like your window > manager is KDE (which also happens to provide other services so is > called a "desktop environment" to denote these additional features). My > window manager is called "blackbox" which has a simple menu > configuration file where I can input a line for xterm and conveniently > call it through an item on a neat little pull-up menu. > > For you I would suggest that you create a "shortcut" on your desktop. > You'll need to check with the KDE documentation since I don't actually > use it but it's probably as simple as right-clicking the desktop with > your mouse and choosing "new" or something like that and then through > "properties" type in the full command you want your new shortcut icon > to invoke. > > EB > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > You can do this pretty easily in KDE- right click on the Panel, go to Add/Special Button/Non-KDE Application, which will open a file browser. navigate to the xterm binary, and then pass the options to it, in this case for fonts. You can also create a resource file to set the defaults for font sizes and others, then source it via xrdb . Most of the *term programs are all considered XTerm derivatives, so will honor their resource hints. I missed the start of this thread, but running a seriously 'heavy-weight' Window Manager/Desktop Environment like KDE and then a less resource intensive console seems a bit odd...but I'd suggest taking a look at aterm- it's a derivative of rxvt, less than half the footprint of xterm (which is less than half the size of 'konsole' already), supports transparency if that's your thing... A sample .Xresources (can be named anything, but needs to be sourced via .xinitrc or other X startup means), could look like: Xterm*loginShell: true XTerm*scrollBar: true XTerm*saveLines: 1500 XTerm*background: black XTerm*foreground: white aterm*transparent: true aterm*transpscrollbar: true #aterm*tinting: light blue aterm*foreground: white aterm*shading: 40 They could actually be changed to: *term*loginShell: true *term*scrollBar: true etc etc and thus affect both XTerm and aterm both explicitly, but aterm in this case will still honor the XTerm* settings unless overridden via an equal aterm* setting. You can also set the default fonts and or sizes as well... Blackbox is pretty slick as a minimal WM, although I've got to say I never got Rox-Filer working as expected, one of the few things I begrudgingly miss from the KDE apps (konqueror, even if it is sort of a pig on resources). Blackbox does however, fix one of the only other issues of the 'desktop environments' (GNOME, KDE) that I've come to like- tabbed consoles. If Rox-Filer or another app could replace close to konqueror functionality, and perhaps offer a decent panel app (the slit is nice, but I don't like their pager/panel much), I'd likely be able to remove the KDE libs from all my systems happily ;-) Scott