User Tools

Site Tools


qnote:ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
qnote:ubuntu [2020/05/11 15:04] kqnote:ubuntu [2025/07/21 21:24] (current) – [Owncloud-client] k
Line 1: Line 1:
 ===== Быстрые заметки по Ubuntu ===== ===== Быстрые заметки по Ubuntu =====
  
-==== Посмотреть motd ====+==== Обновить сам snap ==== 
 + 
 +<code> 
 +snap refresh snap-store 
 +</code> 
 + 
 +==== Поставить клиента из nextcloud из репозитория, не из snap ==== 
 + 
 +<code> 
 +add-apt-repository ppa:nextcloud-devs/client 
 +apt update 
 +apt install nextcloud-client 
 +</code> 
 + 
 +==== Пропавшие меню "File Edit View ect" в LibreOfiice ==== 
 + 
 +Внезапно пропали выпадающие меню, помог совет по [[https://askubuntu.com/questions/1250087/ubuntu-20-04-no-menu-bar-in-libreoffice|ссылке]]. 
 + 
 +<code> 
 +apt-cache policy indicator-appmenu 
 +apt remove indicator-appmenu 
 +</code> 
 + 
 +После перезагрузки меню появились.  
 + 
 +==== Расширенные настройки выбора девайса для звука ==== 
 + 
 +<code> 
 +apt install pavucontrol 
 +pavucontrol 
 +</code> 
 + 
 +==== Yandex Disk ==== 
 + 
 +[[https://yandex.ru/support/disk-desktop-linux/installation.html]] 
 + 
 +==== Chromium ==== 
 + 
 +apt-get install chromium-browser 
 + 
 +==== Owncloud-client ==== 
 + 
 +apt install owncloud-client 
 + 
 +==== Pipewire ==== 
 + 
 +[[https://atish3604.medium.com/solved-bluetooth-headset-mic-not-working-detected-in-ubuntu-20-04-86a5236444d0]]\\ 
 +[[https://askubuntu.com/questions/831331/failed-to-change-profile-to-headset-head-unit]]\\ 
 +[[https://askubuntu.com/questions/1242450/when-will-add-ofono-phonesim-to-the-focal-repository-20-04]] 
 + 
 +libreoffice-gnome \\ 
 +https://www.ubuntubuzz.com/2021/04/fix-libreoffice-looks-ugly-on-deepin-20.html 
 + 
 +==== Пользователи ==== 
 + 
 +Команда adduser проведет через диалог и сосздаст домшнюю папку и пароль.\\ 
 +Команда useradd просто заведет пользователя.\\ 
 + 
 +==== Поставить все видеокодеки ==== 
 +<code> 
 +apt install ubuntu-restricted-extras 
 +</code> 
 + 
 +==== Netplan ==== 
 + 
 +<code> 
 +root@rpki2:~# cd /etc/netplan/ 
 +root@rpki2:/etc/netplan# ll 
 +total 12 
 +drwxr-xr-x  2 root root 4096 Oct 29 08:37 ./ 
 +drwxr-xr-x 92 root root 4096 Oct 29 08:44 ../ 
 +-rw-r--r--  1 root root  207 Oct 29 08:37 00-installer-config.yaml 
 +root@rpki2:/etc/netplan# cat 00-installer-config.yaml  
 +network: 
 +  version: 2 
 +  renderer: networkd 
 +  ethernets: 
 +    ens160: 
 +      addresses: 
 +      - 10.x.x.x/24 
 +      gateway4: 10.x.x.1 
 +      nameservers: 
 +        addresses: 
 +        - 8.8.8.8 
 +        - 8.8.4.4 
 +</code> 
 + 
 +==== Отключить ipv6 ==== 
 + 
 +https://linuxconfig.org/how-to-disable-ipv6-address-on-ubuntu-18-04-bionic-beaver-linux 
 + 
 +==== motd ==== 
 + 
 +=== Настроить motd === 
 + 
 +https://www.networkworld.com/article/3219736/how-to-use-the-motd-file-to-get-linux-users-to-pay-attention.html 
 + 
 +=== Посмотреть motd === 
 + 
 +https://til.hashrocket.com/posts/rymit7rzif-view-the-motd-after-login-in-ubuntu
  
 <code> <code>
Line 228: Line 327:
 dconf-editor -> org -> gnome -> desktop -> wm -> keybindings -> switch-input-source -> ставим ['<Shift>Control_L']. \\ dconf-editor -> org -> gnome -> desktop -> wm -> keybindings -> switch-input-source -> ставим ['<Shift>Control_L']. \\
  
 +На Ubuntu 20.04 этот метод не сраборал. \\ 
 +Есть второй способ, задать комбинацию в gnome-tweaks.\\  
 +Ставим командой "apt-get install gnome-tweaks".\\ 
 +Запускаем в терминале, далее "Keyboard & Mouse" -> "Additional Layout Options" -> "Switching to another layout" -> "Ctrl+Shift".  
 ==== Secondary ip address ==== ==== Secondary ip address ====
  
qnote/ubuntu.1589198652.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki