unity.jpgAs it is quite well known, Canonical decided to drop support for the desktop it had created and adopted in 2010, called Unity. The current version, number 7, is quite stable, but it has not received substantial update in the last few years, when Canonical and its community were waiting for a major update, Unity 8, which would allow for convergence with phones and tablets. Since I have quite a good workflow with Unity, I decided to keep using it until it is is possible.

Installing Unity 7 in the new Ubuntu 18.04, which is going to be released at the end of April, is quite simple. It is only a command away:

sudo apt install ubuntu-unity-desktop

All files are still available and maintained in the universe repository. There is actually also a respin of Ubuntu with this desktop, and a community behind it, as shown in a community portal and a Trello bug-tracker.
My hope is that the UBports community, which has already an initial version of Unity 8 that runs on Ubuntu 18.04, will provide an update for this desktop to go into convergence with the phones and tablets using Ubuntu Touch.

I use Emacs as edemacs.pngitor, but in my new laptop it opens always fullscreen and maximized. I tried everything suggested in this thread:
but nothing  worked. The laptop has a very high resolution screen, I run it with a  3840x2160 (16:9) resolution and 2.12 scale, and so emacs thinks it would go over the screen and starts maximized no matter what.

I could finally find out how to do it. I actually am starting emacs with this alias:

emacsclient --alternate-editor="" -c

Adding the following lines to my emacs start file (.emacs) solved it:

 (add-to-list 'default-frame-alist '(width  . 20))
 (add-to-list 'default-frame-alist '(height . 10))

sharkThis is an update on how to identify an URL stream using wireshark. In a previous article I explained how to install wireshark:
For some reason, radio stream providers are increasingly obfucasting the URL of the radio stream, probably because they want users to access their streams through their web page. So my old instructions do not work.
Here is how to do it nowadays. After starting the radio stream in the web page, and starting wire shark as root ("sudo wireshark"), enter "http.request" as the filter and start capturing packets.

Once wireshare starts showing some information, click on the menu Statistics - Resolved addresses. There you will see some domains and some text to append to them. Look for a domain that looks like the one you are trying to access and to an extension of that domain that contains the strings "m3u" or "mp3". That should be the URL of your stream.

Image removed.The Linux console is where all messages from the kernel are received, but it allows also user interface as in dektop terminal.
Another thing that happened to me with my new Laptop with high screen resolution is that the font size of the console is tiny, and almost impossible to read. Here are some instructions to increase the font size of the console in Ubuntu.
Enter the following command:

sudo dpkg-reconfigure console-setup

The options to choose are the following:

  •     Encoding to use on the console: UTF-8
  •     Character set to support: Guess optimal character set
  •     Font for the console: Terminus
  •     Font size: 16x32 (framebuffer only)

Then just switch to a TTY (CTRL+ALT+F1), login, and type setupcon. Repeat the process if you want to see which PSF (PC Screen Font) and font size you prefer (although the options are rather limited).

xfig_small.pngMy new laptop XPS 13 9370 is great but I can ran it with such high display resolution (3840 x 2160 pixel 331 PPI) that I have to run it with a scale factor of 2.12. But not all applications scale appropriately. For Gimp I could solve it using a theme with larger icons, but some old X11 applications like Xfig, which I've been using since my Unix times in the late 1980s and could never substitute by anything else, don't scale at all. This is a problem since the menus and icons, as well as line thickness and such, are so small and thin that Xfig becomes unusable.

<p><img alt="wireshark.jpeg" data-align="left" data-entity-type="file" data-entity-uuid="f879ba40-b11a-4189-8626-6cdb0753f2ae" src="http://localhost/sites/default/files/root/public/images/Ubuntu/wireshark.jpeg" />I like to work hearing music, especially classic music. I also like Radio Clásica, the classical music radio of the Spanish public radio. In rhythmbox it is easy to enter a new radio, just entering the URL of the radio stream in the "Properties" field of the radio.</p> <p>The problem is 1) that some radios like Radio Clasica change this URL often, 2) increasingly the web pages of the radios where the stream is included use javascript and the stream url cannot be seen directly in the html source of the page.</p> <p>For this "wireshark" comes handy. This is an application that analyzes and lists all network connections of a system. So install wireshare if you don't have it:</p> <pre> sudo apt-get install wireshark</pre> <p>You have to start wireshark as superuser otherwise it cannot access all the network information:</p> <pre> sudo wireshark</pre> <p>You have to choose "any" stream, and once the streams are show, in "display filter" write "http.request". Somewhere in the list of connections shown the radio stream URL will be shown, and hopefully it will be easy to recognize.</p>

I have renewed my laptop after using my previous one several years. But what is remarkable is how easy it is to migrate both applications, its settings and the data from one computer to another one when you use GNU-Linux systems like Ubuntu, so that you can continue working in the new computer exactly as you were working in the old computer. Here you have some notes on how I did it.

Important note: Use these instructions under your own responsibility. The username and password have to be the same in both computers, and we assume that at the new computer you have installed exactly the same version than at the old one. First, to get a lista of all installed packages in the old computer, give the following command from a terminal at the old computer:

dpkg --get-selections &gt; ~/Package.list

This will create a file called "Package.list" at your home folder with a list of all installed programs. Next, we copy the list of repositories needed to reinstall the programs and the keys used to access them:

sudo cp -R /etc/apt/sources.list* ~/

sudo apt-key exportall &gt; ~/Repo.keys

This will copy us the file "sources.list" to our home folder and it will create another file called "Repo.keys" with all the keys. Finally, we have to copy all the contents of the home folder (that is all directories, subdirectories and files, also the hidden ones, or the /home/username folder of the old computer) to the home folder of the new computer, that if you remember has the same name as in the old computer. Use any procedure that you know to do this but make sure that you also transfer all hidden folders and files.

Next, we proceed to install all programs at the new computer (install "dselect" first):

sudo apt-key add ~/Repo.keys

sudo cp -R ~/sources.list* /etc/apt/

sudo apt update sudo apt install dselect

sudo dselect update

sudo dpkg --set-selections &lt; ~/Package.list

This last year I started to collaborate more with the local Catalan Ubuntu team. These are teams formed in different parts of the world that collaborate with the Ubuntu project. The Catalan LOCO team is special because it is not associated to a particular state but to the Catalan language and its variants which spread across different states.

This year I participated in the release parties of Ubuntu 10.04 in València and 10.10 in Granollers. In València I lead a session on GPG signatures. I also had an active participation in the team support forum, where I accumulated about 400 posts, and I submitted 10 bugs to Launchpad, three of which triggered patches and fixes for Ubuntu Lucid and Maverick. 

I also prepared the Catalan customized version of Ubuntu releases, this year I prepared the Ubuntu and Xubuntu versions of Ubuntu Lucid and Maverick.

Powered by Drupal

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer