exec setxkbmap "us,ru" ",winkeys" "grp:alt_shift_toggle"
Так вот, мне еще нужна татарская раскладка. Как её туда вкрутить?
Код: Выделить всё
һ 1 2 3 4 5 6 7 8 9 0 - =
й ө у к е н г ш ә з х ү \
ф ы в а п р о л д ң э
я ч с м и т җ б ю /
inxi -Fxz
в спойлере (как пользоваться спойлером смотрим здесь)) или же дать ссылку на hw-probe 5. Суть. Желательно с выводом консоли, логами. 6. Скрин. Просьба указывать 2, 3 и 4 независимо от того, имеет ли это отношение к вопросу или нет. Так же не забываем об общих правилах Как пример вот
exec setxkbmap "us,ru" ",winkeys" "grp:alt_shift_toggle"
Код: Выделить всё
һ 1 2 3 4 5 6 7 8 9 0 - =
й ө у к е н г ш ә з х ү \
ф ы в а п р о л д ң э
я ч с м и т җ б ю /
setxkbmap
в i3wm?Раскомментировал
tt_RU UTF-8
, сгенерировал.
Код: Выделить всё
setxkbmap "us,ru,tt" ",winkeys" "grp:alt_shift_toggle"
Error loading new keyboard description
setxkbmap "us,ru,de" ",winkeys" "grp:alt_shift_toggle"
, то немецкий появляется. Видимо раскладки не зависит от локали.man xkeyboard-config
/etc/X11/xorg.conf.d/10-touchpad.conf
со следующим содержимым:
Код: Выделить всё
Section "InputClass"
Identifier "tap-and-scroll-by-default"
MatchIsTouchpad "on"
Option "TapButton1" "1"
Option "VertEdgeScroll" "1"
EndSection
~/.config/gxkb/flags
, а также добавить новые просто указав в названий png файла свою раскладку.
Решение такое, вводим от пользователя:
Код: Выделить всё
xdg-mime default pcmanfm.desktop inode/directory
~/.local/share/applications/mimeapps.list
:
Код: Выделить всё
[Default Applications]
inode/directory=pcmanfm.desktop
conky-i3bar
и дадим ему права на исполнение.
Код: Выделить всё
#!/bin/sh
# Send the header so that i3bar knows we want to use JSON:
echo '{"version":1}'
# Begin the endless array.
echo '['
# We send an empty first array of blocks to make the loop simpler:
echo '[],'
# Now send blocks with information forever:
exec conky -c $HOME/.i3/conkyrc
[{"full_text" : "метрика в кавычках" , "color" : "цвет"}, {...}]
Код: Выделить всё
out_to_x no
own_window no
out_to_console yes
background no
max_text_width 0
# Update interval in seconds
update_interval 2.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off.
short_units yes
# How strict should if_up be when testing an interface for being up?
# The value is one of up, link or address, to check for the interface
# being solely up, being up and having link or being up, having link
# and an assigned IP address.
if_up_strictness address
# Add spaces to keep things from moving about? This only affects certain objects.
# use_spacer should have an argument of left, right, or none
use_spacer left
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# Stuff after 'TEXT' will be formatted on screen
TEXT
# JSON for i3bar
[{ "full_text" : "Аптайм: ${uptime_short}" , "color" : "\#666666" },
{ "full_text" : "ЦПУ: [${cpubar cpu0 3,10}]${cpu cpu0}%", "color" : "\#666666" },
{ "full_text" : "ОЗУ: ${mem} [${membar 3,10}]${memperc}%" , "color" : ${if_match ${memperc}<90}"\#666666"${else}"\#ff0000"${endif}},
{ "full_text" : "${time %d %b,%a %H:%M }" , "color" : "\#666666" }],
Код: Выделить всё
╰─>$ conky -c .i3/conkyrc
[{ "full_text" : "Аптайм: 5h 46m" , "color" : "#666666" },
{ "full_text" : "ЦПУ: [__________]4%", "color" : "#666666" },
{ "full_text" : "ОЗУ: 1.77G [##________]22%" , "color" : "#666666"},
{ "full_text" : "07 апр,Пт 20:47 " , "color" : "#666666" }],
status_command $HOME/.i3/conky-i3bar
и погасить там же i3status (если использовался он)Код: Выделить всё
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5%
bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle
bindsym XF86AudioMicMute exec pactl set-source-mute alsa_input.pci-0000_00_1b.0.analog-stereo toggle
{exec}
.Вот для примера на скрине и вывел скорость вращения кулера.dmenu
Код: Выделить всё
sudo update-alternatives --config dmenu
dmenu.xft
Код: Выделить всё
$ sudo update-alternatives --config dmenu
Есть 2 варианта для альтернативы dmenu (предоставляет /usr/bin/dmenu).
Выбор Путь Приор Состояние
------------------------------------------------------------
* 0 /usr/bin/dmenu.default 100 автоматический режим
1 /usr/bin/dmenu.default 100 ручной режим
2 /usr/bin/dmenu.xft 50 ручной режим
Нажмите enter, чтобы сохранить текущий выбор[*], или введите выбранное число: 2
update-alternatives: используется /usr/bin/dmenu.xft для предоставления /usr/bin/dmenu (dmenu) в ручном режиме
~/.i3/config
приводим к такому виду (у меня Win+D)
Код: Выделить всё
bindsym $mod+d exec --no-startup-id dmenu -fn 'Ubuntu Mono:bold:pixelsize=24'
dmenu_recency
, чуть твикнутое от оригинала - запоминает команды которые вызывались ранее и выводит списком.
вот оно, на всякий случай Этого я смог добиться.
Сейчас этот форум просматривают: нет зарегистрированных пользователей и 0 гостей