I happened to want to save an image from a website with avif format (android 12 technology), but then not be able to view it with default image reader. So I created a Nautilus script to convert it to png
The only dependency you need is Davif which you can download here:
Hi everyone, I managed to get Ubuntu touch working pretty well on the Xiaomi Redmi Note 8 smartphones (ginkgo).
Before we move on to the installation here’s what’s wrong:
la telecamera frontale
i programmi x11 non andranno in Libertine
Anbox non funziona (apps android, ma va su note 7 quindi penso basti un altro kernel configurato per andare, io non ho provato)
adb via USB (bisogna usare SSH via wifi)
Otherwise at least of what I’ve tried everything goes, including dual sim, video, photos, gps, bluetooth, SSH, fingerprint reader and various apps from the open store.
First of all I consider that you have backed up, and that you are ready to “fiddle” with pc and smartphones.
A) You need to unlock the Xiaomi boot-loader and install the TWRP recovery
In recovery TWRP go to advanced and enable sideload (remember that for each step you must close sideload and reopen it otherwise it gives an error)
Here are three of my screenshots (they are made by pressing the power button for a few seconds, it will open a menu where you can reboot, shut down and take screenshots)
E) Now you are ready to use Ubuntu but to manage it from pc you’ll have to configure SSH (both from PC and smartphones):
From PC (I used Ubuntu 20.04, but it’s good for all Debian based:
ssh-keygen
Once you have generated the key you will find it in ~/.ssh/id_rsa.pub
Now copy it into your cell phone (I used the wifi transfert app
that you can find in the store, or via bluetooth with another app that
transfers files, or use dropbox or other)
From Ubuntu touch smartphone:
put the file in /home/phablet/ (i.e. the user home)
open the terminal and give
mkdir /home/phablet/.ssh
chmod 700 /home/phablet/.ssh
cat /home/phablet/id_rsa.pub >> /home/phablet/.ssh/authorized_keys
chmod 600 /home/phablet/.ssh/authorized_keys
chown -R phablet:phablet /home/phablet/.ssh
sudo android-gadget-service enable ssh
Now from PC open the terminal and give
ssh phablet@10.42.0.197 (from hotspot the ip should be the same,
or your ip of the cell phone connected in wifi)
NB: the basic password is phablet I recommend to change it
Now you can finally have fun with Ubuntu touch
Comments Off on Ubuntu touch (ubport) Xiaomi Redmi Note 8
Dusting the old computer games I found this nice game for those who are fond of sailing ships (galleons, frigates) cannons, boarding and space. In fact it is derived from Disney’s animated film “Treasure Planet” which takes its cue from the novel “Treasure Island” by Robert Louis Stevenson.
Now let’s see how to install it on Ubuntu or other linux distro with wine or Crossover. I will assume that you have already set the drivers for your graphics card and that you have both 64bit and 32bit Vulkan libraries (libvulkan1 mesa-vulkan-drivers mesa-vulkan-drivers:i386), for Crossover you should add libopenal1:i386 , libopenal1 and if you have NVIDIA also libnvidia-gl-450:i386
First of all create a 32 bit windows10 bottle, then add DXVK in Crossover directly from “install Windows Software” then select the created bottle, for wine instead go to package management and install dxvk (or if you prefer from terminal “sudo apt-get install dxvk”). Now install the game quietly but before starting it you have to open the regedit, on Crossover select the bottle, then from the menu bar, “bottle”; “Run Command…” will open a window and write us: regedit
Now you have to go to HKEY_CURRENT_USER/Software/Wine and create a Direct3D folder, then select Direct3D and right (inside) right click “create DWord” and give it the name MaxShaderModelVS give ok and you’re done (the default value zero is ok). Now you are ready to play the inserted cd, if you want to avoid the cd go to gamecopyworld and download the no-cd ENG (text and it works perfectly also on the italian version). To set the resolution 1920×1080 you have to open the file \UserProfiles\default.pft and go to the string 00000003 InGame Max Fullscreen DisplayInfo and edit “Width Int 1920” and “Height Int 1080”. Now you can start the game and go to the settings and set the resolution to 1920, I also recommend that you put all graphic settings to the highest quality. If instead you want to buy the game on Steam you can do it here: https://store.steampowered.com/app/331970/Disneys_Treasure_Planet_Battle_of_Procyon/ and avoid all these steps (of course then you have to set the windows compatibility layer)
Hello, everyone,
I was able to hear and make calls from the mobile phone connected in BT (bluetooth) through the computer with Ubuntu and with headphones with microphone connected to the PC.
Let’s say how modern cars that have the Bluetooth handsfree, in fact you can make calls without headphones inserted.
0) Connect and pair the android smartphone (I used android 7.1) with BT to Ubuntu 18.04 1) Install ofono from package manager 2)Edit the file with
4) Restart the PC 5) From smartphone go to BT and connect with a simple click to the already associated pc 6) In audio settings (system PC), in the input sub-menu, do not select the BT of the cell but the input of the microphone or of the PC or of the headphones connected to the PC (if it does not appear, change this setting during the call). 7) make a call and see if everything works! (remember when changing the microphone input as step 6)
Since searching on the internet I have not found any solution I have worked hard to write this guide
I hope you can use it
Greetings to all
Comments Off on Ubuntu Bluetooth phone calls Android as handsfree
Hi, the Lightworks video editing program on the official website has two versions: 14 and 15,
now on ubuntu 17.10 for the 14 there are tricks to do to make it work and find various guides googolando, while instead the version 15 is designed for ubuntu 18.04 and 18.10.
Trying alone I found this solution that I share with you: 1) go to the official website https://www.lwks.com login or register
2) download the beta version 3) open a terminal (ctrl + t) and write to us
sudo apt-get install libcurl4-openssl-dev
give and send the password even if you can not see it and send it again
4) assuming that you have downloaded Lightworks-145RC4-105935-14.5.0.0.deb in the download folder we give in the terminal
cd Download
dpkg-deb –extract Lightworks-145RC4-105935-14.5.0.0.deb estrazione-deb
dpkg-deb -e Lightworks-145RC4-105935-14.5.0.0.deb estrazione-deb/DEBIAN 5) DO NOT CLOSE THE TERMINAL; now let’s go with the file manager in the Downloads / extraction-deb / DEBIAN folder and open the file controll,
now let’s replace libcurl4 with libcurl4-openssl-dev
save the file and close 6) we return to the already opened terminal and we give
dpkg-deb -b estrazione-deb
sudo dpkg -i estrazione-deb.deb
7) now in the main ubuntu menu we search and start Lightworks
here we enter our login data as in the site! #END
Good video editing
Comments Off on Install Lightworks 15 on Ubuntu 17.10
Hello,
after several attempts I present a new script for Nautilus (file manager present in most linux distributions): allows you to rename all the PDF files, within the same folder, according to the internal tag of the title (for instance right click, property, document, title); very useful in various cases !!!
first of all download this file:
move the file to
/home/YourName/.local/share/nautilus/scripts/
then by right clicking on the file
go to property > permissions
and put the check mark on “Allow file execution as a program”
Now just select the file or pdf files that interest you and right click
script > renam-Port-title-tag-in-name.sh
NB: ATTENTION the script renames all the PDFs contained in that folder
NB: ATTENTION If the PDF file has no title tag the PDF will be deleted
I hope you come back useful !!!
Comments Off on Rename PDF based on the title tag data
Hello everyone, after a few days of testing I managed to make the new interface Gnome of Ubuntu 17.10 similar to the old call Unity
it’s very simple we’ll use the extensions that the Gnome community offers: 1) install the bases for managing extensions:
after several searches on the web I did not find a working solution to see the video mp4 with H.264 encoding on Video (default program Video, internal name Totem).
The MPEG-4 AAC sound was heard but the video was not displayed!
In fact, if you open a terminal and write
totem namevideo.mp4
we will find a mistake like this:
libva error,driver_name=(null)
This happens above all with those who have the double graphic card in optimus intel + nvidia managed by prime
Premise: guide for those with ubuntu 17.10 (with new gnome shell interface 3.26 and later) and nvidia proprietary drivers and then xorg graphics server
Resolution:
I open a terminal (ctrl + alt + t) and copy and paste the following lines
The problem jumps out as an unsuccessful update called ttf-mscorefonts-installer ie fonts (fonts) used by Microsoft, it is better to install them to have compatibility on World documents in Libre Office.
Returning to the problem here is how to solve the problem on the fly without long tricks:
Let’s open a terminal with ctrl + alt + t or by looking it up in the main menu and make the copy paste of
sudo sed -i ‘s#http://downloads.sourceforge.net/corefonts#https://github.com/pushcx/corefonts/raw/master#g’ /usr/share/package-data-downloads/ttf-mscorefonts-installer
sudo /usr/lib/update-notifier/package-data-downloader
Obviously put your password when requested even if you do not see the typing of the same !!
Simple, no?
Hello everybody
Comments Off on Fix Microsoft font problem on Ubuntu 17.10