Graphics in Latex

I use Debian Squeeze (testing at time of writing) and for Latex work my setup is:
Kile – for the main coding
LatexDraw – for graphs.

Once I am happy with the drawing in LatexDraw, I take the code and paste it in Kile.
Then: Alt+2 (latex to dvi) , Alt+4 (dvi to ps), Alt+8 (ps to pdf) and Alt+7 to view the pdf.

debian squeeze (testing)

the install with lxde is much more of a breeze for the less technical amongst us. Just start the net-install cd, select advanced options and the choose alternative options. Select lxde and then install in the usual way. I have selected desktop and standard and this installs lxde rather than the standard gnome.
I left it like this because it offers the minimal install I would have chosen anyway. Copying libflashplayer.so to /usr/lib/mozilla/plugins works for i386 platform. I find this the easiest way to install flash 10.
same customisation for alsa like in lenny
and that’s about it.

debian lenny with lxde

I’ve installed lenny, despite a message talking about not using mmconfig (I have no idea what that means yet)

then:

sudo apt-get install lxde

I have sorted my audio like in here
then restart alsa

sudo /etc/init.d/alsa-utils restart

I couldn’t find a perfect alternative to adobe flash player, so I have installed the adobe player like this:
cp libflashplayer.so /usr/lib/mozilla/plugins/
this worked in x64 (and in Squeeze), if you have i386 and iceweasel crashes with Adobe Flash Player 10, the you may want to use the deb package from the adobe site:
dpkg --install Desktop/install_flash_player_10_linux.deb
then go to synaptic and choose fix broken packages.
This may not be the best way, but it worked in my case

If you want to keep you install ‘clean’ this is how I set-up gnash before,
like in here

# apt-get remove --purge flashplugin-nonfree
# apt-get install gstreamer0.10-alsa gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-gnomevfs gstreamer0.10-plugins-base gstreamer0.10-plugins-good
# apt-get install gnash gnash-common gnash-common gnash-cygnal gnash-tools konqueror-plugin-gnash klash mozilla-plugin-gnash

restart iceweasel

install a media player.
apt-get install amarok

in order to mount ntfs drives (usb drives formated in windows)
apt-get install ntfs-3g

linux looks

My eyecandy adventures took me into OpenSuse land. I’ve installed OpenSuse11. I run for a couple of weeks, missed the debian apt-get too much. I just couldn’t get used to the mess that OpenSuse seems to present as package installation process.

So I am back on Debian Lenny, with good old xfce and a nice little dock, called cairo-dock.

Debian Lenny E17 and the OzOs goodies

I am upgrading the desktop in the house and looked for “eye candy”… is 2008 after all. Although I didn’t fancy the big fat desktops (kde, gnome) and wanted to go for slightly slimmer I have tried Gnome in the process and found it a bit too slow for my machine (pentium4 2G ram). Over a weekend of looking at various eye candy packages (OpenBox, fvwm-crystal)
I saw some nice examples of Openbox implementations, but I haven’t got the time to work on the various configs.
Fvwm-Crystal was nice but I found it quite buggy and had to much crystal type add-ons that I didn’t like much.
I settled on E17 in the end, although it is more of a temporary rest place, as there are now further implementations which one has to choose.
There are a couple of distributions out there which implement E17 desktop environment. I have tried elivecd, ozos, and of course installing E17 from cvs on debian lenny.
I didn’t like elive although it might have been ok, if not for their admin console which is buggy and ugly.
Ozos is quite nice, they are getting their fundamentals right, good documentation, good forums. On the forums they appear welcoming, but I’ll see what replies I get to a couple of posts I made before making further comments.
I have tried Ozos, but at the moment some fundamental things (their update of configurations) don’t work for me. I also don’t like the ubuntu repositories.
I am therefore back to true debian land, taking advantage of Lenny being virtually stable. My aim is to have an usable e17 desktop on top of debian lenny, taking advantage of as much of OzOs goodies as I can without breaking my machine.

I’ll document here what I’ve done so far

– install debian lenny from the netinst CD, with nothing at all (deselect any package including base)

# apt-get update && apt-get upgrade
# apt-get install alsa-base alsa-utils alsa-oss xorg
# echo 'deb http://cafelinux.org/Downloads/oz-os tinwoodman main' >> /etc/apt/sources.list
# wget -q http://cafelinux.org/Downloads/oz-os/key.asc -O- | sudo apt-key add -
# apt-get update
# apt-get install e17-cvs

before going any further time to do a back-up.

I use a usb drive and SystemRescueCd
it is very easy to use:

  • boot the SystemRescueCd
  • mount -t ext3 /dev/sdb1 (you could use gparted in the gui version – startx
  • partimage (in the console) no compression is best for not so big partitions (<5G)

I have sorted my audio like in here

installed flash, mainly

cp libflashplayer.so /usr/lib/mozilla/plugins/
cd /usr/lib/mozila-firefox/plugins
ln -s ../../mozilla/plugins/libflashplayer.so

a nice little add-on is itask-ng
It works well with xcompmgr

add-apt get install subversion xcompmgr

add a .desktop entry like either through new application (configuration>configuration panel>applications>new application) in E17 or manually:

gvim ~/.local/share/applicatinos/xcompmgr.desktop

(paste the code bellow)

[Desktop Entry]
Hidden=false
Name[en_US]=Xcompmgr
NoDisplay=false
Exec=xcompmgr -cCfF -r7 -o.65 -l-10 -t-8 -D7
Type=Application
Version=1.0
Categories=Settings;
StartupNotify=false
GenericName=Xcompmgr
Name=Xcompmgr
Terminal=false
Comment=Xcompmgr
Comment[en_US]=Xcompmgr
GenericName[en_US]=Xcompmgr

then it is a question of following the instructions in itask-ng logged in as your normal user (not root – at least doing the installation as root didn’t work in my case)

svn checkout http//::itask-module.googlecode.com/svn/trunk/itask-ng
cd itask-ng
./autogen.sh --with-enlightenment-config=/opt/e17/bin/enlightenment-config
make
make install

then Configuration|>System|>ItaskNg|>Load Module

then you add the actual ItaskNg on your desktop through Configuration|>EnlightenementConfiguration|>Extenstions|>ItaskNg