Чему соответствуют XF86Mail и XF86WWW в Xfce4?

  1. why not have a temporary file that you just concat to /etc/bash.bashrc ?

    cat /tmp/posix-opt.txt >> /etc/bash.bashrc
    

(this will add /tmp/posix-opt.txt (which contains uncommented line) to /etc/bash.bashrc )

  1. If not possible

    n=$(grep -n 'shopt -oq posix' /etc/bash.bashrc)
    sed -i -e "$n,$(($n + 7))s/^#//" /etc/bash.bashrc
    

this is the same as in vi, you just need the grep to get line number.

notice however, that should there be 2 lines containing "shopt -oq posix" the script will break.

0
27.02.2018, 18:49
2 ответа

Echando un vistazo al código fuente del archivo XF86keysym.h, y esta tabla parece ser exactamente lo que el nombre supone de una manera muy sugerente :Los símbolos del teclado para "Correo " e "Internet" (algunos de ellos tienen impresa la "E" de Internet Explorer):

#define XF86XK_Mail     0x1008FF19   /* Invoke user's mail program */
#define XF86XK_WWW      0x1008FF2E   /* Invoke web browser         */
0
28.01.2020, 02:43

Corresponden a teclas dedicadas disponibles en algunos teclados, generalmente en un grupo de teclas "multimedia" (véase, por ejemplo, este teclado de Microsoft con "teclas de acceso rápido a Internet y correo electrónico" ); XF86Mailes la tecla asignada para acceder al correo electrónico, XF86WWWla tecla asignada para iniciar un navegador web.

1
28.01.2020, 02:43

Теги

Похожие вопросы