1_4M_N008

joined 2 years ago
1
Trouble with keyboard (gist.github.com)
submitted 4 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
 

cross-posted from: https://programming.dev/post/22695206

Hey people! I hope you are having good time I recently installed arch, but I have trouble with my keyboard during installation and post installation which is null character (^@) printed to stdout, if I pressed function or Esc key null character stop appearing until some command wait for input (e.g. passwd) or pacman updating repo which will mess up progress bar or install conformation

I managed to install arch by enabling ssh with shell redirection, since I can't use vim or nano. I thought post installation everything should go fine since I installed base, linux, linux-firmware and amd-ucode packages, but now I can't log in as a result of null character

I should also mention that my problem across many distros like mint and mint xfce4, parrot, fedora, arch and EndeavourOS

note:

  • hot keys (sound, brightness control keys etc.) work fine on fedora, but not on EndeavourOS version (25/06/2024)
  • Keyboard response time feel slow, and I can't repeat key press by holding the key (e.g. hold backspace to delete several characters)
  • vim not working, it will switch from insert to normal mode
  • nano will go to end of file by moving line by line
  • Sometime in live arch iso systemctl log will interrupt and appear

additional note: I think Fn key is what causing the problem

the gist is output from fedora workstation 40.1 livecd I think it may help

edit: notes list format

edit: Sorry for being a bit late, but it is solved, please check

1
Trouble with keyboard (gist.github.com)
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
 

Hey people! I hope you are having good time I recently installed arch, but I have trouble with my keyboard during installation and post installation which is null character (^@) printed to stdout, if I pressed function or Esc key null character stop appearing until some command wait for input (e.g. passwd) or pacman updating repo which will mess up progress bar or install conformation

I managed to install arch by enabling ssh with shell redirection, since I can't use vim or nano. I thought post installation everything should go fine since I installed base, linux, linux-firmware and amd-ucode packages, but now I can't log in as a result of null character

I should also mention that my problem across many distros like mint and mint xfce4, parrot, fedora, arch and EndeavourOS

note:

  • hot keys (sound, brightness control keys etc.) work fine on fedora, but not on EndeavourOS version (25/06/2024)
  • Keyboard response time feel slow, and I can't repeat key press by holding the key (e.g. hold backspace to delete several characters)
  • vim not working, it will switch from insert to normal mode
  • nano will go to end of file by moving line by line
  • Sometime in live arch iso systemctl log will interrupt and appear

additional note: I think Fn key is what causing the problem

the gist is output from fedora workstation 40.1 livecd I think it may help

edit: notes list format

 

I've tried to stow dot files by following online blog/form, and it worked now, I tried to manage my $HOME/bin directory with stow, but it didn't

$HOME/.dotfiles directory structure

/home/USER/.dotfiles/
|-- bash
|   |-- .bash_aliases
|   |-- .bash_logout
|   `-- .bashrc
|-- .git
|   |-- branches
|   |-- COMMIT_EDITMSG
|   |-- config
|   |-- description
|   |-- HEAD
|   |-- hooks
|   |-- index
|   |-- info
|   |-- logs
|   |-- objects
|   `-- refs
|-- git
|   `-- .gitconfig
|-- .gitignore
|-- install.sh
|-- Makefile
|-- .stow-local-ignore
|-- vim
|   `-- .vimrc
`-- zsh

$HOME/bin/src directory structure

/home/USER/bin/
|-- src
|   |-- backup
|   |   |-- backup
|   |-- clone
|   |   `-- clone
|   |-- epub2html
|   |   `-- epub2html
|   |-- gnome-nightlight
|   |   `-- nightlight.sh
|   |-- list
|   |   `-- list
|   |-- new
|   |-- pomorodo
|   |   |-- notification.wav
|   |   |-- old_pomo
|   |   |-- pomorodo
|   |   `-- test
|   |-- revoke_exec
|   |   `-- revoke_exec
|   |-- rm_exec
|   |   |-- rm_exec
|   |   `-- tmp
|   |-- install

Where is my mistake and thanks in advance.

[–] [email protected] 1 points 1 year ago

Thanks for the advice

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (4 children)

thanks, but is there way to address some limitation (e.g. only one came to my mind scroll back.)

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (6 children)

It seems an opportunity to ask my stupid questions.

Q1. If I am going to build my minimum linux installation without a GUI, does this require a display manager?

Q2. is there other way to interact with my machine other than tty

 

hello guys. i am trying to match one or more digit from end of string

import re

print(re.match(r'\d+$', "hello001"))
print(re.match(r'[0-9]+$', "hello001"))

output None from both print statement. I've tried my regex on regex101.com and it seems working probably.

1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

Hello guys, I'm using Parrot OS on an Asus G513. My problem is when I unintentionally adjust shortcuts (filled with Launcher1) automatically. However, this problem didn't catch my attention, when I used to boot live USB, after user space load any keystroke I press seems not working, from opening terminal to other shortcuts, however after like 5 min it will start to respond but each few key press screen brightness will get dimmer and dimmer, I thought it's problem with DE. now I just can press key combination (Alt + arrow) or (Mod + f) When I keep pressing return to delete, launcher1 eventually will get filled again before I realized it The only way I can adjust things now, via ssh

additional notes

  1. I can type in my password normally on the lock screen

  2. I can't log in via tty. Even before this incident, this is what will happen when I try to log in

hostname login: USER@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^
password:@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^
login inncorrect

tty will keep printing @^ combination until i hit Ctrl + c

Things I've tried: looking at /home/USER/.config/kglobalshortcutsrc, but there's no luck, and the last modification date is May 2

Edit: add shortcut photo

Update: I've managed to adjust the shortcut by holding "return + ctrl + alt + m" . But still, I can't figure out what causes rapid input.

thanks in advance.

 

If USB flash drive contain any of malware/virus/worm inserted to linux host without being mount (auto mount disabled), does malware/virus/worm will infect host