Skip to content

Commit

Permalink
add info about gdm, add info about usb problem solving, small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Luckenty committed Jan 8, 2024
1 parent d7f59e1 commit 432b450
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 13 deletions.
32 changes: 19 additions & 13 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import { rewrites } from './paths'
export const META_DESCRIPTION = 'Свободная WIKI по операционной системе ALT Regular Gnome'

export default defineConfig({
vite: {
ssr: {
noExternal: [
'@nolebase/vitepress-plugin-enhanced-readabilities',
],
},
},
vite: {
ssr: {
noExternal: [
'@nolebase/vitepress-plugin-enhanced-readabilities',
],
},
},
title: seo.SITE_TITLE,
titleTemplate: ':title' + seo.SITE_TITLE_SEPARATOR + seo.SITE_TITLE,
description: META_DESCRIPTION,
Expand All @@ -33,7 +33,7 @@ export default defineConfig({
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
ym(95081395, "init", {
clickmap:true,
trackLinks:true,
Expand Down Expand Up @@ -189,17 +189,17 @@ export default defineConfig({
items: [
{ text: 'Использование других раскладок клавиатуры', link: '/keyboard-layouts' },
{ text: 'Сочетание клавиш', link: '/keyboard-shortcuts'},
],
],
collapsed: true
},
{
text: 'Монитор и экран',
items: [
{ text: 'Измнение разрешения или орентация экрана', link: '/look-resolution' },
{ text: 'Изменение разрешения или ориентация экрана', link: '/look-resolution' },
{ text: 'Подключение дополнительного монитора', link: '/display-dual-monitors' },
{ text: 'Масштабирование экрана', link: '/scaling-the-screen' },
{ text: 'Изменение внешнего вида рабочего стола', link: '/look-background'}
],
],
collapsed: true
}
],
Expand All @@ -215,9 +215,15 @@ export default defineConfig({
{ text: 'AppIndicator/KStatusNotifierItem', link: 'appindicator-kstatus-notifier-item'}
]
},
{ text: 'Решение проблем',
items: [
{ text: 'Подключение USB устройств', link: '/usb-devices'}
],
collapsed: true
},
{ text: 'Запись на DVD и USB Flash', link: '/getting-started' }
]
},
},
{
text: 'Быстрые ссылки',
items: [
Expand Down Expand Up @@ -314,6 +320,6 @@ export default defineConfig({
['link', { rel: 'canonical', href: `${url}.html` }],
)
pageData.description = `Cтатья написанная простым языком: «${pageData.title}» для ALT Regular Gnome. Последнее обновление ALT Gnome Wiki: ${new Date(pageData.lastUpdated).toLocaleString()}`
}
}
}
})
14 changes: 14 additions & 0 deletions docs/apps/display-dual-monitors.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,17 @@

- Нажмите кнопку дисплея, который вы хотите настроить.
- Перетащите экраны в необходимые позиции.

## Изменение конфигурации для GNOME Display Manager (экран выбора пользователей)

После успешной настройки нескольких мониторов может возникнуть ситуация, когда информация о пользователе на экране
логина отображается не на основном мониторе. Всё дело в том, что когда вы настраиваете конфигурации мониторов, вы
делаете это только для своего пользователя. Проблему можно решить простым копированием конфигурационного файла из
папки своего пользователя в папку gdm (GNOME Display Manager)

```shell
cp --preserve=timestamps /home/CurrentUser/.config/monitors.xml /var/lib/gdm/.config/
```
Вместо CurrentUser подставьте своего пользователя

Теперь на экране логина будет подгружаться конфигурация мониторов, которую вы настроили под себя
10 changes: 10 additions & 0 deletions docs/apps/usb-devices.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Проблемы при подключении USB устройств

Если при подключении через USB устройства не видны в системе или работают некорректно, то в данном случае может помочь
установка пакета gvfs-backends:

```shell
su -
apt-get update
apt-get install gvfs-backends
```

0 comments on commit 432b450

Please sign in to comment.