while ago I have modified the i3 config file and uncommented
exec --no-startup-id picom -b
the problem is when this command is executed, it will turn my screen black and log me out. however the command is executed whenever I login so I cannot modify the config file. what should I do?
Try to login via TTY.
At the login screen press Ctrl-Alt-F2. Login as your user.
Use nano to edit the file and save it.
Type exit to logout and Ctrl-Alt-F7 to go back to login screen.
I think I have solve the problem by myself. I plugin a bootable usb and change the file by nano as a liveuser. I think it is similar as your approach. thanks for the help.