You are not logged in.

#1 2009-03-30 00:50:36

Koonboi
Member
From: El Ghetto
Registered: 2008-08-14
Posts: 59

[Solved] Need help getting 'fortune | cowsay' in my .xinitrc

Sorry, this was solved at another site, it all works.

I wasn't sure where to put this, but...
I have been trying for a while to get it to where when I startx, a terminal window opens and displays this commands output

fortune | cowsay -f rms

But I can never get it to work. either it doesn't show the output or it disappears as soon as it shows the output. I would give you what I already had, but it is shabby, and I am open to anything. If you really need it, I can post it.

Last edited by Koonboi (2009-03-30 01:54:10)


"We're all mad here. I'm mad. You're mad."

Offline

#2 2009-03-30 01:54:58

my0pic
Member
From: Melbourne, Australia
Registered: 2008-05-23
Posts: 206

Re: [Solved] Need help getting 'fortune | cowsay' in my .xinitrc

You can use xcowfortune which is in the xcowsay package in aur http://aur.archlinux.org/packages.php?ID=17170 and then you could do something like

xterm -e xcowfortune

.

Offline

#3 2009-03-30 01:58:17

Koonboi
Member
From: El Ghetto
Registered: 2008-08-14
Posts: 59

Re: [Solved] Need help getting 'fortune | cowsay' in my .xinitrc

my0pic wrote:

You can use xcowfortune which is in the xcowsay package in aur http://aur.archlinux.org/packages.php?ID=17170 and then you could do something like

xterm -e xcowfortune

.

I was more looking for something that doesn't need any installs, just scripts. And it is still buggy for some reason...


"We're all mad here. I'm mad. You're mad."

Offline

#4 2009-03-30 02:08:53

my0pic
Member
From: Melbourne, Australia
Registered: 2008-05-23
Posts: 206

Re: [Solved] Need help getting 'fortune | cowsay' in my .xinitrc

fortune | cowsay -f rms && sleep 10

that will get it to display but don't know how to keep the terminal window from closing.

Offline

#5 2009-03-30 03:03:48

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: [Solved] Need help getting 'fortune | cowsay' in my .xinitrc

here's the alias I have in my .bashrc...

alias tuxsay='cowsay -f tux `fortune -a`'

.:[My Blog] || [My GitHub]:.

Offline

#6 2009-03-30 13:33:59

dunz0r
Member
From: Sweden
Registered: 2009-03-30
Posts: 258
Website

Re: [Solved] Need help getting 'fortune | cowsay' in my .xinitrc

xterm -e fortune | cowsay -f rms | less

RTFM or GTFO
hax0r.se

Offline

Board footer

Powered by FluxBB