'프로그램 사용 > vi' 카테고리의 다른 글
| vi 괄호끼리 이동 % (0) | 2026.04.20 |
|---|---|
| vi가 늦게 켜지는 이유 (0) | 2022.07.28 |
| vim 색상 바꾸기(colorscheme) (0) | 2021.01.20 |
| vi 에서 매칭되는 갯수 확인하기 (0) | 2019.12.18 |
| vi gg=G와 set ts (0) | 2019.07.04 |
| vi 괄호끼리 이동 % (0) | 2026.04.20 |
|---|---|
| vi가 늦게 켜지는 이유 (0) | 2022.07.28 |
| vim 색상 바꾸기(colorscheme) (0) | 2021.01.20 |
| vi 에서 매칭되는 갯수 확인하기 (0) | 2019.12.18 |
| vi gg=G와 set ts (0) | 2019.07.04 |
보기 - 고급 컨트롤

하단의 컨트롤바 위의 빨간 버튼 클릭

별다른 설정이 없는데, 윈도우 기준 개인 홈 - 비디오에 저장된다.
[링크 : https://www.groovypost.com/howto/record-your-webcam-vlc-media-player/]
| vlc 화면 돌리기 (0) | 2025.03.21 |
|---|---|
| http vlc protocol (0) | 2018.11.30 |
| vlc for windows / ascii art ㅋㅋㅋ (0) | 2016.11.22 |
| vlc 옵션 -vvv (0) | 2015.09.15 |
| dash with VLC (0) | 2015.09.11 |
-ss와 -t 조합으로 가능한데, -to 로는 잘안되서 쓰는법을 모르겠다.
-codec copy는 코덱변경없이 단순하게 원본을 자르는거라 속도도 빠르고 화질 저하도 없게 하는 옵션이다.
| $ ./ffmpeg -ss 00:39:05 -i input.mkv -codec copy -t 00:03:03 out.mkv |
[링크 : https://superuser.com/questions/742434/use-ffmpeg-to-cut-mkv-file]
[링크 : https://trac.ffmpeg.org/wiki/Seeking]
| $ ffmpeg -ss 00:01:00 -to 00:02:00 -i input.mp4 -c copy output.mp4 -i: This specifies the input file. In that case, it is (input.mp4). -ss: Used with -i, this seeks in the input file (input.mp4) to position. 00:01:00: This is the time your trimmed video will start with. -to: This specifies duration from start (00:01:40) to end (00:02:12). 00:02:00: This is the time your trimmed video will end with. -c copy: This is an option to trim via stream copy. (NB: Very fast) |
| ffmpeg을 이용하여 gif 만들기 (0) | 2026.04.29 |
|---|---|
| ffmpeg을 이용하여 동영상을 프레임 별로 jpeg 로 변환하기 (0) | 2022.04.15 |
| mp4 복구 시도 (0) | 2022.01.24 |
| ffmpeg을 이용한 rgb565 to bmp (0) | 2021.10.18 |
| ffmpeg 재생 어렵다 -_ㅠ (0) | 2021.02.22 |
18.04 에서 이상하게 늦게 켜지는 경우가 있는데(3초 정도?)
검색을 해보니 기본이 vim.gtk3 로 연결되어 있어 xwin 체크혹은 timeout 기다리다 늦는것 같다.
| $ ls -al /usr/bin/vim lrwxrwxrwx 1 root root 21 5월 13 2021 /usr/bin/vim -> /etc/alternatives/vim $ ls -al /etc/alternatives/vim lrwxrwxrwx 1 root root 17 9월 15 2021 /etc/alternatives/vim -> /usr/bin/vim.gtk3 $ ls -al /usr/bin/vim. vim.basic vim.gtk3 vim.tiny |
[링크 : https://pinocc.tistory.com/173]
아래의 명령어를 이용해서 편리하게 교체가 가능하지만 콘솔에서 느린건 여전했다.
| $ sudo update-alternatives --config editor 대체 항목 editor에 대해 (/usr/bin/editor 제공) 6개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /usr/bin/vim.gtk3 50 자동 모드 1 /bin/ed -100 수동 모드 2 /bin/nano 40 수동 모드 3 /usr/bin/mcedit 25 수동 모드 4 /usr/bin/vim.basic 30 수동 모드 5 /usr/bin/vim.gtk3 50 수동 모드 6 /usr/bin/vim.tiny 15 수동 모드 Press <enter> to keep the current choice[*], or type selection number: 4 update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in manual mode $ sudo update-alternatives --config editor 대체 항목 editor에 대해 (/usr/bin/editor 제공) 6개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ 0 /usr/bin/vim.gtk3 50 자동 모드 1 /bin/ed -100 수동 모드 2 /bin/nano 40 수동 모드 3 /usr/bin/mcedit 25 수동 모드 * 4 /usr/bin/vim.basic 30 수동 모드 5 /usr/bin/vim.gtk3 50 수동 모드 6 /usr/bin/vim.tiny 15 수동 모드 Press <enter> to keep the current choice[*], or type selection number: |
[링크 : https://askubuntu.com/questions/891928/]
--all 옵션주고 하나하나 조심히 보다가 vim 관련 나오면 vim.basic 으로 전부 설정.
| $ sudo update-alternatives --all There is only one alternative in link group animate (providing /usr/bin/animate): /usr/bin/animate-im6.q16 설정할 것이 없습니다. There is only one alternative in link group animate-im6 (providing /usr/bin/animate-im6): /usr/bin/animate-im6.q16 설정할 것이 없습니다. There is only one alternative in link group aptitude (providing /usr/bin/aptitude): /usr/bin/aptitude-curses 설정할 것이 없습니다. 대체 항목 awk에 대해 (/usr/bin/awk 제공) 2개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /usr/bin/gawk 10 자동 모드 1 /usr/bin/gawk 10 수동 모드 2 /usr/bin/mawk 5 수동 모드 Press <enter> to keep the current choice[*], or type selection number: There is only one alternative in link group builtins.7.gz (providing /usr/share/man/man7/builtins.7.gz): /usr/share/man/man7/bash-builtins.7.gz 설정할 것이 없습니다. There is only one alternative in link group c++ (providing /usr/bin/c++): /usr/bin/g++ 설정할 것이 없습니다. There is only one alternative in link group c89 (providing /usr/bin/c89): /usr/bin/c89-gcc 설정할 것이 없습니다. There is only one alternative in link group c99 (providing /usr/bin/c99): /usr/bin/c99-gcc 설정할 것이 없습니다. There is only one alternative in link group cc (providing /usr/bin/cc): /usr/bin/gcc 설정할 것이 없습니다. There is only one alternative in link group compare (providing /usr/bin/compare): /usr/bin/compare-im6.q16 설정할 것이 없습니다. There is only one alternative in link group compare-im6 (providing /usr/bin/compare-im6): /usr/bin/compare-im6.q16 설정할 것이 없습니다. There is only one alternative in link group composite (providing /usr/bin/composite): /usr/bin/composite-im6.q16 설정할 것이 없습니다. There is only one alternative in link group composite-im6 (providing /usr/bin/composite-im6): /usr/bin/composite-im6.q16 설정할 것이 없습니다. There is only one alternative in link group conjure (providing /usr/bin/conjure): /usr/bin/conjure-im6.q16 설정할 것이 없습니다. There is only one alternative in link group conjure-im6 (providing /usr/bin/conjure-im6): /usr/bin/conjure-im6.q16 설정할 것이 없습니다. There is only one alternative in link group convert (providing /usr/bin/convert): /usr/bin/convert-im6.q16 설정할 것이 없습니다. There is only one alternative in link group convert-im6 (providing /usr/bin/convert-im6): /usr/bin/convert-im6.q16 설정할 것이 없습니다. There is only one alternative in link group cpp (providing /lib/cpp): /usr/bin/cpp 설정할 것이 없습니다. There is only one alternative in link group default.plymouth (providing /usr/share/plymouth/themes/default.plymouth): /usr/share/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth 설정할 것이 없습니다. There is only one alternative in link group display (providing /usr/bin/display): /usr/bin/display-im6.q16 설정할 것이 없습니다. There is only one alternative in link group display-im6 (providing /usr/bin/display-im6): /usr/bin/display-im6.q16 설정할 것이 없습니다. 대체 항목 editor에 대해 (/usr/bin/editor 제공) 6개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ 0 /usr/bin/vim.gtk3 50 자동 모드 1 /bin/ed -100 수동 모드 2 /bin/nano 40 수동 모드 3 /usr/bin/mcedit 25 수동 모드 * 4 /usr/bin/vim.basic 30 수동 모드 5 /usr/bin/vim.gtk3 50 수동 모드 6 /usr/bin/vim.tiny 15 수동 모드 Press <enter> to keep the current choice[*], or type selection number: 4 There is only one alternative in link group eview (providing /usr/bin/eview): /usr/bin/vim.gtk3 설정할 것이 없습니다. There is only one alternative in link group evim (providing /usr/bin/evim): /usr/bin/vim.gtk3 설정할 것이 없습니다. 대체 항목 ex에 대해 (/usr/bin/ex 제공) 3개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /usr/bin/vim.gtk3 50 자동 모드 1 /usr/bin/vim.basic 30 수동 모드 2 /usr/bin/vim.gtk3 50 수동 모드 3 /usr/bin/vim.tiny 15 수동 모드 Press <enter> to keep the current choice[*], or type selection number: 1 update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in manual mode 대체 항목 fakeroot에 대해 (/usr/bin/fakeroot 제공) 2개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /usr/bin/fakeroot-sysv 50 자동 모드 1 /usr/bin/fakeroot-sysv 50 수동 모드 2 /usr/bin/fakeroot-tcp 30 수동 모드 Press <enter> to keep the current choice[*], or type selection number: There is only one alternative in link group from (providing /usr/bin/from): /usr/bin/bsd-from 설정할 것이 없습니다. There is only one alternative in link group ftp (providing /usr/bin/ftp): /usr/bin/netkit-ftp 설정할 것이 없습니다. There is only one alternative in link group gcc-arm-none-eabi-include (providing /usr/lib/arm-none-eabi/include): /usr/include/newlib 설정할 것이 없습니다. There is only one alternative in link group gcc-arm-none-eabi-lib (providing /usr/lib/arm-none-eabi/lib): /usr/lib/arm-none-eabi/newlib 설정할 것이 없습니다. There is only one alternative in link group gdm3.css (providing /usr/share/gnome-shell/theme/gdm3.css): /usr/share/gnome-shell/theme/ubuntu.css 설정할 것이 없습니다. There is only one alternative in link group gnome-text-editor (providing /usr/bin/gnome-text-editor): /usr/bin/gedit 설정할 것이 없습니다. 대체 항목 gnome-www-browser에 대해 (/usr/bin/gnome-www-browser 제공) 2개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /usr/bin/google-chrome-stable 200 자동 모드 1 /usr/bin/firefox 40 수동 모드 2 /usr/bin/google-chrome-stable 200 수동 모드 Press <enter> to keep the current choice[*], or type selection number: There is only one alternative in link group google-chrome (providing /usr/bin/google-chrome): /usr/bin/google-chrome-stable 설정할 것이 없습니다. There is only one alternative in link group gstreamer-codec-install (providing /usr/bin/gstreamer-codec-install): /usr/lib/packagekit/pk-gstreamer-install 설정할 것이 없습니다. There is only one alternative in link group gview (providing /usr/bin/gview): /usr/bin/vim.gtk3 설정할 것이 없습니다. There is only one alternative in link group gvim (providing /usr/bin/gvim): /usr/bin/vim.gtk3 설정할 것이 없습니다. There is only one alternative in link group gvimdiff (providing /usr/bin/gvimdiff): /usr/bin/vim.gtk3 설정할 것이 없습니다. There is only one alternative in link group identify (providing /usr/bin/identify): /usr/bin/identify-im6.q16 설정할 것이 없습니다. There is only one alternative in link group identify-im6 (providing /usr/bin/identify-im6): /usr/bin/identify-im6.q16 설정할 것이 없습니다. There is only one alternative in link group import (providing /usr/bin/import): /usr/bin/import-im6.q16 설정할 것이 없습니다. There is only one alternative in link group import-im6 (providing /usr/bin/import-im6): /usr/bin/import-im6.q16 설정할 것이 없습니다. There is only one alternative in link group infobrowser (providing /usr/bin/infobrowser): /usr/bin/info 설정할 것이 없습니다. There is only one alternative in link group libblas.so.3-x86_64-linux-gnu (providing /usr/lib/x86_64-linux-gnu/libblas.so.3): /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 설정할 것이 없습니다. There is only one alternative in link group liblapack.so.3-x86_64-linux-gnu (providing /usr/lib/x86_64-linux-gnu/liblapack.so.3): /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 설정할 것이 없습니다. There is only one alternative in link group locate (providing /usr/bin/locate): /usr/bin/mlocate 설정할 것이 없습니다. There is only one alternative in link group lzma (providing /usr/bin/lzma): /usr/bin/xz 설정할 것이 없습니다. There is only one alternative in link group mogrify (providing /usr/bin/mogrify): /usr/bin/mogrify-im6.q16 설정할 것이 없습니다. There is only one alternative in link group mogrify-im6 (providing /usr/bin/mogrify-im6): /usr/bin/mogrify-im6.q16 설정할 것이 없습니다. There is only one alternative in link group montage (providing /usr/bin/montage): /usr/bin/montage-im6.q16 설정할 것이 없습니다. There is only one alternative in link group montage-im6 (providing /usr/bin/montage-im6): /usr/bin/montage-im6.q16 설정할 것이 없습니다. There is only one alternative in link group mt (providing /bin/mt): /bin/mt-gnu 설정할 것이 없습니다. 대체 항목 my.cnf에 대해 (/etc/mysql/my.cnf 제공) 2개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /etc/mysql/mariadb.cnf 200 자동 모드 1 /etc/mysql/mariadb.cnf 200 수동 모드 2 /etc/mysql/my.cnf.fallback 100 수동 모드 Press <enter> to keep the current choice[*], or type selection number: There is only one alternative in link group nc (providing /bin/nc): /bin/nc.openbsd 설정할 것이 없습니다. 대체 항목 newt-palette에 대해 (/etc/newt/palette 제공) 2개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /etc/newt/palette.ubuntu 50 자동 모드 1 /etc/newt/palette.original 20 수동 모드 2 /etc/newt/palette.ubuntu 50 수동 모드 Press <enter> to keep the current choice[*], or type selection number: 대체 항목 pager에 대해 (/usr/bin/pager 제공) 2개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /bin/less 77 자동 모드 1 /bin/less 77 수동 모드 2 /bin/more 50 수동 모드 Press <enter> to keep the current choice[*], or type selection number: There is only one alternative in link group pico (providing /usr/bin/pico): /bin/nano 설정할 것이 없습니다. 대체 항목 pinentry에 대해 (/usr/bin/pinentry 제공) 2개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /usr/bin/pinentry-gnome3 90 자동 모드 1 /usr/bin/pinentry-curses 50 수동 모드 2 /usr/bin/pinentry-gnome3 90 수동 모드 Press <enter> to keep the current choice[*], or type selection number: There is only one alternative in link group pinentry-x11 (providing /usr/bin/pinentry-x11): /usr/bin/pinentry-gnome3 설정할 것이 없습니다. There is only one alternative in link group rcp (providing /usr/bin/rcp): /usr/bin/scp 설정할 것이 없습니다. There is only one alternative in link group rgview (providing /usr/bin/rgview): /usr/bin/vim.gtk3 설정할 것이 없습니다. There is only one alternative in link group rgvim (providing /usr/bin/rgvim): /usr/bin/vim.gtk3 설정할 것이 없습니다. There is only one alternative in link group rlogin (providing /usr/bin/rlogin): /usr/bin/slogin 설정할 것이 없습니다. There is only one alternative in link group rmt (providing /usr/sbin/rmt): /usr/sbin/rmt-tar 설정할 것이 없습니다. There is only one alternative in link group rsh (providing /usr/bin/rsh): /usr/bin/ssh 설정할 것이 없습니다. 대체 항목 rview에 대해 (/usr/bin/rview 제공) 3개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /usr/bin/vim.gtk3 50 자동 모드 1 /usr/bin/vim.basic 30 수동 모드 2 /usr/bin/vim.gtk3 50 수동 모드 3 /usr/bin/vim.tiny 15 수동 모드 Press <enter> to keep the current choice[*], or type selection number: 1 update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in manual mode 대체 항목 rvim에 대해 (/usr/bin/rvim 제공) 2개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /usr/bin/vim.gtk3 50 자동 모드 1 /usr/bin/vim.basic 30 수동 모드 2 /usr/bin/vim.gtk3 50 수동 모드 Press <enter> to keep the current choice[*], or type selection number: 1 update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in manual mode There is only one alternative in link group stream (providing /usr/bin/stream): /usr/bin/stream-im6.q16 설정할 것이 없습니다. There is only one alternative in link group stream-im6 (providing /usr/bin/stream-im6): /usr/bin/stream-im6.q16 설정할 것이 없습니다. There is only one alternative in link group tdbbackup (providing /usr/bin/tdbbackup): /usr/bin/tdbbackup.tdbtools 설정할 것이 없습니다. There is only one alternative in link group telnet (providing /usr/bin/telnet): /usr/bin/telnet.netkit 설정할 것이 없습니다. There is only one alternative in link group text.plymouth (providing /usr/share/plymouth/themes/text.plymouth): /usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth 설정할 것이 없습니다. There is only one alternative in link group traceroute6 (providing /usr/bin/traceroute6): /usr/bin/traceroute6.iputils 설정할 것이 없습니다. 대체 항목 vi에 대해 (/usr/bin/vi 제공) 3개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /usr/bin/vim.gtk3 50 자동 모드 1 /usr/bin/vim.basic 30 수동 모드 2 /usr/bin/vim.gtk3 50 수동 모드 3 /usr/bin/vim.tiny 15 수동 모드 Press <enter> to keep the current choice[*], or type selection number: 1 update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in manual mode 대체 항목 view에 대해 (/usr/bin/view 제공) 4개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /usr/bin/vim.gtk3 50 자동 모드 1 /usr/bin/mcview 25 수동 모드 2 /usr/bin/vim.basic 30 수동 모드 3 /usr/bin/vim.gtk3 50 수동 모드 4 /usr/bin/vim.tiny 15 수동 모드 Press <enter> to keep the current choice[*], or type selection number: 2 update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in manual mode 대체 항목 vim에 대해 (/usr/bin/vim 제공) 2개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /usr/bin/vim.gtk3 50 자동 모드 1 /usr/bin/vim.basic 30 수동 모드 2 /usr/bin/vim.gtk3 50 수동 모드 Press <enter> to keep the current choice[*], or type selection number: 1 update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in manual mode 대체 항목 vimdiff에 대해 (/usr/bin/vimdiff 제공) 2개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /usr/bin/vim.gtk3 50 자동 모드 1 /usr/bin/vim.basic 30 수동 모드 2 /usr/bin/vim.gtk3 50 수동 모드 Press <enter> to keep the current choice[*], or type selection number: 1 update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in manual mode 대체 항목 vtrgb에 대해 (/etc/vtrgb 제공) 2개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /etc/console-setup/vtrgb 50 자동 모드 1 /etc/console-setup/vtrgb 50 수동 모드 2 /etc/console-setup/vtrgb.vga 20 수동 모드 Press <enter> to keep the current choice[*], or type selection number: There is only one alternative in link group w (providing /usr/bin/w): /usr/bin/w.procps 설정할 것이 없습니다. There is only one alternative in link group write (providing /usr/bin/write): /usr/bin/bsd-write 설정할 것이 없습니다. 대체 항목 x-cursor-theme에 대해 (/usr/share/icons/default/index.theme 제공) 7개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /usr/share/icons/DMZ-White/cursor.theme 100 자동 모드 1 /etc/X11/cursors/core.theme 30 수동 모드 2 /etc/X11/cursors/handhelds.theme 20 수동 모드 3 /etc/X11/cursors/redglass.theme 20 수동 모드 4 /etc/X11/cursors/whiteglass.theme 20 수동 모드 5 /usr/share/icons/Adwaita/cursor.theme 90 수동 모드 6 /usr/share/icons/DMZ-Black/cursor.theme 30 수동 모드 7 /usr/share/icons/DMZ-White/cursor.theme 100 수동 모드 Press <enter> to keep the current choice[*], or type selection number: There is only one alternative in link group x-session-manager (providing /usr/bin/x-session-manager): /usr/bin/gnome-session 설정할 것이 없습니다. There is only one alternative in link group x-terminal-emulator (providing /usr/bin/x-terminal-emulator): /usr/bin/gnome-terminal.wrapper 설정할 것이 없습니다. There is only one alternative in link group x-window-manager (providing /usr/bin/x-window-manager): /usr/bin/mutter 설정할 것이 없습니다. 대체 항목 x-www-browser에 대해 (/usr/bin/x-www-browser 제공) 2개 선택이 있습니다. 선택 경로 우선순▒ 상태 ------------------------------------------------------------ * 0 /usr/bin/google-chrome-stable 200 자동 모드 1 /usr/bin/firefox 40 수동 모드 2 /usr/bin/google-chrome-stable 200 수동 모드 Press <enter> to keep the current choice[*], or type selection number: falinux@falinux-730QCJ-730QCR:~/work/lse/wayvnc/src$ |
다시 찬찬히 보니 아래처럼 하면 간단히 해결 되었을 지도?
| $ sudo update-alternatives --config vim |
perf 라는 명령어 발견
[링크 : http:// https://velog.io/@mythos/Linux-Tutorial-11-커널-성능-측정-도구-perf]
| vi 괄호끼리 이동 % (0) | 2026.04.20 |
|---|---|
| vi 이전 위치 다음 위치로 이동하기 (0) | 2022.08.04 |
| vim 색상 바꾸기(colorscheme) (0) | 2021.01.20 |
| vi 에서 매칭되는 갯수 확인하기 (0) | 2019.12.18 |
| vi gg=G와 set ts (0) | 2019.07.04 |
22.04 시대에 18.04라니.. 긴 한데
아무튼 gqrx 틀어 보니 가짜 출력(fake? dummy?) 라고 나오길래 찾아보니

아래의 모듈이 없어서 그렇다는데, 실행하고 나니 아래와 같이 헤드폰으로 잘 나온다.
| $ sudo modprobe snd-hda-intel |
[링크 : https://www.linuxuprising.com/2018/06/fix-no-sound-dummy-output-issue-in.html]

생각해보니.. rtl-sdr 관련 /dev/dsp 이런거 해보려고 oss 설치했던게 생각이 나네 -_-
젠장 역시나!!
| /etc/modprobe.d$ grep -rni intel . ./blacklist-modem.conf:3:# blacklist snd-intel8x0m ./blacklist-framebuffer.conf:13:blacklist intelfb ./alsa-base.conf:31:options snd-intel8x0m index=-2 ./oss4-base_noALSA.conf:83:blacklist snd-hda-intel ./oss4-base_noALSA.conf:94:blacklist snd-intel8x0 ./oss4-base_noALSA.conf:95:blacklist snd-intel8x0m ./blacklist.conf:21:# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much ./blacklist.conf:23:blacklist snd_intel8x0m |
| gqrx, gnu radio, rfcat (0) | 2024.08.21 |
|---|---|
| rtl sdr 다중 채널 디코딩 (0) | 2022.08.30 |
| RTL-SDR 11시 땡! (0) | 2022.01.07 |
| gqrx 오디오 스트리밍 (0) | 2022.01.07 |
| rpi gqrx (0) | 2022.01.07 |
20.10 에서 테스트 완료.
18.04 에서도 해봐야 하려나? (세션 로그아웃 시키기 귀찮은디..)
| $ sudo vi /etc/gdm3/custom.conf # GDM configuration storage # # See /usr/share/gdm/gdm.schemas for a list of available options. [daemon] # Uncoment the line below to force the login screen to use Xorg WaylandEnable=false # Enabling automatic login # AutomaticLoginEnable = true # AutomaticLogin = user1 # Enabling timed login # TimedLoginEnable = true # TimedLogin = user1 # TimedLoginDelay = 10 AutomaticLoginEnable=True AutomaticLogin=falinux [security] [xdmcp] [chooser] [debug] # Uncomment the line below to turn on debugging # More verbose logs # Additionally lets the X server dump core if it crashes #Enable=true |
[링크 : https://www.answertopia.com/ubuntu/displaying-ubuntu-applications-remotely-x11-forwarding/]
| ssh socks proxy (0) | 2024.07.22 |
|---|---|
| ssh ecdsa 미지원(ubuntu 22.04) (0) | 2023.05.30 |
| ssh 슈도 터미널 실행 (0) | 2022.04.25 |
| ssh Are you sure you want to continue connecting (yes/no)? (0) | 2022.04.25 |
| sshd 에서 ssh 로그인 끄고 sftp만 허용하기 (0) | 2022.04.01 |
코드 분석하다 보니 아래와 같은 함수를 compositor.c에서 발견함.
weston 에서 호출되는 곳은 3 곳.
| /** State of the repaint loop */ enum { REPAINT_NOT_SCHEDULED = 0, /**< idle; no repaint will occur */ REPAINT_BEGIN_FROM_IDLE, /**< start_repaint_loop scheduled */ REPAINT_SCHEDULED, /**< repaint is scheduled to occur */ REPAINT_AWAITING_COMPLETION, /**< last repaint not yet finished */ } repaint_status; static void weston_output_schedule_repaint_reset(struct weston_output *output) { output->repaint_status = REPAINT_NOT_SCHEDULED; TL_POINT(output->compositor, "core_repaint_exit_loop", TLP_OUTPUT(output), TLP_END); } |
| wayvnc 0.5 릴리즈 (0) | 2022.08.09 |
|---|---|
| capture drm screen (0) | 2022.08.08 |
| weston drm debug (0) | 2022.06.29 |
| libwayland debug 메시지 (0) | 2022.06.27 |
| libwayland (0) | 2022.06.27 |
| # echo 0x3 > /sys/module/drm/parameters/debug |
[링크 : https://lynxbee.com/how-to-enable-drm-driver-debug-logging-in-linux/#.YrwTKHZBxhE]
dmesg 에서 확인이 가능한데.. 0x3 만 해도 dmesg를 넘기는지 금세 라인수 초과..
| [28951.482225] [drm:drm_ioctl] comm="weston" pid=1707, dev=0xe201, auth=1, DRM_IOCTL_GET_MAGIC [28951.482235] [drm:drm_getmagic] 1 [28951.482244] [drm:drm_ioctl] comm="weston" pid=1707, dev=0xe201, auth=1, DRM_IOCTL_AUTH_MAGIC [28951.482250] [drm:drm_authmagic] 1 [28951.482255] [drm:drm_ioctl] comm="weston", pid=1707, ret=-22 [28951.482263] [drm:drm_ioctl] comm="weston" pid=1707, dev=0xe201, auth=1, DRM_IOCTL_SET_MASTER [28951.482281] [drm:drm_ioctl] comm="weston" pid=1707, dev=0xe201, auth=1, DRM_IOCTL_MODE_ATOMIC [28951.482300] [drm:drm_mode_object_get] OBJ ID: 44 (2) [28951.482308] [drm:drm_mode_object_get] OBJ ID: 46 (2) [28951.482316] [drm:drm_mode_object_get] OBJ ID: 45 (3) [28951.482320] [drm:drm_mode_object_put.part.0] OBJ ID: 44 (3) [28951.482325] [drm:drm_mode_object_put.part.0] OBJ ID: 45 (4) [28951.482329] [drm:drm_mode_object_put.part.0] OBJ ID: 45 (3) [28951.482339] [drm:drm_mode_object_put.part.0] OBJ ID: 46 (5) [28951.482344] [drm:drm_mode_object_put.part.0] OBJ ID: 46 (4) [28951.482354] [drm:drm_mode_object_get] OBJ ID: 39 (4) [28951.482358] [drm:drm_mode_object_get] OBJ ID: 39 (5) [28951.482363] [drm:drm_mode_object_put.part.0] OBJ ID: 39 (6) [28951.482425] imx-drm display-subsystem: [drm:drm_calc_timestamping_constants] crtc 33: hwmode: htotal 1344, vtotal 806, vdisplay 768 [28951.482433] imx-drm display-subsystem: [drm:drm_calc_timestamping_constants] crtc 33: clock 65000 kHz framedur 16665600 linedur 20676 [28951.485362] imx-drm display-subsystem: [drm:drm_handle_vblank] vblank event on 396086, current 396086 [28951.485368] [drm:drm_mode_object_put.part.0] OBJ ID: 40 (4) [28951.485379] [drm:drm_mode_object_put.part.0] OBJ ID: 40 (3) [28951.485385] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (3) [28951.485394] [drm:drm_mode_object_put.part.0] OBJ ID: 43 (2) |
| capture drm screen (0) | 2022.08.08 |
|---|---|
| weston redraw 취소하기 (0) | 2022.07.07 |
| libwayland debug 메시지 (0) | 2022.06.27 |
| libwayland (0) | 2022.06.27 |
| weston desktop-shell output destory (0) | 2022.06.08 |
export WAYLAND_DEBUG=1 하면 libwayland*.so 들의 디버그 메시지가 출력되는데
대~~~애충 아래와 같은 포맷
| [1492172.627] wl_surface@17.leave(wl_output@16) [1492172.707] -> wl_surface@17.set_buffer_scale(1) [1492172.745] -> wl_surface@17.frame(new id wl_callback@27) [1492192.837] -> wl_surface@17.attach(wl_buffer@26, 0, 0) [1492192.934] -> wl_surface@17.damage(0, 0, 806, 606) [1492192.973] -> wl_surface@17.commit() [1492208.877] wl_display@1.delete_id(27) [1492208.938] wl_buffer@26.release() [1492208.957] wl_callback@27.done(22885913) |
send와 discard는 상위에서 보내주는 대로 설정되는거고, 해당 내용에 따라 출력이 되는 듯.
@00 식으로 나오는건 인자에 따라 출력되는 값인데.. 함수 인자가 어떤걸 의미하는진 따로 찾아봐야 할 듯..
| void wl_closure_print(struct wl_closure *closure, struct wl_object *target, int send, int discarded, uint32_t (*n_parse)(union wl_argument *arg)) { // ... fprintf(f, "[%7u.%03u] %s%s%s@%u.%s(", time / 1000, time % 1000, discarded ? "discarded " : "", send ? " -> " : "", target->interface->name, target->id, closure->message->name); |
[링크 : https://gitlab.freedesktop.org/wayland/wayland/-/blob/main/src/connection.c#L1286]
| weston redraw 취소하기 (0) | 2022.07.07 |
|---|---|
| weston drm debug (0) | 2022.06.29 |
| libwayland (0) | 2022.06.27 |
| weston desktop-shell output destory (0) | 2022.06.08 |
| weston debug message (0) | 2022.03.18 |
도대체.. 넌 또 머냐 -_-
[링크 : https://gitlab.freedesktop.org/wayland/wayland]
wayland_debug 라고 했듯.. libwayland의 디버깅이지 weston의 디버깅이 아니었나..
| To get the logs of the wayland protocol messages, set this environment variable: export WAYLAND_DEBUG=1 |
[링크 : https://wiki.st.com/stm32mpu/wiki/How_to_debug_Weston]
| weston drm debug (0) | 2022.06.29 |
|---|---|
| libwayland debug 메시지 (0) | 2022.06.27 |
| weston desktop-shell output destory (0) | 2022.06.08 |
| weston debug message (0) | 2022.03.18 |
| weston drm atomic (0) | 2022.03.17 |