So no biggie imo, but good for all the people who use different WMs I suppose
Any chance you could post how? I'd love to be able to use urxvt instead of xtermnagash- wrote:This was already pretty simple to do using scriptable window managers like FVWM. And you could also use any application (ie. not just xterm)
So no biggie imo, but good for all the people who use different WMs I suppose
I was looking through this thread, and while YeahConsole is a pretty neat program, this is an unfair comparison. By looking through the code, you can see that its actually launching xterm inside of this window (due to some flag @ xterm that you can do). Therefore, if you want to compare ldds, you have to include xterm as well, as that IS loaded for this to work at all.Gherald wrote: In contrast, yeahconsole seems to Just Work. And have a look at the dependencies...
Yow!Code: Select all
mu gherald # ldd `which tilda` linux-gate.so.1 => (0xffffe000) libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7d8a000) libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7d20000) libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7d04000) libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7cf2000) libm.so.6 => /lib/libm.so.6 (0xb7cd1000) libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0xb7cca000) libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0xb7cbe000) libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7c84000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7c56000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7c53000) libdl.so.2 => /lib/libdl.so.2 (0xb7c4f000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7bdf000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7b8d000) libvte.so.4 => /usr/lib/libvte.so.4 (0xb7ae3000) libc.so.6 => /lib/libc.so.6 (0xb79f8000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb7948000) libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7945000) libXi.so.6 => /usr/lib/libXi.so.6 (0xb793e000) libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb793a000) libXft.so.2 => /usr/lib/libXft.so.2 (0xb792b000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb78b6000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb788f000) libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb788b000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7883000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb787b000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb786f000) /lib/ld-linux.so.2 (0xb7fed000) libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7848000) libncurses.so.5 => /lib/libncurses.so.5 (0xb7804000) libSM.so.6 => /usr/lib/libSM.so.6 (0xb77fc000) libICE.so.6 => /usr/lib/libICE.so.6 (0xb77e7000) libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb77c7000) libz.so.1 => /lib/libz.so.1 (0xb77b6000) libgpm.so.1 => /lib/libgpm.so.1 (0xb77b1000) mu gherald # ldd `which yeahconsole` linux-gate.so.1 => (0xffffe000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb7f1b000) libc.so.6 => /lib/libc.so.6 (0xb7e30000) libdl.so.2 => /lib/libdl.so.2 (0xb7e2c000) /lib/ld-linux.so.2 (0xb7fed000) mu gherald #
Code: Select all
~/downloads/yeahconsole-0.3.1 $ ldd ./yeahconsole
linux-gate.so.1 => (0xffffe000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xa7ef4000)
libc.so.6 => /lib/libc.so.6 (0xa7dde000)
libdl.so.2 => /lib/libdl.so.2 (0xa7dda000)
/lib/ld-linux.so.2 (0xa7fd5000)
~/downloads/yeahconsole-0.3.1 $ ldd `which xterm`
linux-gate.so.1 => (0xffffe000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xa7f48000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xa7e7d000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xa7e0e000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xa7de7000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xa7ddf000)
libXaw.so.8 => /usr/lib/libXaw.so.8 (0xa7d84000)
libXmu.so.6 => /usr/lib/libXmu.so.6 (0xa7d6f000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xa7d60000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xa7d0f000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xa7d06000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xa7cee000)
libutempter.so.0 => /usr/lib/libutempter.so.0 (0xa7cec000)
libncurses.so.5 => /lib/libncurses.so.5 (0xa7cab000)
libc.so.6 => /lib/libc.so.6 (0xa7b95000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0xa7b76000)
libdl.so.2 => /lib/libdl.so.2 (0xa7b72000)
libz.so.1 => /lib/libz.so.1 (0xa7b62000)
libXpm.so.4 => /usr/lib/libXpm.so.4 (0xa7b53000)
libXp.so.6 => /usr/lib/libXp.so.6 (0xa7b4b000)
libgpm.so.1 => /lib/libgpm.so.1 (0xa7b44000)
/lib/ld-linux.so.2 (0xa7f71000)


Give this patch a try, I changed it so the window would slide in instantly if you set the anidelay option to 0, and also made it possible to have the console run a command (I used screen with a custom screenrc to start some common apps for example):machinelou wrote:is there anyway to get rid of the animation entirely? It causes a bit of a slowdown if mplayer or xine is playing. Just wondering. Thanks
Code: Select all
(snip)
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing default-1 commands
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I -c yeahconsole.c
cp: cannot stat `.deps/yeahconsole.pp': No such file or directory
/bin/sh: .deps/yeahconsole.pp: No such file or directory
rm: cannot remove `.deps/yeahconsole.pp': No such file or directory
make: [yeahconsole.o] Error 1 (ignored)
i686-pc-linux-gnu-gcc -I -L -lX11 -o yeahconsole yeahconsole.o
cd . && autoheader
>>> Test phase [not enabled]: x11-terms/yeahconsole-0.3.1
(snip)
I know it's not bugzilla, but just a few constructive criticisms:madspida wrote:The previous ebuild didn't work for me so I hacked it to make it work, and it did. Here goes:
Code: Select all
# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Puts an xterm window on top of your screen that behaves like the console found in many games (similar to kuake). Its visibility can be toggled by a keyboard shortcut. This is a sample skeleton ebuild file" HOMEPAGE="http://freshmeat.net/projects/yeahconsole" SRC_URI="http://freshmeat.net/redir/yeahconsole/54521/url_tgz/${P}.tar.gz" LICENSE="GPL" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="" #RDEPEND="" S=${WORKDIR}/${P} src_compile() { $S/autogen.sh || die "autogen failed" econf || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR=${D} install || die }

the way i fixed it isn't maby the prettiest one but IT JUST WORKS (TM)morbus wrote:I'm getting the following error when trying to compile yeahconsole (using the ebuild):what bugs me even more is, that the ebuild doesn't die, although there are || die lines in the ebuild. does anybody know how to fix it?Code: Select all
cp: cannot stat `.deps/yeahconsole.pp': No such file or directory /bin/sh: .deps/yeahconsole.pp: No such file or directory rm: cannot remove `.deps/yeahconsole.pp': No such file or directory make: [yeahconsole.o] Error 1 (ignored) (deleted by me ;)
thanks,
morbus
Code: Select all
cp yeahconsole.P yeahconsole.pp
Code: Select all
./configure
make
make install
Code: Select all
yeahconsole -e screenCode: Select all
SHELL=screen
yeahconsoleThat's part of what my patch does, I would runpsycepa wrote:Have anyone made yeahconsole to run screen automatically ?
what i mean is to put yeahconsole into .xinitrc and when my xfce4 starts to have yeahconsole already running with a screen session inside,
i have tried the xterm-like manner withor withCode: Select all
yeahconsole -e screenand with && and with || (senseless but u can always tryCode: Select all
SHELL=screen yeahconsole)
and some other manners but NONE of it works
maby someone managed to do so
i'd be grateful for any advice
greetz
Code: Select all
yeahconsole "screen -c .screenrc.console -d -RR console"Code: Select all
deflogin off
vbell off
termcapinfo rxvt-unicode 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
screen -t tail sudo tail -f /var/log/messages /var/log/apache2/access_log
screen -t processes htop
screen -t email mutt
screen -t music ncmpcCode: Select all
yeahconsole*stepSize:10Code: Select all
InfinityX-yeahconsole-0.3.1.patch.bz2 <-- is InfinityX patch ..
stepsize-InfinityX-yeahconsole-0.3.1.patch.bz2 <-- a patch to the original 0.3.1 sources to apply his and my patch
stepsize-yeahconsole-0.3.1-InfinityX.patch.bz2 <-- if you have the original 0.3.1 plus IfinityX patch and u want mine too take this
stepsize-yeahconsole-0.3.1.patch.bz2 <-- my patch to original 0.3.1
yeahconsole-0.3.1-stepsize-InfinityX.tar.gz <-- full sources with both patches
yeahconsole-0.3.1.tar.gz <-- original sources
Code: Select all
gcc -DHAVE_CONFIG_H -I. -I. -I. -I -c yeahconsole.c
/tmp/ccoK4AqD.o: In function `main':
yeahconsole.c:(.text+0x2f): undefined reference to `XOpenDisplay'
yeahconsole.c:(.text+0x49): undefined reference to `XDisplayName'
yeahconsole.c:(.text+0xa6): undefined reference to `XSetErrorHandler'
yeahconsole.c:(.text+0xbb): undefined reference to `XCreateFontCursor'
yeahconsole.c:(.text+0xf1): undefined reference to `XNextEvent'
yeahconsole.c:(.text+0x130): undefined reference to `XSetInputFocus'
yeahconsole.c:(.text+0x16a): undefined reference to `XSetInputFocus'
yeahconsole.c:(.text+0x18f): undefined reference to `XKeycodeToKeysym'
yeahconsole.c:(.text+0x1d6): undefined reference to `XSetInputFocus'
yeahconsole.c:(.text+0x1fe): undefined reference to `XSync'
yeahconsole.c:(.text+0x21a): undefined reference to `XRaiseWindow'
yeahconsole.c:(.text+0x237): undefined reference to `XGetInputFocus'
yeahconsole.c:(.text+0x25e): undefined reference to `XSetInputFocus'
yeahconsole.c:(.text+0x309): undefined reference to `XResizeWindow'
yeahconsole.c:(.text+0x33e): undefined reference to `XResizeWindow'
yeahconsole.c:(.text+0x38b): undefined reference to `XSetInputFocus'
yeahconsole.c:(.text+0x3a0): undefined reference to `XSync'
...xorg7.0 and yeahconsole works perfectly...phranzee wrote:yeahconsole doesn't work with xorg 7.0Code: Select all
gcc -DHAVE_CONFIG_H -I. -I. -I. -I -c yeahconsole.c /tmp/ccoK4AqD.o: In function `main': yeahconsole.c:(.text+0x2f): undefined reference to `XOpenDisplay' yeahconsole.c:(.text+0x49): undefined reference to `XDisplayName' yeahconsole.c:(.text+0xa6): undefined reference to `XSetErrorHandler' yeahconsole.c:(.text+0xbb): undefined reference to `XCreateFontCursor' yeahconsole.c:(.text+0xf1): undefined reference to `XNextEvent' yeahconsole.c:(.text+0x130): undefined reference to `XSetInputFocus' yeahconsole.c:(.text+0x16a): undefined reference to `XSetInputFocus' yeahconsole.c:(.text+0x18f): undefined reference to `XKeycodeToKeysym' yeahconsole.c:(.text+0x1d6): undefined reference to `XSetInputFocus' yeahconsole.c:(.text+0x1fe): undefined reference to `XSync' yeahconsole.c:(.text+0x21a): undefined reference to `XRaiseWindow' yeahconsole.c:(.text+0x237): undefined reference to `XGetInputFocus' yeahconsole.c:(.text+0x25e): undefined reference to `XSetInputFocus' yeahconsole.c:(.text+0x309): undefined reference to `XResizeWindow' yeahconsole.c:(.text+0x33e): undefined reference to `XResizeWindow' yeahconsole.c:(.text+0x38b): undefined reference to `XSetInputFocus' yeahconsole.c:(.text+0x3a0): undefined reference to `XSync' ...
Code: Select all
yeahconsole: Cannot allocate color ;Gu D$ G1 T
Code: Select all
yeahconsole "screen -c /home/przyczepa/.screenrc.console -d -D -RR -R -T uxterm"
Code: Select all
yeahconsole "screen -c /home/przyczepa/.screenrc.console -d -D -RR -R -T urxvt"
Code: Select all
deflogin off
defutf8 on
vbell off
termcap info urxvt 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
screen -R -t -X mc mc
screen -R -t -X irssi -c irc.freenode.net
Code: Select all
(...)
XTerm*foreground: red
(...)
thx for your adviceppurka wrote:@psycepa: try yeahconsole-0.3.4, it has inbuilt support for urxvt, and also multiple yeahconsoles (of course you have to assign a different keybinding to each).