Linux mint xfce терминал

Release notes

This is Linux Mint 20, codename Ulyana.

Linux Mint 20 is a long term support release which will be supported until 2025. It comes with updated software and brings refinements and many new features to make your desktop experience more comfortable.

Known issues

Shutdown timeout

For your convenience, the shutdown timeout is reduced to 10s.

If you rely on lengthy operations to finish before shutdown, read /etc/systemd/system.conf.d/50_linuxmint.conf and override the timeout value in /etc/systemd/system.conf.d/60_custom.conf.

Grub2 theme in HiDPI

If the grub2 theme looks too small in your HiDPI monitor, install the «grub2-theme-mint-2k» package.

Snap Store

The Snap Store is disabled in Linux Mint 20. For more information on this or to re-enable it read https://linuxmint-user-guide.readthedocs.io/en/latest/snap.html.

Virtualbox

If the screen is black when launching Linux Mint in Virtualbox, change the VirtualBox graphics controller to «VMSVGA». Do this by opening up the settings for your VM and select Display -> Graphics Controller.

If the screen is garbled when launching Linux Mint in Virtualbox, switch to console with HOST+F1 (e.g. the RIGHT Ctrl key, no ALT) and back to tty7 with HOST+F7.

Another workaround is to disable «nested paging» (in the System -> Acceleration settings) and to increase the video memory to 128MB (in the Display settings).

Note: This issue only affects the live session. You don’t need these workarounds post-installation.

To add support for shared folders, drag and drop, proper acceleration and display resolution in Virtualbox, click on the «Devices» menu of Virtualbox and choose «Insert Guest Additions CD Image». Choose «download» when asked and follow the instructions.

Home directory encryption

Benchmarks have demonstrated that, in most cases, home directory encryption is slower than full disk encryption.

The move to systemd caused a regression in ecrypts which is responsible for mounting/unmounting encrypted home directories when you login and logout. Because of this issue, please be aware that in Mint 20 and newer releases, your encrypted home directory is no longer unmounted on logout: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1734541.

Guest sessions

You can still enable guest sessions in the «Login Window» utility, but this option is now disabled by default.

Touchpad drivers

The default touchpad driver in this edition is «libinput» (provided by the xserver-xorg-input-libinput package).

If you experience problems with it, you can switch to another driver called «synaptics» (provided by the xserver-xorg-input-synaptics package).

To know which driver is used by your input devices, run the following command:

grep -i «Using input driver» /var/log/Xorg.0.log

When both drivers are installed, «synaptics» takes priority.

To switch to the «synaptics» driver, install it with the command:

apt install xserver-xorg-input-synaptics

Then log out and log back in.

To go back to using «libinput», simply remove the «synaptics» driver:

apt remove xserver-xorg-input-synaptics

Then log out and log back in.

Note: You can also try installing the «evdev» driver (provided by the xserver-xorg-input-evdev).

To install the complete version of WINE, open a terminal and type:

apt install wine-installer

Among other things, this will install wine-desktop-files, which adds menu entries for regedit, your C:\ drive and other items which are missing from upstream WINE.

Sound and microphone issues

If you’re facing issues with your microphone or your sound output, please install «pavucontrol».

This will add «PulseAudio Volume Control» to your menu. This application has more configuration options than the default volume control.

DVD Playback with VLC

If VLC does not find your DVD player, click on Media->Open Disc, and specify ‘/dev/sr0’ as the disc device.

Other issues

Linux Mint 20 is based on Ubuntu 20.04. Make sure to read the Ubuntu release notes.

Username and password in the live session

In the live session, the username is «mint» and the password is empty (i.e. just press Enter if asked for a password).

Читайте также:  Как закрыть vim linux

Moving windows which don’t fit in the screen

If your screen resolution is too low, some windows might not fit in the screen.

While pressing the ALT key, you can grab any part of a window with the mouse and move it across the screen.

Installing multimedia codecs offline

To download the multimedia codecs into an installable archive:

  • Boot from the Linux Mint ISO on a computer which is connected to the Internet
  • Open a terminal and type «apt download mint-meta-codecs» (without the quotes)
  • This creates a «mint-meta-codecs.tgz» archive

On computers which do not have an Internet access, you can decompress this archive and run ./install.sh (or alternatively «sudo dpkg -i *.deb») to install the multimedia codecs.

Solving freezes during the boot sequence

Some graphics cards don’t work well with the open-source driver present in Linux Mint.

If Linux Mint freezes during boot time, use the «Compatibility Mode» boot option.

In this mode you should be able to boot Linux Mint and install it on your computer.

After the installation, reboot the computer and wait for the boot menu to appear.

Add the «nomodeset» option as illustrated below:

Your browser does not support the video tag.

If your graphics card is from NVIDIA, once in Linux Mint, perform the following steps to install the NVIDIA drivers:

  • Run the Driver Manager
  • Choose the NVIDIA drivers and wait for them to be installed
  • Reboot the computer

With these drivers the system should now be stable and you no longer need to use «nomodeset».

Note: If you’re using an Optimus card, you’ve nothing more to do. Upon reboot, a system tray icon should show up indicating which GPU is currently active. Click on it to switch GPUs.

Note: If you still cannot boot try one of the following solutions:

  • Try with «nouveau.noaccel=1» instead of «nomodeset».
  • Try with «noapic noacpi nosplash irqpoll» instead of «quiet splash».
  • After the installation, use «Advanced Options» -> «Recovery mode» from the boot menu and choose «resume».

Choosing the right version of Linux Mint

Each new version comes with a new kernel and a newer set of drivers. Most of the time, this means newer versions are compatible with a larger variety of hardware components, but sometimes it might also introduce regressions. If you are facing hardware issues with the latest version of Linux Mint and you are unable to solve them, you can always try an earlier release. If that one works better for you, you can stick to it, or you can use it to install Linux Mint and then upgrade to the newer release.

Thanks to your donations and advertising Linux Mint is completely free of charge. We hope you’ll enjoy using it as much as we enjoy working on it.

Источник

Xubuntu-ru.net

Терминал или его ещё называют командная строка, оболочка — Bash (акроним от «Bourne-again SHell»), это стандартный интерпретатор команд в большинстве линукс систем. В его обязанности входит обработка и исполнение команд с помощью которых пользователь управляет компьютером.
Во всех дистрибутивах Linux терминал установлен по умолчанию. Не смотря на то, что называются они в каждом окружении рабочего стола по-разному: gnome-terminal, xfce4-terminal, konsole, xterm, rxvt и т.п., но выполняют они одну и ту же работу — исполнение команд с помощью которых пользователь управляет компьютером.

Но речь в данной статье пойдёт не о возможностях терминала (командной строки), а о том, как сделать терминал в окружении Xfce выпадающим (англ. — drop-down).
Для систем Linux существует несколько программ с выпадающим терминалом: Guake — выпадающий терминал для GNOME, Kuake, Yakuake — выпадающий терминал для KDE, Tilda, Qterminal и прочие, но всё это отдельные программы, которые можно установить и использовать для удобства пользователя.

В окружении Xfce у терминала (xfce4-terminal) есть скрытая функция xfce4-terminal —drop-down, о которой мало кто знает из пользователей, особенно новички в Linux. Обычное окно терминала в окружении Xfce можно открыть из системного меню — Система — Эмулятор терминала или применить сочетание клавиш по умолчанию Ctrl+Alt+T.
Введите и выполните в окно терминала следующую команду, которая откроет помимо основного окна — окно выпадающего терминала:

Как видно на снимке выше, на панели (указано стрелкой) отобразился апплет терминала, кликом на который можно запускать выпадающий терминал на период текущего сеанса. При повторном входе в систему нужно вновь выполнить данную команду для запуска выпадающего терминала, что конечно не совсем удобно.
Назначим команде xfce4-terminal —drop-down горячую клавишу, которая будет запускать выпадающий терминал по требованию пользователя следующим образом.

Читайте также:  Не могу обновить windows сервис пак

Откройте Настройки — Клавиатура — Комбинации клавиш, нажмите кнопку Добавить, в открывшемся окне Команда для комбинаций клавиш в поле Команда скопируйте/вставьте xfce4-terminal —drop-down и нажмите кнопку ОК:

Теперь должно открыться окно Командная комбинация, предлагающее нажать клавишу для использования этой команды:

Я нажал клавишу F12 (у вас может быть другая), которая будет открывать выпадающий терминал:

Настройки выпадающего терминала. Правый клик на окне выпадающего терминала откроет контекстное меню. Выберите Параметры… — Настройки терминала, где можно изменить размеры окна, прозрачность и пр.:


Вот и всё. У вас есть выпадающий терминал в окружении Xfce, без необходимости установки отдельной программы.

Источник

Делаем Linux терминал красивым и удобным

Добавляем функциональность

Командная оболочка

Большинство дистрибутивов поставляется со встроенным Bash. Используя дополнения можно сделать из него все что захотите, но гораздо проще этого добиться с Zsh. Почему?

Настройка Zsh

Для начала, установим Zsh (если он уже установлен, например, как в Manjaro, можете пропустить этот пункт):

Когда вам предложат установить Zsh как оболочка по-умолчанию, нажмите Y , чтоб подтвердить.

Oh-My-Zsh — популярный и активно развивающийся фреймворк Zsh, который позволяет гибко настроить оболочку терминала. Установим его:

Подсветка синтаксиса. Гораздо проще ориентироваться по содержимому терминала, когда разные части команд подсвечены разными цветами. Например, директории будут подчеркиваться, а команды — выделяться цветом, отличным от обычного текста. Установим плагин zsh-syntax-highlighting :

Чтоб плагин заработал, его надо подключить.

/.zshrc меняем строку с plugins= :

Если такой строки нет — добавьте её.

Готово! Получаем удобный и функциональный терминал. Теперь сделаем его визуально приятным.

Настраиваем внешний вид

Скачиваем и добавляем в систему шрифт JetBrains Mono Nerd (c иконками):
Выберитеодин из списка, в папке шрифт/complete выберите шрифт без «Windows Compatible», с окончанием «Mono».

Подключаем шрифт и тему.

Если в файле эти строки уже есть — замените их.

Цвета. Важная часть оформления терминала — цветовая схема. Я перебрал много разных схем, редактировал их, остановился на Monokai Dark. Не режет глаза, но при этом приятная и яркая. Список цветов:

В разных терминалах по-разному меняется цветовая схема (обычно, это делается через настройки терминала), но порядок цветов везде одинаковый. Вы можете импортировать этот шаблон в формате Termite и экспортировать его для вашего терминала через terminal.sexy

Запускаем конфигурацию темы: p10k configure .
Настройте тему, выбирая варианты отображения, которые вам больше нравятся.

Финальный штрих — меняем конфиг темы и заменяем встроенные цвета.

Если в файле эти строки уже есть — замените их. Коды цветов можно получить командой

    Отображение только текущей директории:

Источник

Install XFCE in Linux Mint 20

This tutorial will show you how to install the XFCE desktop in Linux Mint. The installation can occur through the following two ways:

  • Installation of XFCE Desktop via the Command-Line
  • Installing XFCE Desktop via GUI

The procedure and commands in this article were performed using the Linux Mint 20 OS. The same procedure can be followed in older Mint versions.

Note: To install or remove packages in any Linux distribution, including in Linux Mint, you must be either the root user or a standard user with sudo privileges.

We will use the command-line Terminal application for the installation process. To open the command-line Terminal, use the Ctrl+Alt+T keyboard shortcut.

Installing XFCE Desktop via Command-Line

Follow the procedure below to install the XFCE desktop in Linux Mint through the command-line Terminal application.

View Current Desktop

You can find information about your system by issuing the following command in Terminal:

To find out which desktop you are currently running, enter the following command in Terminal:

From the above output, you can see that I am currently running the Cinnamon desktop on my Linux Mint 20 system.

Install XFCE desktop

To install XFCE desktop using the command-line, follow the steps below:

First, update the system repository index using the following command in Terminal:

Now, you can install the XFCE desktop. Issue the following command in Terminal to do so:

When prompted for the password, enter the sudo password.

After running the above command, the system might ask for confirmation that you want to continue the installation. Press ‘y’ to continue and the installation of the XFCE desktop will be started on your system. The installation will take some time, as it also installs all the necessary packages required for the XFCE desktop environment.

Читайте также:  Навигаторы для windows планшетов

Once the installation is completed, run the following command to set the default target to graphical:

Installing XFCE Desktop via GUI

Follow the procedure below to install the XFCE desktop in Linux Mint through the Graphical User Interface (GUI). We will use the Synaptic Package Manager for this purpose.

View Current Desktop

You can find your system information and the current desktop you are using through the System Settings. Hit the super key on your keyboard and type “system settings.” From the search results, click on the System Settings icon to open it. Here, you will see the system information, including the current desktop that your system is running.

Install XFCE desktop

We will install the XFCE desktop through the Synaptic Package Manager. To open the Synaptic Package Manager application, hit the super key on your keyboard and type “synaptic.” From the search result, click the Synaptic Package Manager icon to open the application.

When the Synaptic Package Manager opens, it will prompt you for authentication. Type the password and click the Authenticate button.

In the Synaptic Package Manager application, search for the xfce4 package. To do so, click the search icon at the right corner of the toolbar. Then type “xfce4” in the search bar and hit Enter.

Once you find the package, right-click and select Mark for Installation.

The following dialog will appear, asking you to install some dependencies. Click Mark to select the dependencies for installation.

Next, click the Apply button in the toolbar at the top.

The following dialog will appear, showing the summary of the packages to be installed. Click the Apply button to initiate the installation process.

Now, the installation will start and you will see the following window appear on your screen:

Once the installation is complete, you will see the following window. Click the Close button to close the window.

Switching to the XFCE Desktop

After you have installed the XFCE desktop, either via the command-line or via GUI, reboot or log out of the system to open the new desktop. When the following login screen appears, click the icon in front of the username.

This will list all the installed desktop environments. Select Xfce Session and sign in.


Now, you will see the XFCE desktop on your screen.

You can verify that it is the correct desktop by issuing the following command in Terminal:

From the output, you can see that the desktop currently in use is XFCE.

Uninstall XFCE via Command-Line

To uninstall XFCE via the command-line, first, log out of the current desktop and log in to the other desktop environment you were using before. Then, open the Terminal and issue the following command to remove the XFCE desktop:

When prompted for the password, enter the sudo password.

After running the above command, the system might ask for confirmation to continue the process. Press “y” to continue, after which the xfce4 package will be removed from your system.

Uninstall XFCE via GUI

To uninstall XFCE via GUI, first, log out of the current desktop and log in to the other desktop environment you were using before. Then, follow the steps below to remove the XFCE desktop from your system.

1. Open the Synaptic Package Manager using the same way as shown previously.

2. Search for the xfce4 package using the search button in the toolbar.

3. Right-click the xfce4 package and select Mark for Removal or Mark for Complete Removal.

4. Click the Apply button in the toolbar at the top.

5. The following dialog will appear, showing a summary of the packages to be removed. Click the Apply button to remove the packages.

6. Wait for a while, until XFCE is removed completely from your system.

Conclusion

That is all there is to it! In this article, you learned how to install the XFCE desktop on your Linux Mint 20 system. Based on your preference, you can either use the command-line or the GUI to install the XFCE desktop.

About the author

Karim Buzdar

Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. He blogs at LinuxWays.

Источник

Оцените статью