Sinisterly
Make your terminal greet you - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Computers (https://sinister.ly/Forum-Computers)
+--- Forum: Operating Systems (https://sinister.ly/Forum-Operating-Systems)
+--- Thread: Make your terminal greet you (/Thread-Make-your-terminal-greet-you)

Pages: 1 2 3


RE: Make your terminal greet you - MrGeek - 05-18-2013

Yeah @Deque .
I also like cowsay. Smile
Thanks for the guide


RE: Make your terminal greet you - diana32 - 05-18-2013

[Image: sBltbMz]
mi terminal is like this Biggrin


RE: Make your terminal greet you - diana32 - 05-18-2013

[Image: sBltbMz]
mi terminal is like this Biggrin


RE: Make your terminal greet you - Deque - 05-18-2013

(05-17-2013, 09:09 PM)shp0ngl3 Wrote: I got the following error

Code:
File ".bashgreet", line 11 SyntaxError: Non-ASCII character '\xc2' in file .bashgreet on line 11, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Update: Fixed it. Had to re-indent all "str =" lines Wink

Another update: Sorry, forgot to say thanks for this @Deque Smile So, thanks! I like nerdy stuff like this Smile

Thanks for notice. That was my fault. I indented the lines with tab, where I should use spaces. I corrected the code, so other people don't get the same error.

(05-17-2013, 09:37 PM)Linuxephus™ Wrote: I used to love how Clement Lefebvre used to incorporate a similar method into the default terminal setup of LinuxMint in the bygone days of Gnome2.

I didn't know that. Is there a picture of how it looked like?

(05-18-2013, 05:31 AM)MrGeek Wrote: Yeah @Deque .
I also like cowsay. Smile
Thanks for the guide

You are welcome.

(05-18-2013, 05:50 AM)diana32 Wrote: [Image: sBltbMz]
mi terminal is like this Biggrin

Maybe you should post this here: http://www.hackcommunity.com/Thread-Let-s-see-your-Terminal?page=2

Your picture isn't visible, because you posted the website link instead of the picture URL.
Use this URL instead:
http://i.imgur.com/sBltbMz.png

And you get:

Spoiler:
[Image: sBltbMz.png]



RE: Make your terminal greet you - Deque - 05-18-2013

(05-17-2013, 09:09 PM)shp0ngl3 Wrote: I got the following error

Code:
File ".bashgreet", line 11 SyntaxError: Non-ASCII character '\xc2' in file .bashgreet on line 11, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Update: Fixed it. Had to re-indent all "str =" lines Wink

Another update: Sorry, forgot to say thanks for this @Deque Smile So, thanks! I like nerdy stuff like this Smile

Thanks for notice. That was my fault. I indented the lines with tab, where I should use spaces. I corrected the code, so other people don't get the same error.

(05-17-2013, 09:37 PM)Linuxephus™ Wrote: I used to love how Clement Lefebvre used to incorporate a similar method into the default terminal setup of LinuxMint in the bygone days of Gnome2.

I didn't know that. Is there a picture of how it looked like?

(05-18-2013, 05:31 AM)MrGeek Wrote: Yeah @Deque .
I also like cowsay. Smile
Thanks for the guide

You are welcome.

(05-18-2013, 05:50 AM)diana32 Wrote: [Image: sBltbMz]
mi terminal is like this Biggrin

Maybe you should post this here: http://www.hackcommunity.com/Thread-Let-s-see-your-Terminal?page=2

Your picture isn't visible, because you posted the website link instead of the picture URL.
Use this URL instead:
http://i.imgur.com/sBltbMz.png

And you get:

Spoiler:
[Image: sBltbMz.png]



RE: Make your terminal greet you - RogueCoder - 05-18-2013

(05-18-2013, 07:42 AM)Deque Wrote:
(05-17-2013, 09:09 PM)shp0ngl3 Wrote: I got the following error

Code:
File ".bashgreet", line 11 SyntaxError: Non-ASCII character '\xc2' in file .bashgreet on line 11, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Update: Fixed it. Had to re-indent all "str =" lines Wink

Another update: Sorry, forgot to say thanks for this @Deque Smile So, thanks! I like nerdy stuff like this Smile

Thanks for notice. That was my fault. I indented the lines with tab, where I should use spaces. I corrected the code, so other people don't get the same error.

Great! :thumbs: I must say Python is pretty damn strict on its indents :tongue: Not a bad thing enforcing cleaner code though


RE: Make your terminal greet you - RogueCoder - 05-18-2013

(05-18-2013, 07:42 AM)Deque Wrote:
(05-17-2013, 09:09 PM)shp0ngl3 Wrote: I got the following error

Code:
File ".bashgreet", line 11 SyntaxError: Non-ASCII character '\xc2' in file .bashgreet on line 11, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Update: Fixed it. Had to re-indent all "str =" lines Wink

Another update: Sorry, forgot to say thanks for this @Deque Smile So, thanks! I like nerdy stuff like this Smile

Thanks for notice. That was my fault. I indented the lines with tab, where I should use spaces. I corrected the code, so other people don't get the same error.

Great! :thumbs: I must say Python is pretty damn strict on its indents :tongue: Not a bad thing enforcing cleaner code though


RE: Make your terminal greet you - Linuxephus™ - 05-18-2013

@Deque
Almost exactly like yours, and other Cowsay "variants" with the [a] white background by default.
Eh...I thought that was common knowledge.


RE: Make your terminal greet you - Linuxephus™ - 05-18-2013

@Deque
Almost exactly like yours, and other Cowsay "variants" with the [a] white background by default.
Eh...I thought that was common knowledge.


RE: Make your terminal greet you - Addicted - 05-18-2013

That is very neat. I should post mine on how to do it in mac and PC.