Firefox 57 тормозит при пролистывании страницы в Wayland
Сабж. если колесиком мыши листать страницу firefox в wayland сессии ужасно тормозит. Дрова: nouveau. DE:Gnome 3
Сабж. если колесиком мыши листать страницу firefox в wayland сессии ужасно тормозит. Дрова: nouveau. DE:Gnome 3
Не собирается sciter, ОС:Manjaro, NixOS.
Вся ошибка:https://pastebin.com/71HTCfjV
и ldconfig:
ldconfig -p | grep sciter
libsciter-gtk-64.so (libc6,x86-64) => /home/aprokurov/sciter-sdk/bin.gtk/libsciter-gtk-64.so
Буду благодарен за помощь если кто подскажет как правильно собрать
Уже год использую Raspberry как медиацентр,может есть еще применения какие интересные? Можно конечно криптовалюту майнить,но из за разнообразия не могу выбрать какую
Как включить автокомплит в Emacs(Spacemacs), мне нужно всплывающие варианты кода, использую racer-mode и python-mode. И да в гугл меня не направлять, я так и не нашел ничего дельного
Как скомпилировать программу на Rust под Windows прямо из Linux, может есть какие настройки Cargo?
Сабж, буквально неделю назад появился ПК под управлением OSX, сразу заинтересовал Swift, поглядел немного и увидел схожесть синтаксиса языка с Rust'oм, так же наличие нативной GUI библиотеки. Так что может есть на лоре кто данный язык использует/использовал? Так же меня интересует возможность переноса приложения с OSX на Linux видел что есть пакет Swift для Ubuntu, есть ли возможность использовать на других дистрибутивах?
Хочу собрать LFS на внешнем жестком диске, вопрос в чем, будет ли грузиться ядро если я например первым его соберу на процессоре AMD Athlon II X4, а затем уже подключу Ж/Д к другому компьютеру с Intel I5, будет ли все функционировать?
Какой GNU/Linux-Libre дистрибутив вы считаете хорошим и перспективным в будущем? Я лично считаю что Pure OS может взлететь
Как настроить разрешение экрана нормальным образом? Создал xorg.conf и поставил там разрешение 1280х1024, но все равно так и остается 1024х768
Сабж,нужен нормальный IDE для написания GUI на PyQT.
Из необходимого:
1.Автокомплит
2.Изменение окна прямо во время написание кода(Например добавил кнопку и она сразу появилась в окне).
Уже пробовал:
1.VSCode и Atom слишком большая прожорливость ОЗУ(На ноуте вообще звисает).
2.Emacs: Слишком сложно, Jedi не хочет ставиться с melpa.
3.Geany: плохой автокомплит
Вот скрин:https://imgur.com/a/ojS8L
Как такое исправить?
P.S Система стоит на внешнем HDD, переносил систему с одного ПК на другой, в обоих ПК стоят видеокарты от nvidia
P.P.S Частично устранил некоторые полосы отключив композитор
В общем вот код:
for c in stdin.keys() {
write!(stdout, "{}", termion::clear::CurrentLine).unwrap();
match c.unwrap(){
Key::Char('s') => {
stdout.flush().unwrap();
println!("Type path to file:\r");
let mut musicpath = stdout.write_all(b"path:").unwrap();
},
Key::Char('q') => break,
_ => {
termion::clear::CurrentLine;
print!("You entered wrong combination\r")
}
}
stdout.flush().unwrap();
}
}
В общем вот:https://imgur.com/a/Oxq98
Есть у кого иддеи как такое недоразумение исправить?Делал так:
write!(stdout, "Terminal player on Rust!\n Press...");
//И так
writeln!(stdout, "Terminal player on Rust!");
writeln!(stdout, "Press...");
Интересуюсь этой тройкой яп,пишу чисто для себя,но вот вопрос взлетят ли эти языки в продакшен как думаете?
В федоре возникли проблемы при обновлении драйверов, akmods --force ошибку вываливает:
2018/01/02 18:45:17 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/02 18:45:17 akmods: Building and installing nvidia-304xx-kmod
2018/01/02 18:45:17 akmods: Building RPM using the command '/sbin/akmodsbuild --target x86_64 --kernels 4.14.8-300.fc27.x86_64 /usr/src/akmods/nvidia-304xx-kmod.latest'
2018/01/02 18:45:33 akmods: Installing newly built rpms
2018/01/02 18:45:33 akmods: DNF detected
2018/01/02 18:45:52 akmods: Successful.
2018/01/02 18:46:20 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/02 18:48:04 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/02 21:01:07 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/02 21:38:54 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/02 21:49:46 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/02 22:08:45 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/03 10:37:47 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/03 13:26:42 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/03 13:34:48 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/03 19:15:27 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/04 09:17:15 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/04 09:26:50 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/04 09:26:50 akmods: Files needed for building modules against kernel
2018/01/04 09:26:50 akmods: 4.14.8-300.fc27.x86_64 could not be found as the following
2018/01/04 09:26:50 akmods: directories are missing:
2018/01/04 09:26:50 akmods: /usr/src/kernels/4.14.8-300.fc27.x86_64/
2018/01/04 09:26:50 akmods: /usr/lib/modules/4.14.8-300.fc27.x86_64/build/
2018/01/04 09:26:50 akmods: Is the correct kernel-devel package installed?
2018/01/04 09:26:59 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/04 09:26:59 akmods: Files needed for building modules against kernel
2018/01/04 09:26:59 akmods: 4.14.8-300.fc27.x86_64 could not be found as the following
2018/01/04 09:26:59 akmods: directories are missing:
2018/01/04 09:26:59 akmods: /usr/src/kernels/4.14.8-300.fc27.x86_64/
2018/01/04 09:26:59 akmods: /usr/lib/modules/4.14.8-300.fc27.x86_64/build/
2018/01/04 09:26:59 akmods: Is the correct kernel-devel package installed?
2018/01/04 09:29:38 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/04 09:29:38 akmods: Files needed for building modules against kernel
2018/01/04 09:29:38 akmods: 4.14.8-300.fc27.x86_64 could not be found as the following
2018/01/04 09:29:38 akmods: directories are missing:
2018/01/04 09:29:38 akmods: /usr/src/kernels/4.14.8-300.fc27.x86_64/
2018/01/04 09:29:38 akmods: /usr/lib/modules/4.14.8-300.fc27.x86_64/build/
2018/01/04 09:29:38 akmods: Is the correct kernel-devel package installed?
2018/01/04 09:29:59 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/04 09:29:59 akmods: Files needed for building modules against kernel
2018/01/04 09:29:59 akmods: 4.14.8-300.fc27.x86_64 could not be found as the following
2018/01/04 09:29:59 akmods: directories are missing:
2018/01/04 09:29:59 akmods: /usr/src/kernels/4.14.8-300.fc27.x86_64/
2018/01/04 09:29:59 akmods: /usr/lib/modules/4.14.8-300.fc27.x86_64/build/
2018/01/04 09:29:59 akmods: Is the correct kernel-devel package installed?
2018/01/04 09:33:43 akmods: Checking kmods exist for 4.14.11-300.fc27.x86_64
2018/01/04 09:33:43 akmods: Building and installing nvidia-340xx-kmod
2018/01/04 09:33:43 akmods: Building RPM using the command '/sbin/akmodsbuild --target x86_64 --kernels 4.14.11-300.fc27.x86_64 /usr/src/akmods/nvidia-340xx-kmod.latest'
2018/01/04 09:34:11 akmods: Installing newly built rpms
2018/01/04 09:34:11 akmods: DNF detected
2018/01/04 09:34:17 akmods: Successful.
2018/01/04 09:34:17 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/04 09:34:17 akmods: Files needed for building modules against kernel
2018/01/04 09:34:17 akmods: 4.14.8-300.fc27.x86_64 could not be found as the following
2018/01/04 09:34:17 akmods: directories are missing:
2018/01/04 09:34:17 akmods: /usr/src/kernels/4.14.8-300.fc27.x86_64/
2018/01/04 09:34:17 akmods: /usr/lib/modules/4.14.8-300.fc27.x86_64/build/
2018/01/04 09:34:17 akmods: Is the correct kernel-devel package installed?
2018/01/04 09:34:59 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/04 09:34:59 akmods: Files needed for building modules against kernel
2018/01/04 09:34:59 akmods: 4.14.8-300.fc27.x86_64 could not be found as the following
2018/01/04 09:34:59 akmods: directories are missing:
2018/01/04 09:34:59 akmods: /usr/src/kernels/4.14.8-300.fc27.x86_64/
2018/01/04 09:34:59 akmods: /usr/lib/modules/4.14.8-300.fc27.x86_64/build/
2018/01/04 09:34:59 akmods: Is the correct kernel-devel package installed?
2018/01/04 09:35:18 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/04 09:35:18 akmods: Files needed for building modules against kernel
2018/01/04 09:35:18 akmods: 4.14.8-300.fc27.x86_64 could not be found as the following
2018/01/04 09:35:18 akmods: directories are missing:
2018/01/04 09:35:18 akmods: /usr/src/kernels/4.14.8-300.fc27.x86_64/
2018/01/04 09:35:18 akmods: /usr/lib/modules/4.14.8-300.fc27.x86_64/build/
2018/01/04 09:35:18 akmods: Is the correct kernel-devel package installed?
2018/01/04 09:39:09 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/04 09:39:09 akmods: Files needed for building modules against kernel
2018/01/04 09:39:09 akmods: 4.14.8-300.fc27.x86_64 could not be found as the following
2018/01/04 09:39:09 akmods: directories are missing:
2018/01/04 09:39:09 akmods: /usr/src/kernels/4.14.8-300.fc27.x86_64/
2018/01/04 09:39:09 akmods: /usr/lib/modules/4.14.8-300.fc27.x86_64/build/
2018/01/04 09:39:09 akmods: Is the correct kernel-devel package installed?
2018/01/04 09:39:48 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/04 09:39:48 akmods: Files needed for building modules against kernel
2018/01/04 09:39:48 akmods: 4.14.8-300.fc27.x86_64 could not be found as the following
2018/01/04 09:39:48 akmods: directories are missing:
2018/01/04 09:39:48 akmods: /usr/src/kernels/4.14.8-300.fc27.x86_64/
2018/01/04 09:39:48 akmods: /usr/lib/modules/4.14.8-300.fc27.x86_64/build/
2018/01/04 09:39:48 akmods: Is the correct kernel-devel package installed?
2018/01/04 09:39:52 akmods: Checking kmods exist for 4.14.8-300.fc27.x86_64
2018/01/04 09:39:52 akmods: Files needed for building modules against kernel
2018/01/04 09:39:52 akmods: 4.14.8-300.fc27.x86_64 could not be found as the following
2018/01/04 09:39:52 akmods: directories are missing:
2018/01/04 09:39:52 akmods: /usr/src/kernels/4.14.8-300.fc27.x86_64/
2018/01/04 09:39:52 akmods: /usr/lib/modules/4.14.8-300.fc27.x86_64/build/
2018/01/04 09:39:52 akmods: Is the correct kernel-devel package installed?
Как в Python 3 и Tkinter организовать горячие клавиши? Например при нажатии Ctrl+O выполнялась функция:
def openfile():
file = tkinter.filedialog.askopenfile()
if file != None:
contents = file.read()
text.insert('1.0', contents)
file.close
Сабж,все остальные кнопки работают,в настройках все перекрытия.Дистр Fedora 27
Сабж,почему убунта и минт когда есть прекрасная федора?И еще потом убунтуводы пишут везде о том что их ОС самая лучшая на свете,по каким причинам?
Есть ZenFone 2, на нем стоит процессор от интел х86,следовательно на него должно быть возможно поставить раст,но только как? P.S через termux и curl в нем ставиться не хочет
Ковыряю раст, сделал вот такую штуку:
fn main(){
let mut age = String::new();
if age < 14 {
println!("Ты не подросток,твой возраст {}", age);
}
else if age >= 14 {
println!("Ты подросток,твой возраст {}", age);
}
else {
println!("Неизвестное число");
}
}
error[E0308]: mismatched types
--> RustLang.rs:5:14
|
5 | if age < 14 {
| ^^ expected struct `std::string::String`, found integral variable
|
= note: expected type `std::string::String`
found type `{integer}`
← назад | следующие → |