Folder Color y el poder de la comunidad

Como programador, alguna que otra vez me sucedió algo tan especial como ayer...

Un usuario de Folder Color me envió un email solicitando que los iconos dependan del tema, más particularmente del set de iconos Numix.

Algo que a priori creía que no era factible técnicamente (o al menos sin remapear manualmente muchísimos iconos) se resolvió gracias a la comunidad. El usuario me remitió a su pregunta al upstream y ahí la inestimable ayuda de Joshua Fogg de Numix me permitió aprender cómo funcionan los temas en Ubuntu y tras unas horas de desarrollo y pruebas, ¡voalá! Nueva versión, más funcional y bonita que nunca :D ¡Gracias compañeros!

Y así, en este mundillo linuxero: proyecto x proyecto = proyecto3
Sí, al cubo ;) no me equivoqué.

Folder Color is themable now

Folder Color has a new improvement: It's themable now! :)

If your custom theme has the "folder-color" icons (read how to create those icons), you'll see them! By example, this is a screenshot with the awesome Numix icons (WIP yet):


Numix icon set

You can watch it in action in this video.


How to install: Here.

I want to thank you to Joshua Fogg from the Numix Proyect for his help & knowledge!! Really thank you ;)

Enjoy it! :)

How is the Lubuntu performance into a Cubieboard 2?

Hi! I did a video for appreciating the performance of Lubuntu into a Cubieboard 2.

Cubieboard Pros:
  • Use as server or desktop.
  • A7 Dual-Core CPU, then you can use the native ARM Ubuntu version.
  • 1GB RAM.
  • As desktop it'll works really good for watching show TVs & movies, listening music, view/edit documents, web browsing and chat.
  • As server I have one  without a reboot in months.
  • Power: Just 5V & 2A! Have your home server all the year for a few dollars!
  • Price: ~60$.
  • Works with Lubuntu Desktop or Ubuntu Server!
  • Totally silent, no fans.
  • Really small.
  • Really fast for its specifications, because it uses a NAND memory as hard disk.
  • Connect a SATA hard disk directly to the motherboard (you'll need a more powerful adapter that 1A).
  • 4GB for Ubuntu (2GB free with extra codecs & apps), but you can use a microSD as external storage. I'm using a microSD as /home with all documents.
Cubieboard Contras:
  • It's a little computer. Don't forget it isn't a i7 ;P
  • This is a problem of this distro version (1.07 / Lubuntu 13.04): As server it works perfect, but as desktop, when you open an application some times the screen blinks. The cubieez distro fixed this. I can't research this problem yet. But do not bother, it's happen once in a great while, it isn't happen with videos.
You can watch here the Lubuntu performance:


The Lubuntu version is 13.04 from this image.

If you have any question, please, leave a comment :) Cheers!

Extra info:

Installing Lubuntu Desktop into a Cubieboard2 A20 with LiveSuit for Ubuntu

If you want to install in a fast way my same image, please, read this post.


Hi! I bought a new Cubieboard, the 2 version in this case and the process for install Lubuntu is a bit different from the tutorial for Cubieboard1 A10 that I wrote a few months ago.

FIRST: Install LiveSuit for Ubuntu (You can use a Live USB for this). Open a Terminal and run these commands:
  • We need this dependences:
sudo apt-get install dkms libaudio2

  • Download LiveSuit for 32bits:
wget http://dl.cubieboard.org/software/tools/livesuit/LiveSuitV306_For_Linux32.zip
  • Or download LiveSuit for 64 bits:
wget http://dl.cubieboard.org/software/tools/livesuit/LiveSuitV306_For_Linux64.zip

  • Make the installer executable:
unzip LiveSuitV306_For_Linux32.zip
cd LiveSuit_For_Linux32
chmod +x LiveSuit.run

  • Install LiveSuit:
sudo ./LiveSuit.run
  • Run LiveSuit:
cd /home/lubuntu/Bin/LiveSuit
sudo ./LiveSuit.sh

SECOND: Install Lubuntu Desktop into the NAND of the Cubieboard (don't install into a microSD, it'll be very slowly):
Download the image (You have more here):
wget http://dl.cubieboard.org/software/a20-cubieboard/lubuntu/cb-a20-lubuntu-12.10-v1.06/cb2-lubuntu-desktop-20131026/lubuntu-desktop-nand.img.gz
gunzip lubuntu-desktop-nand.img.gz


Select that lubuntu-desktop-nand.img file downloaded in LiveSuit.
Push button FEL (next to miniUSB interface) and don't release it. Plugin the Cubieboard to the computer with a miniUSB cable. Release the FEL button when the Cubieboard asks you about to format.
LiveSuit will ask you about to format, click on Yes.
Wait the progress
Unplug the cable.

Connect the CubieBoard to a monitor by HDMI.

Read How expand the NAND memory to 4GB in Cubieboard2 for Lubuntu or a prebuild image for install fast with a dd command.

Enjoy it :)

Cubieboard2 and Lubuntu: How to expand the NAND partition to 4GB

If you want a quick install for Lubuntu 14.04, please, read this post ;)

We installed Lubuntu into a Cubieboard2. But the NAND is using just 2GB of 4GB available:
linaro@cubieboard2:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       2.0G  1.2G  698M  64% /
devtmpfs        406M  4.0K  406M   1% /dev
tmpfs            20M  4.0K   20M   1% /tmp
none             82M  208K   81M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            406M  4.0K  406M   1% /run/shm
none            100M   12K  100M   1% /run/user


linaro@cubieboard2:~$ cat /proc/partitions


major minor  #blocks  name

  93        0    3891200 nand
  93        1      65536 nanda
  93        2    2097152 nandb
  93        3    1712128 nandc


We need to work from a Live OS. Install Cubian into the microSD from its great wiki and connect to a monitor or you can use SSH too (There is a solved problem. You have to use the port 36000, user cubie, password cubie:
ssh -p 36000 cubie@The_Cubian_IP)

Discover your current NAND partition (as root):

root@Cubian:~# nand-part | tail
3 partitions
partition  1: class =         DISK, name =   bootloader, partition start =    32768, partition size =   131072 user_type=0
partition  2: class =         DISK, name =       rootfs, partition start =   163840, partition size =  4194304 user_type=0
partition  3: class =         DISK, name =        UDISK, partition start =  4358144, partition size =  3375104 user_type=0

We will play with the numbers now. See the colours ;)
nand-part -f a20 /dev/nand 32768 "bootloader 131072" "rootfs 7569408"
fsck -f /dev/nandb
resize2fs /dev/nandb


What did we do with nand-part?
  • We joined nandb & nandc.
  • -f a20: It's for the Cubieboard2, with its CPU A20
  • 32768: it's where is starting the first sector
  • bootloader 131072: Will not change, then we will put the same partition name/size
  • rootfs 7569408: This is the key: 
    4194304
     + 
    3375104 =
     7569408
Then you need to check the partition by errors with fsck and resize to the 4GB.
Reboot and you'll have Lubuntu into your Cubieboard2 with 4GB! :)

Lubuntu 14.04 for Cubieboard 2

Cubieboard2 (CPU A20)


I bought a Cubieboard2 and I made a Lubuntu 14.04 image! Now, it's really fast and easy to deploy that image in a cubieboard2 with a NAND = 4GB.

Download the Lubuntu 14.04 image for CubieBoard2 here.



LUBUNTU 14.04 INSTALL STEPS:
Boot with a Live distro, by example, with Cubian into a microSD (>8GB) with these steps.

Copy this Lubuntu image downloaded into the root of the microSD.

Boot the Cubieboard2 with Cubian from the microSD.

Open a Terminal (Menu / Accesories / LXTerminal) and run:
sudo su -
[password is "cubie"]
cd /
gunzip lubuntu-14.04-cubieboard2-nand.img.gz
dd if=/lubuntu-14.04-cubieboard2-nand.img conv=sync,noerror bs=64K of=/dev/nand


It's done! Reboot :) You must to have Lubuntu 14.04.1 running with 4GB as NAND partition. User: linaro, password: linaro.



RECOMMEND STEPS AFTER INSTALLATION:
As sudo for the next steps:
sudo su -
  • Add your new user (change 'username' for your new user):
useradd -m username -G adm,dialout,cdrom,audio,dip,video,plugdev,admin,inet -s /bin/bash ; passwd username

echo 'setxkbmap -layout "es"' >> /etc/xdg/lxsession/Lubuntu/autostart

  • Set localtime (By example, for Spain local time = Europe/Madrid), in other way, the browser will have problems with the https web pages:
rm /etc/localtime ; ln -s /usr/share/zoneinfo/Europe/Madrid /etc/localtime ; ntpdate ntp.ubuntu.com

  • Change password to linaro user or remove (logout required) that user (it's sudo and all people know this password, do it ;):
userdel -r linaro

  • Install ssh-client for connect by ssh or pulseaudio pavucontrol for audio.



HOW WAS THIS IMAGE DONE?
For this image I installed an official Lubuntu 13.04 Image from here, and I did this changes:
- Resized NAND to 4GB (Ubuntu will use 1.5GB; 2GB free). You can use a microSD or SATA HD as external storage.
- Updated to 13.10 and then to 14.04 LTS (Updated lxde* packages to last versions).
- Installed ntp, firefox, audacious, sylpheed, pidgin, gpicview, lxappearance and ufw (not enabled)
- Rewritabled and group owner for avoid ufw warnings: /etc, /, /lib
- Removed chromium-browser, gnome-network-manager and gnome-disk-utility
- Removed no password for admin users (edited /etc/sudoers)
- Created this dd image



(OPTIONAL) PREVIOUSLY BACKUP OF YOUR CURRENT CUBIEBOARD2:
Insert a microSD card in your current OS:
sudo su -
dd if=/dev/nand conv=sync,noerror bs=64K | gzip -c -9 > /nand.img.gz

(OPTIONAL) RESTORE THAT BACKUP:
cd /
gunzip nand.img.gz
dd if=/nand.img conv=sync,noerror bs=64K of=/dev/nand

Tema monocromo para LibreOffice

Podemos mejorar (para mi gusto) mucho el tema por defecto de LibreOffice que tenemos en Ubuntu.

Simplemente ejecutamos esto en una Terminal:
sudo apt-get install libreoffice-style-sifr -y

Y modificamos en LibreOffice: Tools / Options / View / Icon: Sifr
 
Cerramos y volvemos a abrir LibreOffice y veremos algo que así :)

Tema monocromo en LibreOffice

Fuente.