Tag Archives: Gentoo

Gentoo nano and word wrap

Well I said in my initial Gentoo post that I would detail how to make Nano the text editor default to non-word wrap mode so you don’t have to specify the -w option everytime to edit a file.

You need to make sure you have a .nanorc file in your home directory. If you don’t there should be one in /etc/ (/etc/nanorc). So copy that one:

cp /etc/nanorc ~/.nanorc

Now edit the file

 nano -w ~/.nanorc

I uncommented the following options:

  • set autoindent
  • set mouse
  • set nowrap
  • set smarthome
  • set smooth

I also inserted some syntax based colouring options (I think I found most of them either in nanorc or forums.gentoo.org)

Edited: If you want to look at the syntax colouring download the nanorc file attached to this blog entry. It’s easier to read anyway.

Hooray for nano! 

Continue reading

Posted in Computers | Tagged , | Comments Off on Gentoo nano and word wrap

Gentoo Use Flags for MythTV

Well after much mucking around I think I have finally got MythTV and Gentoo Linux working as required. I have had to install a fair bit of extra stuff to do the things I want but it was worth it. I now know a lot more about Linux and Gentoo.

One very useful hint I will give to the world is USE flags. The use flags you choose at the start will save you many many recompiles. Also definately set up CCache (Compiler Cache) http://gentoo-wiki.com/TIP_Use_ccache

Well just so other people can save time, here is my Use flags for MythTV and Gentoo Linux:

USE="-directfb mjpeg 3dnow 3dnowext aac acpi alsa apache2 avi bzlib cdr crypt cscope divx4linux dts dvb dvd dvdr dvdread encode fftw flac gd gif gtk howl imlib ithreads jpeg joystick lirc live mad matroska mmx mmxext mpeg mysql mythtv ncurses net nvidia oggvorbis opengl pam png quicktime readline real sdl sse svga theora threads tiff transcode truetype usb v4l v4l2 win32codecs X x86 xanim xine-lib xinerama xmms xv xvid xvmc zlib"

Continue reading

Posted in Computers | Tagged , , | Comments Off on Gentoo Use Flags for MythTV