When a Ubuntu version reaches end of life (EOL) it stops receiving APT updates.
Does this apply to the snap store as well, that is, when Ubuntu is EOL does $ sudo snap refresh
stop working?
When a Ubuntu version reaches end of life (EOL) it stops receiving APT updates.
Does this apply to the snap store as well, that is, when Ubuntu is EOL does $ sudo snap refresh
stop working?
Snap automatic updates can now be disabled with $ sudo snap refresh --hold
.
This can be seen in this other thread and this blog post and from the mouth of the horse itself.
My Ubuntu 22.04 is up to date but I get an error when running the command. Any idea why?
$ sudo apt update
...
All packages are up to date.
$ sudo snap refresh
All snaps up to date.
$ sudo snap refresh --hold
error: unknown flag `hold'
I want to completely reset deja-dup configuration files.
I tried removing and installing again using snap
, but previous settings are still there after a fresh install (e.g. backup path, folders to ignore, etc).
$ sudo snap remove --purge duplicity
snap "duplicity" is not installed
$ sudo snap remove --purge deja-dup
deja-dup removed
$ sudo snap install --classic deja-dup
deja-dup 42.6 from Michael Terry (mterry) installed
Also tried looking for deja-dup
and duplicity
files afterwards with find
and got nothing.
Removing deja-dup with apt
does nothing since I didn't use it to install deja-dup.
Also note I didn't manually install duplicity, I'm guessing that comes bundled with deja-dup from the snapstore. Anyway tried removing it with apt and snap and said wasn't installed as expected.
Where are these settings located?
I created two new profiles in Text Editor (gedit) with custom colors. I'd like to backup those settings.
There is nothing related to profiles, for example, in ~/.config/gedit/
or ~/.local/share/gedit/
.
Where does gedit save the profile settings?
In Ubuntu 16.04 I had no problems with VPN: after disconnecting I had Internet.
In Ubuntu 18.04 I have no Internet after disconnecting from the VPN. I can actually ping 8.8.8.8
but not www.google.com
hence I'm thinking DNS related issue.
A manual solution is to do $ sudo service network-manager reload
.
The maximum lock time in Ubuntu 18.04, when set via GUI, is 15 minutes. This can be set in Settings → Power → Power Saving → Blank screen.
I'd like to increase this to 30 minutes for my machine at home. How can I do that?
I installed nautilus-dropbox
in Ubuntu 18.04. The app itself works fine, but it does not respect the Start Dropbox on system startup option.
~/.config/autostart/dropbox.desktop
.$ dropbox autostart n
the file is removed.I've tried adding dropbox autostart n
to dropbox start -i
in /usr/share/applications/dropbox.desktop
. This results in Exec=dropbox start -i; dropbox autostart n
.
Now when I start Dropbox it still recreates the file in ~/.config/autostart/dropbox.desktop
but now the line Exec=dropbox start -i
appears as Exec=dropbox start -i; dropbox autostart n
.
(Starting Dropbox via command line also creates the file in ~/.config/autostart/
.)
Issue a $ dropbox autostart n
after starting the daemon.
Assuming I don't want it to start and then stop during boot, but to remain dead until I wake it up manually via command line or apps menu.
How do I prevent Dropbox from starting during system boot?
This issue has been solved by Dropbox with a client update.
I have an internal drive to store documents that is encrypted and not auto-mounted. I only mount the drive when I need to use it. The disk is mostly empty, it only has a few documents and VM on it right now.
In my latest update I was asked for its passphrase, I'm assuming the OS wanted to mount it: Please enter passphrase for disk Samsung_SSD_850_EVO_500GB (diskfifi) on /mnt/diskfifi!
. I simply pressed ENTER without providing any kind of password and the update proceeded. At some point it asked me again for my password. I once again pressed enter and the update proceeded again.
After the update was complete, I called update/full-upgrade to check whether there were any pending updates, and everything appears to be fine. Why is Ubuntu asking me for the passphrase of the secondary hard disk?
An extract of the update follows. I've kept more than necessary for context and marked both lines with **.
Preparing to unpack .../ubuntu-core-launcher_2.26.10_amd64.deb ...
Unpacking ubuntu-core-launcher (2.26.10) over (2.25) ...
Preparing to unpack .../snapd_2.26.10_amd64.deb ...
** Please enter passphrase for disk Samsung_SSD_850_EVO_500GB (diskfifi) on /mnt/diskfifi!
Warning: Stopping snapd.service, but it can still be activated by:
snapd.socket
Unpacking snapd (2.26.10) over (2.25) ...
Preparing to unpack .../logrotate_3.8.7-2ubuntu2.16.04.2_amd64.deb ...
Unpacking logrotate (3.8.7-2ubuntu2.16.04.2) over (3.8.7-2ubuntu2.16.04.1) ...
...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Setting up snapd (2.26.10) ...
Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine.real ...
** Please enter passphrase for disk Samsung_SSD_850_EVO_500GB (diskfifi) on /mnt/diskfifi!
Setting up ubuntu-core-launcher (2.26.10) ...
Setting up logrotate (3.8.7-2ubuntu2.16.04.2) ...
...
$ sudo apt update
(...)
All packages are up to date.
$ sudo apt full-upgrade
(...)
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I got a new 500GB SSD and formatted it with ext4+LUKS using the Disks utility in Ubuntu 16.04.
df -H <mydisk>
I get the same values as nautilus. Using df -h <mydisk>
I get total size 459GB, available 435GB, and used 70M. (Notice -h
is powers of 1024, and -H
is powers of 1000.)
500 * 10^9 / 2^30 = 465.66 GB
meaning the total size of 459GB makes sense when using powers of 1024. However, the discrepancy between total size and available+used space is still present.Total size of the disk is quite different from the sum of the free and used amounts. Why? answer
This is a secondary disk. The OS is installed in a different disk.
$ sudo tune2fs -l /dev/sdb
tune2fs 1.42.13 (17-May-2015)
tune2fs: Bad magic number in super-block while trying to open /dev/sdb
Couldn't find valid filesystem superblock.
$ lsblk /dev/sdb
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 465,8G 0 disk
└─luks-<long-random-string-1> 253:3 0 465,8G 0 crypt /media/daniel/<long-random-string-2>
$ sudo tune2fs -l /dev/mapper/luks-<long-random-string-1>
<this works>
How do I recover the reserved space? (this doesn't work)
Edit: I've reduced the reserved space using $ sudo tune2fs -m 0.3 /dev/mapper/luks-<long-random-string-1>
. The problem was that I wasn't using the correct device (drive is encrypted).
I have a 13 inch laptop running ubuntu and an iMac running OSX. I'd like to use the iMac as an external monitor for the laptop.
The laptop has VGA and HDMI, and ubuntu 14.04.
Related:
https://apple.stackexchange.com/a/87666/109005
https://superuser.com/q/540547/372305
I added the entry sftp://daniel@<somedomain>
to my bookmarks in Nautilus. The first time it was accessed it asked for the password but never after that. I cannot remember which option I selected to remember (e.g. until end of session).
In any case, I want Nautilus to forget the access password and ask me every time I open the remote file system. Unmounting did not cause it to forget the password. I've also opened seahorse
and this key is not there.
Any idea where the key is stored and how can I force nautilus to forget the password?
When we have many tabs open in Firefox we get one arrow on each side to scroll through the tabs. What I usually do is to use the mouse (yuck!) to click on those arrows to do the scrolling. How can I achieve the same behavior using the keyboard?
Now I know we can use shortcuts to scroll through tabs by opening them, for example with Ctrl+PgUp and Ctrl+PgDn. However, this implies opening the tab and I do not want to do that. I have multiple groups of tabs with a few of them containing dozens of tabs. When I close Firefox and come back they do not load automatically. So if I'm in a tab in position 57 and want to go to a tab in position 33 by using Ctrl+PgUp and Ctrl+PgDn then all tabs in between are loaded. When I use the arrows instead the tabs do not load and the tab which has the focus is still open although it is not currently showing on the tab bar. In the end, the final tab selection would still have to be done using the mouse but it would be convenient to do the scrolling with the keyboard.
How can I find out which HDMI version the laptop supports, in particular if it is HDMI 1.3?
Full story:
I'm considering acquiring either a Dell U2414H
or Dell U2515H
/Dell U2715H
(or similar) capable of resolutions of respectively 1920x1080 and 2560x1440. This is for an old laptop with an nvidia 9600M GT, which supposedly can handle a resolution of up to 2560x1600
.
Since the laptop only comes with VGA and HDMI, I'll be using the HDMI port. It seems that to support the resolution of 2560x1440
of the larger monitor I'd need to have HDMI version 1.3; HDMI 1.2 only supports resolutions of up to 1920x1080
.¹ This mean that with HDMI 1.3 I can buy the 27-inch monitor, otherwise I'm better of with the 24-inch one.
¹ I suspect the laptop doesn't support HDMI 1.4 because it got out around the time it was bought. Checked it on wiki.
In the Firefox tab Privacy
in Preferences we can set Accept cookies from sites
and then Keep until:
they expire
, I close Firefox
or ask me everytime
.
Currently I have keep cookies until they expire but I'd like to be able to select a time frame, for instance 40 days; so cookies with be automatically deleted once they lived for 40 days. Is this possible? I couldn't find an option for this in about:config
but perhaps I didn't look in the right place.
In Tools--->Add-ons-->Plugins-->Shockwave Flash
I selected Ask to activate
. Now I need to explicitly allow flash to play on every website I visit. It is possible to Allow and Remember
or block flash permanently for particular websites. The question is where is this whitelist/blacklist located?
In Ubuntu 14.04, when I do a search in Firefox using either the address bar or the search bar, the system always adds t=canonical
to my searches. So the full string becomes: https://duckduckgo.com/?q=cat+cooking+salmon&t=canonical
.
However, if I perform the same search by going directly to the search engine, i.e. typing the search engine name and doing the search from the presented search box, this does not happen. In this case the string is: https://duckduckgo.com/?q=cat+cooking+salmon
.
How do I stop Ubuntu/Firefox from adding t=canonical
to my search queries? And, why is this behavior there in the first place?
Just updated 14.04 and now bluetooth is permanently on.
InitiallyPowered = false
in /etc/bluetooth/main.conf
;$ rfkill block bluetooth
does not work (also tried with sudo
);I'd like to have it switched off on boot, but still be able to enable it when I need it. Any solutions?