I have an old PHP tool running which is not easily adaptable to PHP7. So I have to run PHP5 on my server.
How can I install PHP5 on Ubuntu Bionic Beaver?
After upgrade from Ubuntu 17.10 to 18.04 the bootprocess takes 30s longer than before.
it stops for 30 seconds at the step
Begin: Running /scripts/local-premount
Then it continues.
At first it continued one step further to
scanning for btrfs file systems
so I uninstalled btrfs support, but that didn't help with the problem.
I see no notice of that step neither in dmesg
nor in var/log/boot.log
How can I debug this problem? Can I enable additional logging?
I ran rkhunter
and found out a warning, that there is a new user called _apt
on my Ubuntu 16.04
$ grep _apt /etc/passwd
_apt:x:124:65534::/nonexistent:/bin/false
All I found out is, that it seems that this is a kind of sandbox user for "advanced persistent threats". But what exactly is this?
Is there any setting to enable natural scrolling for my touchpad?
I can find the setting under XFCE settings for the mouse, but it doesn't work for the touchpad. Is there a way to enable it for the latter?
How do I disable all effects in Ubuntu 15.10?
I already called this on the console:
gsettings set org.gnome.desktop.interface enable-animations false
But it doesn't seem to have a great effect, When I open the Ubuntu dash, it still gently fades in.
How can I disable all effects, so I minimize the usage for my graphic card?
I know, there are more lightweight solutions like Lubuntu or Xubuntu, but I would like to stay on plain Ubuntu.
You can easyly backup your home folder on an external harddrive with
rsync -a --exclude=.cache --progress /home/$USER /media/linuxbackup/home/$USER
I excluded the .cache folder cause I think I will never need it when I have to re-install from this backup.
I found this list of all folders that I could exclude in a normal backup here:
What files and directories can be excluded from a backup of the home directory?
I created a list of this answer that contains some coments in this form:
#These directories may be excluded:
.gvfs # contains mounted file systems?
.local/share/gvfs-metadata
.Private # contains the actual encrypted home directory
.dbus # session-specific
.cache
.Trash # do I need to say more?
.local/share/Trash
.cddb # cached info about audio CDs
.aptitude # cached packages lists
#Flash-specific:
.adobe # Cache for flash, maybe others?
.macromedia # except for Flash persistence, there is no reason to keep this
#Files:
.xsession-errors # contains errors from the current graphical session
.recently-used # recently used files
.recently-used.xbel
.thumbnails
How can I add this list to my rsync command?
Is there a command to list all partition labels?
I can list the partitions with
sudo fdisk -l
but it doesn't show the labels of unmounted partitions.
There are some applications (mainly java based) that don't follow the global 2x scale I set in the screen-settings. So these apps are really tiny on my high DPI screen with 3200x1800px.
How can I get these apps running in a smaller screen resolution?
I have a folder ~/.dbus
in my homefolder that is only read and writeable by root:
drwx------ 3 root root 4096 Feb 17 17:30 .
drwx------ 2 root root 4096 Feb 17 17:30 session-bus
Is this the correct setting? Or if not, how could that happen?
There was a lot of discussion about the init system for 14.04 before it was released, but I cannot find any site that explains the outcome finally.
So is Ubuntu 14.04 using systemd now?
If you are using a high DPI Display with a resolution of 3200x1600 px you can adjust Unity with a System wide Menu and titlebar scaling But Firefox is not really ready for this: All pages and the Icons stay tiny.
multiplication of system font increase and browser font increase makes system controls (combobox, lists, drop down lists) extremely big on many websites, where the form elements are affected by the scaling two times, so all form elements are huge (4x).
emails in Thunderbird are displayed tiny, so you have to use Ctrl++ all the time
How can I adjust Firefox and Thunderbird, so everything will look normal?
How can I adapt Ubuntu to a high resolution display?
I have a display with 3200x1600px on only 11'' and everything looks really tiny.
I want to watch the changes of the output
gsettings list-recursively|grep text-scal
which is
org.gnome.desktop.interface text-scaling-factor 1.0
com.canonical.Unity.Interface text-scale-factor 1.0
but if I try to watch it with
watch gsettings list-recursively|grep text-scal
I get no output, because the pipe seems to be the problem.
How can I still watch the changes?
On my console the color for directories is such a blue, that it is hard to read on a dark background.
How can I change the color definitions for ls
?
In case there were some problems during the last apt-get
operation, is there a command that checks if something has to be continued in apt-get
?
I have a dual boot windows 8 and Ubuntu on my Laptop.
Is it possible to read the Windows licence key under ubuntu? (I guess it is hidden in the Windows registry somehow)
On my 13 inch screen with 3200x1800px I adapted all fonts to 230 dpi which is ok in most cases.
Also in Settings, I could change Icons of the KDE Theme to 64px.
Only the Icons in the status bar at the bottom right corner (velocity, Network,...) are still only about 16x16 px, which is barely readable. They seem not to obey the same rule.
Where can I change them?
On my keyboard-layout the left Ctrl key is not working (the right works normal).
How can I check if another key is ordered to that key?
I once had a commandline tool that i could start and there it showed me every input that came whatever key I pressed, but I cannot find it anymore.
If I find out, that it works, I want to remap the correct key to my left Ctrl key
I would like to run a script from the main ubuntu shell as a different user that has no password.
I have full sudo privileges, so I tried this:
sudo su -c "Your command right here" -s /bin/sh otheruser
Then I have to enter my password, but I am not sure if that script is now really running under that user.
How can I confirm that the script is really running under that user now?
I would like to add a starter icon to my task bar that runs dolphin
but initially starts in a folder I would like to specify
the Dolphin Handbook doesn't explain this.