Create your own LMDE, Part 2

Vincent
  13 years ago
  24

Note: This is a work in progress! Sorry about the mess. :P

For Part 1, please refer to the following tutorial: http://community.linuxmint.com/tutorial/view/197

I'm going to start from where I left off last time. Boot into your new Debian installation, and login. I'm going to assume you installed the desktop environment of your choice during the installation process; if not, you now have the ability to “apt-get install” the DE/components of that DE. Using Gnome as an example, you can install the Gnome meta-package (simply “apt-get install gnome”), or you can install individual Gnome components if you're looking for a minimalist installation.

 

Anyway, once you have your DE of choice installed, login and open up a terminal.

 

The first thing you probably want to do is to give yourself sudo privileges, so you don't have to keep on using su to use administrative commands. Type the following in:

(In this tutorial, lines preceding with $ are meant to be pasted in a terminal, while lines preceding with # are meant to be pasted in a root terminal.)

$ su -

# usermod -a -G sudo your_username_here

(CTRL + D to exit the root shell)

You can now freely use sudo whenever you want. I'm going to assume you know how to handle root privileges properly and responsibly.

 

If you noticed that Grub didn't recognize all your installed operating systems during the installation process, now is the time to

 

$ sudo update-grub

 

Another critical thing: you may have noticed that, during the installation process, partman made you reformat your /swap partition (that happened to me). As such, the UUID of your /swap has changed and you're going to have to edit /etc/fstab on your original Mint installation to get it to recognize your swap. Either mount your Mint's / partition here in your Debian installation, or boot into Mint (and don't be surprised that your swap isn't recognized and you can't hibernate), and edit fstab from there.

 

(From Mint:)

$ gksudo gedit /etc/fstab

 

If you're doing this from Debian, figure out the mountpoint first. You want to edit Mint's fstab, not Debian's fstab. Use

 

$ sudo blkid

 

to figure out the new, correct UUID value for your swap partition, and change this in your fstab file. If you're having trouble with this, make a post on the forums and I'll get to you as soon as possible.

 

Reboot back into Debian, if you haven't done so already.

 

In a terminal:

 

$ gksudo gedit /etc/apt/sources.list

 

Edit your sources.list so that it looks like the following:

deb http://ftp.debian.org/debian/ testing main contrib non-free

deb http://security.debian.org/ testing/updates main contrib non-free

deb http://www.debian-multimedia.org/ testing main non-free

deb http://packages.linuxmint.com/ debian main upstream import

 

Then run:

 

$ sudo apt-get update

$ sudo apt-get install debian-keyring debian-archive-keyring debian-multimedia-keyring linuxmint-keyring

 

You may as well update your Debian installation while you're at it, but since this was a netinst install with the latest packages fetched from the Internet, there shouldn't be many updates, if any at all.

$ sudo apt-get dist-upgrade

 

At this point, your next priority is making sure your hardware works. Is your laptop still tethered to that ethernet cable? Open up Synaptic and do a search for “firmware”; you'll see many packages (since you've enabled non-free repos as per above), hopefully there'll be a firmware package that applies for you. To get my Ralink wireless card to work, I had to

 

$ sudo apt-get install wireless-tools firmware-ralink

 

I also had to run a newer kernel for my Ralink rt2860 card to work, as it won't work properly on a vanilla 2.6.32 kernel, but that's an entirely different story and specific only to my wireless card. I'm assuming that you've used Linux (Mint) before, and thus you know what quirks and what series of arcane commands you have to run to get your wireless working, if any. If you have to compile any drivers or anything, then go ahead and get right to it. This guide will still be here after you're done.

 

If you have questions specific to your hardware, please refer to Debian's extensive documentation first (that's a more polite way of saying RTFM). I know, that's not all that helpful, but I don't know about every single wireless card in existence, so you're going to have to help yourself first. Then, if you can't figure it out, make a post at the Mint forums and provide detailed information about your wireless card, and what you've done to try to get it to work.

 

Now, onto other hardware...there's another tutorial here on the Community website, which you should go read, concerning Intel and Nvidia graphics cards: http://community.linuxmint.com/tutorial/view/168

 

From Debian's own documentation:

Nvidia: http://wiki.debian.org/NvidiaGraphicsDrivers#Installation-1

ATI: http://wiki.debian.org/ATIProprietary

If you haven't noticed by now, the Hardware Drivers GUI (a.k.a. the “jockey-gtk” package) does not exist on Debian; it's only for Ubuntu and derivatives. So you're going to have to install it the manual way, as described above.

 

Now, let's proceed to “mintifying” our Debian installation. Here's the list of packages you'd want:

http://packages.linuxmint.com/list.php?release=Debian

 

You have the Mint repos enabled in your sources.list, so you can apt-get install the packages you want (personally, the only thing I wanted from Mint's repository is mintMenu, since that's the only Mint tool I use on a day-to-day basis. You're free to install whatever you want). Note that Debian already has an Update Manager, so if you want mintUpdate instead of Debian's own, run the following command:

 

$ sudo apt-get purge update-manager-core

 

Also, if you're running a 64-bit version of Debian, do not install Firefox and Thunderbird from the Mint repositories. Both of them are 32-bit only. I repeat, they are 32-bit binary builds. I suppose this is one of the reasons why the Mint devs have delayed 64-bit LMDE; the fact is, Mozilla doesn't release 64-bit versions of their software, at least not release versions, and Mint had to rely on Ubuntu's own builds for 64-bit Firefox and Thunderbird. Ubuntuzilla only offers 32-bit builds, like Mozilla does. Swiftfox's builds are all 32-bit, even the ones that are claimed to be 64-bit (yes, it's true). Debian does not have Firefox and Thunderbird; it has Iceweasel and Icedove, both of which are outdated compared to the official upstream Mozilla versions. If you're happy with 64-bit, but outdated, Iceweasel and Icedove, then skip ahead a bit in this tutorial. If not, read on. (Why Debian has Iceweasel and Icedove instead of Firefox and Thunderbird, if you're curious...is out of the scope of this tutorial. Seriously, I think I've gotten a bit too off-topic already.)

 

If you want a native 64-bit Firefox, there is one place you can get it, without having to build from source code yourself.

 

http://releases.mozilla.org/pub/mozilla.org/firefox/releases/4.0b6/linux-x86_64/en-US/firefox-4.0b6.tar.bz2

 

Yes, this is a beta version, Firefox 4.0 Beta 6 to be exact, but it's truly 64-bit native, and it's the only option for an up-to-date, 64-bit native, “Mozilla Firefox”. And for me, it works perfectly fine (caveat: some addons may not yet work with FF 4). Just run the “firefox” shell script in the untarred Firefox folder you get, and play around with all the new things FF 4 has to offer.

 

If you want the Iceweasel 4 betaBeta add the repo:
# Iceweasel 4.0 beta packages for Debian http://glandium.org/blog/?p=1032
deb http://mozilla.debian.net/packages/ ./
 
aptitude update && aptitude full-upgrade
 
If you want Iceweasel 3.6.10 from experimental, which runs very well btw.
Add a line for experimental in your sources.list
#Experimental
deb http://ftp.debian.org/debian/ experimental main contrib non-free
 
apt-get -t experimental install iceweasel
In a comment below, Craigevil has also suggested two other options for getting a more updated version of Firefox (well, actually Iceweasel) by adding certain repos. One option is to add a specific repo containing Iceweasel 4.0b5 and its dependencies; the other option is to add the experimental repos to fetch the latest stable Iceweasel version.
 
If you want the Iceweasel 4 betaBeta add the repo:
# Iceweasel 4.0 beta packages for Debian http://glandium.org/blog/?p=1032
deb http://mozilla.debian.net/packages/ ./
 
aptitude update && aptitude full-upgrade
 
If you want Iceweasel 3.6.10 from experimental, which runs very well btw.
Add a line for experimental in your sources.list
#Experimental
deb http://ftp.debian.org/debian/ experimental main contrib non-free
 
apt-get -t experimental install iceweasel
             (Courtesy of craigevil)
 
Just one more comment...if you're using the experimental repo to fetch Iceweasel, do remember to comment it out in your sources.list before proceeding with your regular daily/weekly dist-upgrades. Unless you want to be one of those crazy guys using a mixed Sid/experimental box. :P

Thunderbird poses more of a problem, as I haven't found a single place where you can get up-to-date, native 64-bit, Thunderbird binaries. If you don't want an outdated Icedove, my advice for you is to use Evolution, which is up-to-date in Debian. If that's not an option, build Thunderbird from source.

 

https://developer.mozilla.org/en/Simple_Thunderbird_build

 

While we're talking about browsers, we may as well raise the issue of Flash. All you'll get in Debian repos at the moment is 32-bit Flash, therefore go and grab Flash “Square” (the new 64-bit preview release of Flash) directly from Adobe.

 

http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p2_64bit_linux_092710.tar.gz

(Note: just updated link for Preview 2 of Flash square, released on Sept. 27)

 

Extract and move the libflashplayer.so file into /usr/lib/mozilla/plugins. You'll need root privileges for that, of course. You will need to restart any browser(s) you have open before Flash is recognized by your browser(s).

 

To continue the process of mintifying our Debian, we can't forget about Mint's out-of-the-box multimedia. Unfortunately, there is no ubuntu-restricted-extras in Debian, and I've sort of forgot about the exact packages you need to install to achieve the same level of multimedia functionality. Hehe, I'll boot into LMDE tomorrow, make a list of all installed packages there, and post it here. Sorry. :P

Update: I've uploaded the entire list of packages that are installed by default on LMDE onto a pastebin; it's a bit impractical at the moment for me to try to sift out everything multimedia-related at the moment without doing a re-install to see what actually needs to be installed, and besides, if you want a system as similar to LMDE as possible, this should guide you in the right direction.

 

http://pastebin.com/U1MWvHiC

Just download it (it's a text file), and then open Synaptic, go to File > Read Markings, and select that text file. Now, sift through the list of packages by going to the left column and clicking the "Custom Filters" button in Synaptic, then selecting "Marked Changes". This is your opportunity to add/remove what you want from the list of packages; once done, click the Apply button.

Update: There's now a "mint-meta-codecs" package in Linux Mint's romeo repository. Although it is currently not installable due to having dependencies on certain Ubuntu packages not found in Debian, it does provide a list of packages you should install to get a good multimedia experience. I'll reproduce it here in the form of an apt-get install command:

$ sudo apt-get install gstreamer0.10-esd gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly libdvdcss2 libdvdnav4 libdvdread4 cabextract totem-xine gecko-mediaplayer unrar unshield w64codecs

 

Important note: If you didn't make any changes, don't press the Apply button just yet. As that is a default list of packages to be found on Debian LMDE 32-bit, there's quite a few packages that need to be changed, to adapt the list for a 64-bit system. First of all, de-select all Firefox or Thunderbird packages; as mentionned earlier, they are 32-bit. Also de-select "flashplugin-nonfree", as it is also 32-bit, and use the method outlined earlier in this tutorial to install 64-bit Flash Square. Also de-select w32codecs in favour of w64codecs. You may also want to strip out ndiswrapper if you don't need it, and strip out any firmware packages as well if you don't need them, etc.

You might ask, why didn't I just remove the packages from the list above? Well, this is a do-it-yourself tutorial, and everybody has different needs, so I'm just trying to give you general guidelines and solutions to the most common issues you might face, trying to build your own 64-bit Debian edition based on LMDE.

Note that you can install Firefox and Thunderbird from Mint's repo if you really wanted to (or download them directly from Mozilla's website - Mint's packages don't seem to be any different from the tarballs provided by Mozilla, besides the fact that they're nicely packaged into easy-to-install .deb files). However, you'll need to install the "ia32-libs" and "ia32-libs-gtk" packages. Even then, you may have no luck getting FF and T-bird to run...I certainly haven't, but a commenter has mentionned that this works for him, so I think this is worth a mention.

However, if you choose this path, you'll also need to find 32-bit plugins...so yeah, you can't use openjdk or sun-java directly from the repos, because they're 64-bit. The various Totem multimedia plugins will probably also cause you a few problems. Flash would ironically be the least problematic because it's been a 32-bit plugin since forever, and it's the 64-bit version that still needs to be worked on. 

 

I've run out of time today, so I'll continue this tutorial tomorrow. Consider this a work in progress. Comments and suggestions are welcome.

Skype

As per request, I'm going to devote this small section here to Skype users. As you may know, Skype is a 32-bit application, so just like in Ubuntu or Mint, we're going to have to install ia32-libs (32-bit compatibility libraries) and associated libraries. However, even after doing so, and after installing Skype, you may find that you are unable to login into your Skype account and when run from a terminal, Skype outputs this message before crashing:

Inconsistency detected by ld.so: dl-open.c: 643: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!

To the average user, that's not any more helpful than a bunch of gibberish. Heck, even I don't know what it means...what I do know is that this is a documented problem with a documented solution on Debian's wiki.

 

<meta content="text/html; charset=utf-8" http-equiv="content-type" />

http://wiki.debian.org/skype

Basically, if you don't want to read the entire thing, this is what you'll need to do to install Skype, from the very beginning:

 

$ sudo apt-get install ia32-libs ia32-libs-gtk libqt4-core libqt4-gui
$ wget -O skype-install.deb http://www.skype.com/go/getskype-linux-beta-ubuntu-64
$ sudo dpkg -i skype-install.deb
$ sudo chmod a-r /usr/lib32/libpulse{-simple.so.0.0.2,.so.0.8.0,common-0.9.15.so}
 
That last command removes read privileges from certain libpulse (related to pulseaudio?) socket files. I have no clue why it's necessary, but after running that command, Skype 32-bit works perfectly well in Debian 64-bit. Yippee! :)

Firewall

To set up a firewall quickly without having to know anything about iptables, just run the following commands:

$ sudo apt-get install ufw

$ sudo ufw enable

If you want a GUI to go along with ufw, there's gufw which is also available in the repos.

$ sudo apt-get install gufw

$ gksudo gufw

 

Fonts

 

<meta content="text/html; charset=utf-8" http-equiv="content-type" />

http://forums.linuxmint.com/viewtopic.php?f=141&t=55896

The thread above explains it all. Just run Ikey's script and your fonts should look much nicer. :)

 

Compiz

$ sudo apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-main compiz-fusion-plugins-extra

$ ccsm

Tweak to your heart's content. ;)

Note that "simple-ccsm" is an Ubuntu package and has yet to be ported to Debian. However, Compiz is something that everybody enjoys tweaking, so simple-ccsm isn't really necessary at all. ccsm gives you more control anyways.

 

Note that, if you want to load Compiz as your WIndow manager by default instead of Metacity, you should NOT add "compiz --replace" to your startup scripts. This ends up loading Metacity first, then killing it and loading Compiz...which extends the time it takes to log in, especially on a cold boot. Rather, you should execute the following commands:

$ touch .gnomerc

$ echo "export WINDOW_MANAGER=/usr/bin/compiz" > .gnomerc 

 
What this does is create a ".gnomerc" file in your Home folder, which contains the text "export WINDOW_MANAGER=/usr/bin/compiz". Now logout and log back in...Compiz is loaded by default, and it should be faster than if you had loaded Compiz via "compiz --replace".
 
 
Plymouth
 
<meta content="text/html; charset=utf-8" http-equiv="content-type" /> <meta content="text/html; charset=utf-8" http-equiv="content-type" />

Want a beautiful boot screen? Or at least something more than text sprawling over your screen during boot? 

$ sudo apt-get install plymouth plymouth-themes-all

$ sudo plymouth-set-default-theme solar

(We'll use the "solar" Plymouth theme as an example. There are other themes, of course...although the plymouth-themes package doesn't really contain all that many themes.)

Of course, I'm sure some of you have experienced problems with Plymouth due to KMS and proprietary ATI/Nvidia drivers. This still applies to Debian, unfortunately. But there is a way (that works in Ubuntu/Mint as well) to have both a working Plymouth and proprietary drivers (basically involves the use of a vesa framebuffer to get Plymouth working).

 

<meta content="text/html; charset=utf-8" http-equiv="content-type" />

http://news.softpedia.com/news/How-to-Fix-the-Big-and-Ugly-Plymouth-Logo-in-Ubuntu-10-04-140810.shtml

Just follow "Alternative One". Do make a backup of /etc/default/grub if you aren't sure of what you're doing though.

 

Smxi

What is smxi? It's basically a set of shell scripts that makes a lot of package management tasks in Debian-based distros a lot easier. Originally designed for Sidux (now Aptosid), it works on any distro directly derived from Debian (including Aptosid, MEPIS, LMDE, Debian itself...not Ubuntu however, and not Ubuntu/Mint). To install and run it...

$ sudo -i

# cd /usr/local/bin && wget -Nc smxi.org/smxi.zip && unzip smxi.zip && smxi

Please read the documentation first though. It's impossible for me to explain all the features of smxi in a concise fashion...it's definitely worth a tutorial of its own. ;)

 

<meta content="text/html; charset=utf-8" http-equiv="content-type" />

http://smxi.org/docs/

 

Liquorix

I also want to point out Liquorix. It's a kernel built upon the Zen Kernel sources, designed for desktop usage over server usage. You'll notice that Debian's default kernels are optimized for servers (basically, they're optimized for thoroughput over latency), and you want a kernel that feels more responsive and faster. The Liquorix kernels are also more up-to-date than the kernels you'll find in Debian Testing, so it's a lazy but effective way of running a new kernel but not having the patience or time to compile a newer kernel yourself. :P

$ gksudo gedit /etc/apt/sources.list

Append "deb http://liquorix.net/debian sid main" (yes, "sid") at the bottom of your sources.list. Save and close Gedit.

$ sudo apt-get install '^liquorix-([^-]+-)?keyring.?'

(Fetch Liquorix's keyrings)

$ sudo apt-get install linux-headers-2.6-liquorix-amd64 linux-image-2.6-liquorix-amd64

And reboot into your new kernel after you're done to give it a try.

 

Terminal Fortunes

Self explanatory. Debian by default doesn't come with fortunes in the terminal...if you like those fortunes, here's how to enable them:

$ sudo apt-get install fortunes cowsay

$ gksudo gedit /etc/bash.bashrc

Add this at the very end of the file:

 

if [ -x /usr/games/fortune ]; then
/usr/games/fortune | /usr/games/cowsay -n; echo
fi
 

BURG - Brand new Universal loadeR from Grub

Note that I haven't actually tried out BURG yet, but a commenter has asked for instructions on installing Burg...so I've found this. http://code.google.com/p/burg/wiki/ManualInstall

 

GDM
 
If you want a more Minty GDM, edit your /etc/gdm3/greeter.gconf-defaults file and replace the contents with the following:
 
# Use a specific background
/desktop/gnome/background/picture_filename /usr/share/backgrounds/linuxmint/Talento-1.jpg
/desktop/gnome/background/picture_options stretched
 
# Theming options
/desktop/gnome/interface/gtk_theme Shiki-Wise
#/desktop/gnome/interface/icon_theme gnome-wise
 
# Greeter options
#/apps/gdm/simple-greeter/logo_icon_name debian-swirl
 
# Some other possible options
#/apps/gdm/simple-greeter/banner_message_enable true
#/apps/gdm/simple-greeter/banner_message_text Welcome
#/apps/gdm/simple-greeter/disable_restart_buttons false
#/apps/gdm/simple-greeter/disable_user_list false
 
# The lower panel doesn't work with the compositor
/apps/metacity/general/compositing_manager false
 
             (Courtesy of termite)
 
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
if [ -x /usr/games/fortune ];then
/usr/games/fortune | /usr/games/cowsay -n; echo
fi
Comments
jamesm 13 years ago

Hello, Here are a few little ideas to improve the tutorial:

## Don't edit /etc/sources.list, instead make /etc/sources.list.d/mint.list

And also If you are running DebianSqueeze and not Testing, the following will give you the keys for the two repositories.

[ Date/Time -- root@host: ~ ] $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3EE67F3D0FF405B2
[ Date/Time -- root@host: ~ ] $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 07DC563D1F41B907


luisnando 13 years ago

For those following this thread: i managed to install the lmint plymouth theme from gnome-look, but i culdn`t get burg to work...


luisnando 13 years ago

@kneekoo i am a newbie, may i ask, when i compile something from source, is there a way of unninstalling it when the packages arrives on the ppa????


kneekoo 13 years ago

wine already got to 1.3.8 but I preferred to compile it myself. It was a hassle to get every development package required but the result is flawless. It's certainly not something I'd recommend to a newbie but I just feel it's better than installing Ubuntu packages in Debian.


Vincent 13 years ago

Wine is the one exception which I have an Ubuntu PPA for...I've had no luck finding an up-to-date Wine repository for Debian, so the only alternative (besides compiling from source code) is to use Ubuntu's Wine PPA, i.e.:

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
$ gksudo gedit /etc/apt/sources.list

Append the following line at the end:
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu lucid main

$ sudo apt-get update
$ sudo apt-get install wine1.2 winetricks

I don't recommend using Ubuntu PPAs on a Debian system...but the Ubuntu Wine PPA works just fine.


luisnando 13 years ago

Vincent, have you found any workaround to run Wine 64bit (the latest version) on your machine. The lamaresh repositorie has only an outdated and 32bit version.


Vincent 13 years ago

Glad to hear your experiment with Debian has turned out well in the end. :)


luisnando 13 years ago

There is one month testing this workaround to get a 64bit LinuxMint, until now I can say that it works ok. It gets a little time learning how to deal with ppa`s and commands on debian, but it is almost similar to ubuntu or mint.
I managed to get two eyecandy I really like (gloobus preview and nautilus-elementary), and also gwibber working on my system. Just installed hadret ppa.
My decision to use a debian version of Mint is because of the direction ubuntu was taking. I`m using the gnome-shell right now and it is working fast and without errors, and also the overall responsiveness of the desktop is better than the one ubuntu offers right at the moment (using a 64bit 4GBRAM laptop).
This system just became my productivity system this week.


Vincent 13 years ago

Hmmm...well, then I guess the upstart package somehow conflicts with other system packages. As for KDE, try something like "sudo apt-get purge kde-full && sudo apt-get autoremove".

Ubuntu has reportedly done some optimizations to its boot time, and it was all hyped about and all that, so I'm thinking that they probably tweaked more than just upstart. But I honestly don't know what they did to make Ubuntu boot faster; you might want to ask around the Debian and/or Ubuntu forums, and see if anyone can help you. Use bootchart on both your Debian install and your Ubuntu/Mint install so that you have some numbers to back your argument. ;)


luisnando 13 years ago

Well, Vincent, the problem is not dependent on mintUpdate. When I run dist-upgrade the system asks me to update both packages. Well, i really did it on my VirtualMachine and the final result was that the Upstart was uninstalled. The problem is now on my main system, when i first installed debian using your tuto I started with KDE. Yesterday, I decided to finally uninstall the environment but all the KDE packages aren't showed in synaptic. Does anyone knows how to fix this error?
Another thing, the smaller boot time i got with upstart was big, but still ubuntu is faster.


Vincent 13 years ago

luisnando, what happens if you try running apt-get upgrade/dist-upgrade instead of using mintUpdate? Does APT ask you to update sysvinit...or is this a problem due to mintUpdate itself?

Mdyter > I honestly don't know much about how Debian/Ubuntu/Linux in general boots itself up. Sorry. :(


luisnando 13 years ago

There is something strange tough, after installing upstart, the mintUpdate keeps asking to update sysvinit and upstart... I denied... I will test the same effect on a Virtual Machine. If anyone knows why this happens, tell me.


luisnando 13 years ago

I come to announce that upstart worked perfectly on my system, and with a great speed increase at the boot time.

Regards


Mdyter 13 years ago

is insserv an alternative to upstart in Debian ?


Vincent 13 years ago

I'm not well-versed enough in the sysvinit vs upstart debate to give you any recommendations. Install upstart at your own risk.


luisnando 13 years ago

Then, one question is it safe to install the upstart package?

The following packages will be REMOVED:
sysvinit
The following NEW packages will be installed:
upstart
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
sysvinit


Vincent 13 years ago

Simply put, I'd say that's because Ubuntu uses Upstart, and Debian currently does not.


luisnando 13 years ago

There is something that bothers me about this install, is the boot time. It is surprisingly longer than in Ubuntu. Does anyone have a workaround?


Vincent 13 years ago

What I meant is that Iceweasel and Icedove in the Debian Testing repos (which is what this tutorial is based upon) only have the older 3.5.x and 3.0.x branches respectively. While fetching specific packages from experimental is often an option, I doubt that's a behaviour that should generally be encouraged. I'll include it in the tutorial nevertheless with a word of caution.

Thanks to both you and termite for your comments. :)


craigevil 13 years ago

"Debian does not have Firefox and Thunderbird; it has Iceweasel and Icedove, both of which are outdated compared to the official upstream Mozilla versions. If you're happy with 64-bit, but outdated, Iceweasel and Icedove, then skip ahead a bit in this tutorial. "

Not entirely true, granted if you are running Stable the versions are ancient.

apt-cache policy iceweasel
iceweasel:
Installed: 3.6.10-1
Candidate: 4.0~b5-1 ( one version behind the official Firefox 4 beta which is at 4.0.b6 )
Version table:
4.0~b5-1 0
500 http://mozilla.debian.net/packages/ ./ Packages
*** 3.6.10-1 0 ( Same as the current version of Firefox )
101 http://ftp.debian.org/debian/ experimental/main i386 Packages
100 /var/lib/dpkg/status
3.5.13-1 0
500 http://mirrors.kernel.org/debian/ sid/main i386 Packages

All of the above packages are maintained by the same Debian dev.

If you want the Iceweasel 4 betaBeta add the repo:
# Iceweasel 4.0 beta packages for Debian http://glandium.org/blog/?p=1032
deb http://mozilla.debian.net/packages/ ./

aptitude update && aptitude full-upgrade

If you want Iceweasel 3.6.10 from experimental, which runs very well btw.
Add a line for experimental in your sources.list
#Experimental
deb http://ftp.debian.org/debian/ experimental main contrib non-free

apt-get -t experimental install iceweasel

icedove:
Installed: (none)
Candidate: 3.0.8-1
Version table:
3.1.4-1 0 (same as the current version of Thunderbird )
101 http://ftp.debian.org/debian/ experimental/main i386 Packages
3.0.8-1 0
500 http://mirrors.kernel.org/debian/ sid/main i386 Packages


Termite 13 years ago

This tutorial has worked great. Just used it to it to create a 64-bit LMDE. Only main quibble was the the GDM3 screen was the Debian MoreBlue orbit version. For anyone who has had the same problem I just copied over the /etc/gdm3/greeter.gconf-defaults file from the 32-bit version the content of which was:

# Use a specific background
/desktop/gnome/background/picture_filename /usr/share/backgrounds/linuxmint/Talento-1.jpg
/desktop/gnome/background/picture_options stretched

# Theming options
/desktop/gnome/interface/gtk_theme Shiki-Wise
#/desktop/gnome/interface/icon_theme gnome-wise

# Greeter options
#/apps/gdm/simple-greeter/logo_icon_name debian-swirl

# Some other possible options
#/apps/gdm/simple-greeter/banner_message_enable true
#/apps/gdm/simple-greeter/banner_message_text Welcome
#/apps/gdm/simple-greeter/disable_restart_buttons false
#/apps/gdm/simple-greeter/disable_user_list false

# The lower panel doesn't work with the compositor
/apps/metacity/general/compositing_manager false


Vincent 13 years ago

I've never actually used Burg before, so I can't say. But maybe this will help? http://code.google.com/p/burg/wiki/ManualInstall


luisnando 13 years ago

Is there any way of getting burg running on debian? Thanks.


luisnando 13 years ago

Errata: I said calibre worked well, but both the package on debian and the software installation script found on their website resulted in errors in the fonts of the software.


Vincent 13 years ago

luisnando: I myself had trouble getting Skype to work at first...but I did manage to get it to work in the end. I'll update the tutorial to include a set of instructions to get Skype working. Also, you need not compile Dropbox from source; it's available in the Debian Testing repositories (although it was briefly taken out of the Debian repos for a few weeks).

Silent_Warrior: For some reason, even after installing various ia32-libs(-gtk) packages and related (which I had to do anyways before I could install Wine and Skype, among other things), I couldn't get Firefox or T-bird from the Mint repos to work. If you did, then congrats. :P

This tutorial really needs to be updated, hehe...I keep on procrastinating, but I'll get to it eventually.


luisnando 13 years ago

Well, this tutorial is working. Since I use Chromium, none of the problems cited bothered me. By the other hand, I couldn`t make Skype work. Not a big problem, though.
As a doctor I use Tomboy (for writing down some articles reviews), Mendeley (for organize my papers), Calibre (for organize my e-books), AWN (for a clean desktop w/o panels), and Dropbox (for a kind of backup w/ my main computer, wich i had to compile from source). Everything worked smoothly. Even the flash wich had a new package in the mint repositories.

Just for help other users i copy my source.list down:
##
### Linux Mint Debian Edition
##

### Linux Mint Debian Edition (informações e repositórios).
### http://en.wikipedia.org/wiki/Linux_Mint
### http://www.linuxmint.com/blog/?p=215
deb http://packages.linuxmint.com/ debian main upstream import
deb http://packages.linuxmint.com/ debian backport romeo

### Debian 'Testing'.
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org/ testing main non-free

### Debian 'Testing' (Espelho Brasileiro).
deb http://ftp.br.debian.org/debian/ testing main contrib non-free
deb http://ftp.br.debian.org/debian-security/ testing/updates main contrib non-free
deb http://ftp.br.debian.org/debian-multimedia testing main non-free

#
## Outros repositórios úteis.
#

### Oracle VM VirtualBox.
deb http://download.virtualbox.org/virtualbox/debian lenny non-free

### Wine.
deb http://www.lamaresh.net/apt lenny main


### Mendeley Desktop
deb http://www.mendeley.com/repositories/Debian_5.0 / #Mendeley

### Skype
deb http://download.skype.com/linux/repos/debian/ stable non-free

# CHAVES GPG:
#
# sudo apt-get install debian-archive-keyring debian-keyring debian-multimedia-keyring
# wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
# wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
# wget -O - http://www.lamaresh.net/apt/key.gpg | sudo apt-key add -


Silent_Warrior 13 years ago

Maybe this needs to be added: If you DO install Thunderbird/Firefox from the Mint repository, they WILL NOT pull in the necessary ia32-lib packages - you'll have to install them manually (ia32-libs, ia32-libs-gtk - that should be enough).
Also, be careful about updating these libraries. If you (like me :oops: ) have a ton of extra repositories enabled, marked experimental and whatnot, the most recent available version might not work with what Mint provides. Good habit of the day: Check the Versions-tab.

How to tell if you have a problem with this: Firefox/Thunderbird won't start. Running them at the terminal returns an error message about missing some libgtk-x11.so.2 or similar. (So, how about using Evolution for now?)


Mdyter 13 years ago

great tutorial , thank you , Vincent =)


luisnando 13 years ago

Great idea, i'm waiting for a new HD for my ASUS laptop, then I will try your tuto.