Как создать ярлык на рабочем столе для файла данных в Ubuntu 18.04.4 LTS?

Допустим, у меня есть текстовый файл my-text-file.txt , и файл находится в ~ / Каталог документов . Как я могу создать ярлык на рабочем столе для этого файла?

Другими словами, я хочу, чтобы на моем рабочем столе была иконка, которая при двойном щелчке по ней откроет и отредактирует my-text-file.

задан 5 June 2020 в 04:03

2 ответа

First make sure your system is up to date

sudo apt update && sudo apt upgrade

Next, take a backup. This is important as if anything goes wrong you will still have your data. You can use Deja Dup among other tools.

To upgrade to 20.04 run the following command and answer the questions:

sudo do-release-upgrade -d

Note: The -d flag denotes that you are upgrading to a development version. When the first point release happens, then you will get the official repository asking you to upgrade. It is recommended that you wait for 20.04.1 to be released before upgrading as any bug reports will be ironed out after that. 20.04.1 is being released on July 23, 2020.

After July 23, 2020 you can upgrade to the Focal by running the following command:

sudo do-release-upgrade
ответ дан 19 June 2020 в 21:30

The Ubuntu Studio 20.04 Focal Fossa release notes include details on how to upgrade, as does this entry in the Ubuntu Community Help Wiki.

According to the release notes, you can upgrade if you are running Ubuntu Studio 18.04 or 19.10.


Before you start, you should backup your data and make sure your current packages are up to date.

Most Ubuntu Studio 18.04 installs would have the Backports PPA enabled. If this is the case, you should remove it.

sudo apt install ppa-purge
sudo ppa-purge ppa:ubuntustudio-ppa/backports

Whether using a command line or GUI method, you'll likely be asked a few questions about keeping or replacing configuration files for packages

Command Line Upgrades

From a command prompt, type: sudo do-release-upgrade -d -m desktop

The -d flag is needed until the first point release (eg 20.04.1) is available.

ответ дан 19 June 2020 в 21:30

Другие вопросы по тегам:

Похожие вопросы: