Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
best. auxilary. xterm. ever.
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Tue Mar 08, 2005 11:44 am    Post subject: best. auxilary. xterm. ever. Reply with quote

The name is yeahconsole. Doesn't sound like much, eh? Trust me on this one.

Download: http://freshmeat.net/projects/yeahconsole/ (or read the info there, if you're still skeptical)

Extract the tarball somewhere, e.g /usr/local/src/yeahconsole-x.x.x/

cd there, and install:

Code:
./autogen.sh
./configure
make && make install


It uses ~/.Xdefaults for configuration. I recommend trying:

Code:
yeahconsole*aniDelay:0
yeahconsole*savelines: 10000
yeahconsole*background:black
yeahconsole*foreground:green
yeahconsole*loginShell:True
yeahconsole*toggleKey: ControlAlt+y
yeahconsole*keySmaller: ControlAlt+k
yeahconsole*keyBigger: ControlAlt+j


Time to test this baby out... run yeahconsole. Nothing happens. So open your web browser or some other X app that hogs screen real estate. Now press CTRL+ALT+Y. Do it again. Pretty damn cool, huh? Play around with it, and maybe CTRL+ALT+J/K to adjust the size a bit.

Assuming you like, by all means add "yeahconsole &" to the top of your ~/.xinitrc somewhere. Now you will always have immediate access to a full-blown xterm! Very slick for e.g. following along web-based documentation.

One last idea... instead of starting yeahconsole directly, put the following script somewhere and start it from your .xinitrc:

Code:
#!/bin/bash
while true; do yeahconsole; done

Now it respawns ;)

(in the event that you accidentally exit, or something)


Last edited by Gherald on Tue Mar 08, 2005 12:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
grzewho
l33t
l33t


Joined: 31 Dec 2002
Posts: 626
Location: /home/g

PostPosted: Tue Mar 08, 2005 11:49 am    Post subject: Reply with quote

there`s a similiar app called tilda and it`s already in portage. thx for the info tho
_________________
Code:
USE="freedom -software_patents" emerge --deep --update world
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Tue Mar 08, 2005 12:16 pm    Post subject: Reply with quote

tilda just didn't cut it for me. It won't appear on all my workspaces (in fluxbox), nor stay on top of other windows! (despite having checkboxes for those features)

And as if that weren't enough, it likes to segfault on my machines. Form your own opinion about the dev's maturity...

In contrast, yeahconsole seems to Just Work. And have a look at the dependencies...

Code:
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 #

Yow!
Back to top
View user's profile Send private message
stahlsau
Guru
Guru


Joined: 09 Jan 2004
Posts: 582
Location: WildWestwoods

PostPosted: Tue Mar 08, 2005 12:26 pm    Post subject: Reply with quote

hey,
that's a pretty cool program ;-)
notice you can also specify the font + fontsize you want to use.
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Tue Mar 08, 2005 12:37 pm    Post subject: Reply with quote

stahlsau wrote:
hey,
that's a pretty cool program ;-)
notice you can also specify the font + fontsize you want to use.

Yup, it's a full-blown xterm in that regard. Has all the same config options.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18159

PostPosted: Tue Mar 08, 2005 4:14 pm    Post subject: Reply with quote

Nice. I've been looking for something like this. Simple enough ebuild, though I've done no reading up on dependencies/IUSE settings.

/usr/local/portage/x11-terms/yeahconsole/yeahconsole-0.3.1.ebuild

Use this ebuild.

EDIT: Removed my ebuild code, added link to improved version.
_________________
Those who know what's best for us must rise and save us from ourselves.


Last edited by pjp on Sat May 21, 2005 5:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18159

PostPosted: Tue Mar 08, 2005 6:20 pm    Post subject: Reply with quote

Hmmm... .Xdefaults doesn't seem to be making a difference. I've made usre yeahconsole was restarted. Other .Xdefault settings are working:
Code:
# more .Xdefaults
-color

XTerm*loginShell: true


*ttyModes: erase ^H

#####
#
# Mouse cursor stuff
#
#########
Xcursor.theme: redglass
Xcursor.size: 24


#####
#
# yeahconsole
#
#########
yeahconsole*aniDelay:0
yeahconsole*savelines: 10000
yeahconsole*background:black
yeahconsole*foreground:green
yeahconsole*loginShell:True
yeahconsole*toggleKey: ControlAlt+y
yeahconsole*keySmaller: ControlAlt+k
yeahconsole*keyBigger: ControlAlt+j

_________________
Those who know what's best for us must rise and save us from ourselves.
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Tue Mar 08, 2005 9:03 pm    Post subject: Reply with quote

I tried you .Xdefaults verbatim and it does work for me
Back to top
View user's profile Send private message
SewerBeing
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2004
Posts: 117

PostPosted: Wed Mar 09, 2005 3:41 am    Post subject: Reply with quote

both compiling it and emerging it results in this error

yeahconsole.o(.text+0xe51): In function `resize':
: undefined reference to `XUngrabPointer'
collect2: ld returned 1 exit status
make: *** [yeahconsole] Error 1

I have tried removing all of my flags and still no luck.
_________________
Registered Linux User #365302
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Wed Mar 09, 2005 3:51 am    Post subject: Reply with quote

did you ./autogen-sh ?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18159

PostPosted: Wed Mar 09, 2005 4:33 am    Post subject: Reply with quote

freeix wrote:
I tried you .Xdefaults verbatim and it does work for me
Thanks. I'll keep digging.
_________________
Those who know what's best for us must rise and save us from ourselves.
Back to top
View user's profile Send private message
Revellion
Tux's lil' helper
Tux's lil' helper


Joined: 14 Sep 2004
Posts: 87
Location: Sweden

PostPosted: Wed Mar 09, 2005 7:22 am    Post subject: Reply with quote

decided to give this a go but i runned into the same issue as SewerBeing, and yes i ./autogen.sh'ed first.

so something is wierd <_<
_________________
Gentoo 2006.0 + NPTL + 2.6.15-r1-sources + gcc 3.4.4 100% built. glibc 2.3.5.
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Wed Mar 09, 2005 7:55 am    Post subject: Reply with quote

Here's an x86 binary, if you like
Back to top
View user's profile Send private message
Revellion
Tux's lil' helper
Tux's lil' helper


Joined: 14 Sep 2004
Posts: 87
Location: Sweden

PostPosted: Wed Mar 09, 2005 9:17 am    Post subject: Reply with quote

thank you, testing it out now :D

EDIT: tested it, some good stuff here :D, although i'am bugged by the fact that i can't build it myself :S

i will see if i can see what is causing it <_<
_________________
Gentoo 2006.0 + NPTL + 2.6.15-r1-sources + gcc 3.4.4 100% built. glibc 2.3.5.
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Sun Apr 10, 2005 9:46 am    Post subject: Reply with quote

ebuild???
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18159

PostPosted: Sun Apr 10, 2005 6:05 pm    Post subject: Reply with quote

sobers_2002 wrote:
ebuild???
Search???

(emerge -s, esearch -s)
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Sun Apr 10, 2005 6:53 pm    Post subject: Reply with quote

SewerBeing wrote:
both compiling it and emerging it results in this error

yeahconsole.o(.text+0xe51): In function `resize':
: undefined reference to `XUngrabPointer'
collect2: ld returned 1 exit status
make: *** [yeahconsole] Error 1

I have tried removing all of my flags and still no luck.


same here with the ebuild ;)

any idea?
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10306
Location: Córdoba (Spain)

PostPosted: Sun Apr 10, 2005 6:56 pm    Post subject: Reply with quote

Cagnulein wrote:
SewerBeing wrote:
both compiling it and emerging it results in this error

yeahconsole.o(.text+0xe51): In function `resize':
: undefined reference to `XUngrabPointer'
collect2: ld returned 1 exit status
make: *** [yeahconsole] Error 1

I have tried removing all of my flags and still no luck.


same here with the ebuild ;)

any idea?

Same problem, seems like a dependencies thing, any idea?
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Sun Apr 10, 2005 7:28 pm    Post subject: Reply with quote

According to ldd it only depends on X11 and glibc.
Back to top
View user's profile Send private message
Marx
n00b
n00b


Joined: 07 Dec 2004
Posts: 19
Location: Sweden

PostPosted: Sun Apr 10, 2005 7:40 pm    Post subject: Reply with quote

Well I just downloaded the tar.gz and compiled. It works perfectly. I recommend everyone to try it out :P
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Sun Apr 10, 2005 8:10 pm    Post subject: Reply with quote

pjp wrote:
sobers_2002 wrote:
ebuild???
Search???

(emerge -s, esearch -s)


Code:
emerge -s yeahconsole                                      ~
Searching...                       g             
[ Results for search key : yeahconsole ]
[ Applications found : 0 ]


same for 'yeah' what do i look for?
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Sun Apr 10, 2005 10:05 pm    Post subject: Reply with quote

sobers_2002 wrote:
pjp wrote:
sobers_2002 wrote:
ebuild???
Search???

(emerge -s, esearch -s)


Code:
emerge -s yeahconsole                                      ~
Searching...                       g             
[ Results for search key : yeahconsole ]
[ Applications found : 0 ]


same for 'yeah' what do i look for?

You are now done looking. The 0 results means it is not in portage.

It is not known to depend on anything you don't already have installed (X11 and glibc), so an ebuild isn't going to help you much anyway. Just compile it manually per my instructions... it's fairly simple.
Back to top
View user's profile Send private message
DrWoland
l33t
l33t


Joined: 13 Nov 2004
Posts: 603

PostPosted: Mon Apr 11, 2005 2:03 am    Post subject: Reply with quote

Can you bind it to something like `, like in Quake?
_________________
I'm not a Guru, I just ask a lot of questions.
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Mon Apr 11, 2005 4:49 am    Post subject: Reply with quote

DrWoland wrote:
Can you bind it to something like `, like in Quake?

Check out the README file... the author has a sample config that binds it to the menu key (between the right ctrl and windows keys on most keyboards)

I wouldn't use ` ... unless you really like bash's "$()" syntax.

Maybe ctrl + `
Back to top
View user's profile Send private message
DrWoland
l33t
l33t


Joined: 13 Nov 2004
Posts: 603

PostPosted: Mon Apr 11, 2005 5:27 am    Post subject: Reply with quote

freeix wrote:
DrWoland wrote:
Can you bind it to something like `, like in Quake?

Check out the README file... the author has a sample config that binds it to the menu key (between the right ctrl and windows keys on most keyboards)

I wouldn't use ` ... unless you really like bash's "$()" syntax.

Maybe ctrl + `


Haha, actually good call, but I do use the $() syntax. The menu or windows keys would be a good idea though.
_________________
I'm not a Guru, I just ask a lot of questions.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum