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>

This 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.

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

Powered by Drupal

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer