mirror of https://github.com/CrimsonTome/tldr.git
xwininfo: add page; xkill: update page (#11945)
* xwininfo: add page ant pt_BR translation * xkill: update page and pt_BR translation * xwininfo: update pt_BR translation * xwininfo: fix ID casing and ellipsis Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * xwininfo: fix ID casing in pt_BR --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Isaac Vicente <isaacvicentsocial@gmail.com>pull/23/head
parent
bf244b5444
commit
8bd5c25864
|
@ -1,9 +1,17 @@
|
||||||
# xkill
|
# xkill
|
||||||
|
|
||||||
> Termina o cliente associado a um elemento gráfico.
|
> Termina uma janela interativamente em uma sessão gráfica.
|
||||||
> Utilizado para forçar a terminação de processos que não respondem ou não apresentam botão "fechar".
|
> Veja também: `kill`, `killall`.
|
||||||
> Mais informações: <https://www.x.org/releases/current/doc/man/man1/xkill.1.xhtml>.
|
> Mais informações: <https://www.x.org/releases/current/doc/man/man1/xkill.1.xhtml>.
|
||||||
|
|
||||||
- Ativa um cursor para fechar uma janela com o clique do botão esquerdo do mouse (pressionar qualquer outro botão para cancelar):
|
- Ativa um cursor para fechar uma janela com o clique do botão esquerdo do mouse (pressionar qualquer outro botão para cancelar):
|
||||||
|
|
||||||
`xkill`
|
`xkill`
|
||||||
|
|
||||||
|
- Mostra um cursor para selecionar uma janela pressionando qualquer botão do mouse:
|
||||||
|
|
||||||
|
`xkill -button any`
|
||||||
|
|
||||||
|
- Fecha uma janela com um id específico (use `xwininfo` para obter informações sobre janelas):
|
||||||
|
|
||||||
|
`xkill -id {{id}}`
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
# xwininfo
|
||||||
|
|
||||||
|
> Mostra informações sobre janelas.
|
||||||
|
> Veja também: `xprop`, `xkill`.
|
||||||
|
> Mais informações: <https://www.x.org/releases/current/doc/man/man1/xwininfo.1.xhtml>.
|
||||||
|
|
||||||
|
- Mostra um cursor para selecionar uma janela para mostrar seus atributos (ID, nome, tamanho, posição...):
|
||||||
|
|
||||||
|
`xwininfo`
|
||||||
|
|
||||||
|
- Mostra a árvore de todas as janelas:
|
||||||
|
|
||||||
|
`xwininfo -tree -root`
|
||||||
|
|
||||||
|
- Mostra os atributos de uma janela com um ID específico:
|
||||||
|
|
||||||
|
`xwininfo -id {{id}}`
|
||||||
|
|
||||||
|
- Mostra os atributos de uma janela com um nome específico:
|
||||||
|
|
||||||
|
`xwininfo -name {{nome}}`
|
||||||
|
|
||||||
|
- Mostra o ID de uma janela buscando pelo nome:
|
||||||
|
|
||||||
|
`xwininfo -tree -root | grep {{palavra_chave}} | head -1 | perl -ne 'print $1 if /(0x[\da-f]+)/ig;'`
|
|
@ -1,7 +1,7 @@
|
||||||
# xkill
|
# xkill
|
||||||
|
|
||||||
> Kill a window interactively in a graphical session.
|
> Kill a window interactively in a graphical session.
|
||||||
> See also `kill` and `killall`.
|
> See also: `kill`, `killall`.
|
||||||
> More information: <https://www.x.org/releases/current/doc/man/man1/xkill.1.xhtml>.
|
> More information: <https://www.x.org/releases/current/doc/man/man1/xkill.1.xhtml>.
|
||||||
|
|
||||||
- Display a cursor to kill a window when pressing the left mouse button (press any other mouse button to cancel):
|
- Display a cursor to kill a window when pressing the left mouse button (press any other mouse button to cancel):
|
||||||
|
@ -11,3 +11,7 @@
|
||||||
- Display a cursor to select a window to kill by pressing any mouse button:
|
- Display a cursor to select a window to kill by pressing any mouse button:
|
||||||
|
|
||||||
`xkill -button any`
|
`xkill -button any`
|
||||||
|
|
||||||
|
- Kill a window with a specific id (use `xwininfo` to get info about windows):
|
||||||
|
|
||||||
|
`xkill -id {{id}}`
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
# xwininfo
|
||||||
|
|
||||||
|
> Display information about windows.
|
||||||
|
> See also: `xprop`, `xkill`.
|
||||||
|
> More information: <https://www.x.org/releases/current/doc/man/man1/xwininfo.1.xhtml>.
|
||||||
|
|
||||||
|
- Display a cursor to select a window to display its attributes (id, name, size, position, ...):
|
||||||
|
|
||||||
|
`xwininfo`
|
||||||
|
|
||||||
|
- Display the tree of all windows:
|
||||||
|
|
||||||
|
`xwininfo -tree -root`
|
||||||
|
|
||||||
|
- Display the attributes of a window with a specific ID:
|
||||||
|
|
||||||
|
`xwininfo -id {{id}}`
|
||||||
|
|
||||||
|
- Display the attributes of a window with a specific name:
|
||||||
|
|
||||||
|
`xwininfo -name {{name}}`
|
||||||
|
|
||||||
|
- Display the ID of a window searching by name:
|
||||||
|
|
||||||
|
`xwininfo -tree -root | grep {{keyword}} | head -1 | perl -ne 'print $1 if /(0x[\da-f]+)/ig;'`
|
Loading…
Reference in New Issue