News for hackers. Stuff that matters.
Re:Fix Ubuntu by nisa on Friday November 08, 2013 @10:48AM (#6696747)
My personal fix Ubuntu:

Be careful, this is pretty rude and may break stuff - it is also not complete but some dependencies are too entangled. Only geoclue and indicator-datetime still annoy me. The idea to poll the internet regulary to check for the timezone of the machine is beyond me.

   apt-get purge ubuntuone* # I don't use it
   apt-get purge unity-lens-music unity-lens-video unity-lens-photos # I don't need the integration
   apt-get purge friends* # I don't use this either
   apt-get purge telepathy-logger telepathy-indicator telepathy-salut # pidgin is enough for me
   apt-get purge unity-scope-musicstores unity-scope-openclipart # No need for that in Unity
   apt-get purge oneconf # I don't want to sync my settings
   apt-get purge empathy # pidgin works fine 
   apt-get purge software-center* # synaptic is enough 
   apt-get purge evolution-data-server evolution-data-server-goa evolution-calendar-factory # thunderbird and lightning for me
   apt-get purge unity-scopes-runner unity-webapps-common xul-ext-unity xul-ext-websites-integration # my browser is enough - no integration for me

   apt-get --purge autoremove
   apt-get install pidgin synaptic 
Shrinks RSS from 622MB to ~400MB on my system.
Re:Fix Ubuntu by philjackson on Friday November 08, 2013 @11:56AM (#6697359)

    apt-get purge friends
:(
Re:Fix Ubuntu by nisa on Friday November 08, 2013 @09:56PM (#6700476)
It's used for social media accounts. I don't really use social media and and I don't use the dash in a way that I expect social media. I still have friends through ;)
Re:Fix Ubuntu by sandGorgon on Friday November 08, 2013 @10:59AM (#6696839)
here's mine - http://www.lambdacurry.com/super-fast-lean-ubuntu-setup/

It removes Unity and switches to gnome-shell, removes nautilus and other stuff and replaces it with nemo, geany, etc.

I do have some additional tweaks to improve wifi, etc. but the base install brings my RSS with firefox (I consider that a minimum) to about 500 mb on 12.04

Re:Fix Ubuntu by nisa on Friday November 08, 2013 @11:06AM (#6696906)
I'm actually quite happy with Ubuntu and Unity. There are some annoying bugs and I've switched to KDE recently but Unity is overall fine in my opinion. I'd always take Unity over Gnome. But well let's not start this discussion. To each his own.. I just don't like all the Canonical addons I don't use. So I remove them.

Regarding swap compression:

I'm happy with zcache¹. zramswap is out of date and buggy for me (I'm not exactly sure here). There is also zswap². I'm running Linux 3.11

To enable zcache edit /etc/default/grub and add zcache to GRUB_CMDLINE_LINUX_DEFAULT

To enable zswap add zswap.enable=1

Both can't be running at the same time.

1: http://lwn.net/Articles/397574/

2: http://lwn.net/Articles/528817/

Re:Fix Ubuntu by sandGorgon on Saturday November 09, 2013 @02:09AM (#6700965)
thanks for this! Just removed zram-config and updated guide.
Re:Fix Ubuntu by rthomas6 on Friday November 08, 2013 @11:24AM (#6697078)
Why even use Ubuntu at this point? Why not Debian? Or even something totally different?
Re:Fix Ubuntu by epsylon on Saturday November 09, 2013 @07:51AM (#6701495)
Why switch to Debian? It's not like his customization does transform it into a radically different distro. For one thing, he keeps the Ubuntu repos (which I personally find better on a Desktop).
Re:Fix Ubuntu by sandGorgon on Friday November 08, 2013 @10:10PM (#6700503)
Good question - and I have no answer. Im just too used to ubuntu and all the default repositories, etc.

However, I primarily intended this setup for someone like me - who sets up a default ubuntu install and then finds himself slowed down. So these steps are intended to be run safely from a fully working ubuntu install.

Re:Fix Ubuntu by japhyr on Friday November 08, 2013 @11:29AM (#6697115)
I'm an emacs person myself, but when I teach Python I have students install Geany. I love it for working with beginners.

I'm curious, what do you use Geany for?

Re:Fix Ubuntu by sandGorgon on Friday November 08, 2013 @10:18PM (#6700534)
I'm using geany as the default text editor instead of gedit - I am really loving it and it is much lighter. gedit pulls in a whole bunch of background processes that I wanted to eliminate.
Re:Fix Ubuntu by l337n1nj4 on Friday November 08, 2013 @11:58AM (#6697378)
Geany is a great IDE, but for Python, I've learned to love Ninja IDE:

ninja-ide.org

Re:Fix Ubuntu by jbeja on Friday November 08, 2013 @01:46PM (#6698221)
VIM
Re:Fix Ubuntu by rodolphoarruda on Friday November 08, 2013 @11:11AM (#6696963)
What's wrong with Nautilus? I'm just curious.
Re:Fix Ubuntu by pritambaral on Friday November 08, 2013 @11:26AM (#6697089)
GNOME (the devs, not the libraries or shell) is what's wrong with nautilus. They kept removing useful features. That was the very reason why Nemo was forked in the first place.
Re:Fix Ubuntu by mixmastamyk on Friday November 08, 2013 @01:13PM (#6697949)
Right, nautilus was never big on features, but it had the basics. Now it has less than the file manager in Windows 3.1. Yet it still uses plenty of ram.
Re:Fix Ubuntu by rodolphoarruda on Friday November 08, 2013 @04:02PM (#6699128)
I'm giving Nemo a try. It's nice to be able to open files as root. And it seems a bit lighter than Nautilus.
Re:Fix Ubuntu by J_Darnley on Friday November 08, 2013 @09:10PM (#6700385)
Are you aware that your page there just seems to spew the raw HTML source to a page it looks like it should be embedding from Github?
Re:Fix Ubuntu by sandGorgon on Friday November 08, 2013 @10:03PM (#6700490)
Ummm.. no. Let me check that.

EDIT - just checked on my phone and it seemed ok. Could you detail what you are seeing and what browser.

Thanks!

Re:Fix Ubuntu by J_Darnley on Saturday November 09, 2013 @05:25AM (#6701272)
Firefox 25 and its probably due to a lack of javascript (sorry if this wastes your time) because what I see is this in Firebug:

    <p>This setup should take less than 400 mb RAM on startup.</p>
    <script>
        ...
    </script>
    <div style="margin-bottom:1em;padding:0;">
        <noscript>
            <code>
                <pre style="overflow:auto;margin:0;padding:0;border:1px solid #DDD;"><!DOCTYPE html>...
Re:Fix Ubuntu by sandGorgon on Saturday November 09, 2013 @06:33AM (#6701363)
yeah, I didn't plan on nojs. might have to look for a better github plugin!
Re:Fix Ubuntu by davexunit on Friday November 08, 2013 @11:47AM (#6697268)
Just use Debian.
Re:Fix Ubuntu by ewzimm on Friday November 08, 2013 @12:14PM (#6697482)
If you are using 12.04, you can easily switch to a completely free Trisquel 6, which is based on 12.04 and compatible with PPAs and other software designed for Ubuntu.

http://trisquel.info/en/wiki/migrate-ubuntu-trisquel-without...

Re:Fix Ubuntu by yownie on Friday November 08, 2013 @11:16AM (#6697005)
This is great! It's nice to know there's others out there ripping out unknown unity shit too! Do you have any idea what the following do and if they can be removed easily also ? goa-daemon, zeitgeist, mission-control, bamfdaemon
Re:Fix Ubuntu by nisa on Friday November 08, 2013 @11:23AM (#6697056)
bamfdaemon is quite important I think. It is responsible to coordinate windows and unity icons with .desktop files.

zeitgeist takes care of your used documents and applications?. I tried to get rid of it but the dependencies here are quite entangled and it's useful to have often used applications and documents at hand in Unity.

goa is GNOME online accounts. The dubious idea to connect your online account with your desktop. Some like it. Not sure how to get rid of it.

mission-control is probably part of the telepathy framework. The idea behind telepathy is probably pretty nice. However there is no OTR for telepathy and I'm happy using pidgin. It's probably safe to remove along the rest of telepathy if you don't need it.

It's a shame that modern desktop Linux has no decent manpages for most of this stuff. If you want to learn something about your system install apt-file and use apt-cache or Google to learn about all the stuff that is running.

Re:Fix Ubuntu by yownie on Friday November 08, 2013 @12:21PM (#6697547)
"It's a shame that modern desktop Linux has no decent manpages for most of this stuff."

I completely agree and double so for things that destroy a running system because of lack of documentation. In some ways Unity has really jumped the shark on the good aspects that ubuntu was bringing. I wonder if anyone from the debian project has considered rolling their own Unity version with all the crapola ripped out. Now that's a DE I would start using in a heartbeat.

Re:Fix Ubuntu by sandGorgon on Friday November 08, 2013 @10:21PM (#6700550)
I have found that most of the complaints about Gnome-Shell being bloated comes from installing it on top of a desktop running Unity - which has a whole bunch of stuff running in the background.

Removing Unity and installing Gnome (which is far more configurable because of http://extensions.gnome.org) has turned out to be really lean for me.

Re:Fix Ubuntu by csmuk on Friday November 08, 2013 @10:53AM (#6696792)
My personal one:

   # dd if=/dev/zero of=/dev/sda bs=4M
Then I go and find another distribution that doesn't treat its users like cattle. Ubuntu, after shuttleworth being an asshat to the community and the whole amazon and NIH Mir and upstart crap, is now the Ryanair of Linux distributions.

incidentally, don't type the above.

Re:Fix Ubuntu by tzury on Sunday November 10, 2013 @12:43AM (#6705417)

    * * * * * * * * * * * * * * * * * * * * *

    !!! ALERT !!!

    Do not type or paste the above, unless you wish to 
    destroy your partition!

    * * * * * * * * * * * * * * * * * * * * *
Re:Fix Ubuntu by csmuk on Sunday November 10, 2013 @01:34PM (#6707774)
Thanks for making it even more obvious :)