Knoppia

Wiki de Informática y otras historias

Herramientas de usuario

Herramientas del sitio


linux:tablet

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
linux:tablet [2024/11/08 11:22] thejuanvisulinux:tablet [2024/11/12 10:01] (actual) thejuanvisu
Línea 10: Línea 10:
 {{ :linux:img_20241108_120735.jpg |}} {{ :linux:img_20241108_120735.jpg |}}
  
 +
 +===== Xorg mutitouch =====
 +
 +<code bash>
 +sudo apt install xserver-xorg-input-multitouch
 +</code>
 +
 +===== LibInput-Gestures =====
 +Proyecto en github: [[https://github.com/bulletmark/libinput-gestures]]
 +<code bash>
 +git clone http://github.com/bulletmark/libinput-gestures
 +cd libinput-gestures
 +sudo make install
 +
 +sudo apt install libinput-tools xdotool
 +
 +sudo gpasswd -a $USER input  # Log out and back in to assign this group
 +
 +libinput-gestures-setup autostart
 +
 +
 +#Para configuración propia customizada:
 +cp /etc/libinput-gestures.conf ~/.config/libinput-gestures.conf
 +nano ~/.config/libinput-gestures.conf
 +</code>
 +
 +Ejemplo de configuración customizada:
 <code> <code>
 +gesture swipe up    3 xdotool key ctrl+alt+Up
 +gesture swipe down  3 xdotool key ctrl+alt+Down
 +gesture swipe left  3 xdotool key ctrl+alt+Left
 +gesture swipe right 3 xdotool key ctrl+alt+Right
 +gesture swipe up 4 xdotool key super+w
 +gesture swipe down 4 xdotool key ctrl+super+d
 +</code>
  
-conky.config = { +Fuente[[https://askubuntu.com/questions/789915/ubuntu-16-04-multitouch-gestures]]
-  alignment = 'top_right', +
-  background = true, +
-  border_width = 0.5, +
-  cpu_avg_samples = 4, +
-  default_color = 'white', +
-  default_outline_color = 'grey', +
-  default_shade_color = 'black', +
-  draw_borders = true, +
-  draw_graph_borders = true, +
-  draw_outline = false, +
-  draw_shades = false, +
-  use_xft = true, +
-  font = 'OpenSans:size=10', +
-  gap_x = 1, +
-  gap_y = 0, +
-  maximum_width = 400, +
-  minimum_height = 5, +
-  minimum_width = 5, +
-  net_avg_samples = 2, +
-  double_buffer = true, +
-  out_to_console = false, +
-  out_to_stderr = false, +
-  extra_newline = false, +
-  own_window = true, +
-  own_window_colour = '000000', +
-  own_window_class = 'Conky', +
-  own_window_argb_visual = true, +
-  own_window_type = 'desktop', +
-  own_window_transparent = true, +
-  own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', +
-  stippled_borders = 0, +
-  update_interval = 1, +
-  uppercase = false, +
-  use_spacer = 'none', +
-  show_graph_scale = false, +
-  show_graph_range = false +
-};+
  
-conky.text [[ +===== Poner FireFox en modo táctil ===== 
-${font MesloLGS NF:bold:size=18}$alignc${color Lime} Manjaro ${execi 100000 lsb_release -sc} +Primero, dentro de firefox, en la casilla de búsqueda ponemos
-${voffset -90}  +<code> 
-${color white} +about:config
-${font} +
-${font OxygenSans:pixelsize=18}$alignc${time %A} ${color white}${time %b}-${color white}${time  %d}-${color white}${time %Y}${font} +
-${font OxygenSans:pixelsize=18}$alignc${time %I:%M:%S} ${color white} +
-#System +
-${font MesloLGS NF:size=15}${color Tan1} ${font OxygenSans:bold:size=11}${color Tan1}SYSTEM ${color White}${hr 2} +
-$font${color White}$sysname $kernel $alignr $machine +
-Hostname: $alignr${nodename} +
-Uptime: $alignr${uptime} +
-System Updates: $alignr ${execpi 3600 checkupdates | wc -l}  Updates +
-Battery: $alignr ${battery_time BAT1}  ${battery_percent BAT1}% +
-#CPU +
-${font MesloLGS NF:size=14}${color Tan1} ${font OxygenSans:bold:size=11}${color Tan1}CPU ${color White}${hr 2} +
-#$font${color White}Temperature: $alignr ${acpitemp} °C +
-${font OpenSans:bold:size=10}${color White}CPU USAGE: ${cpu cpu0}% $alignr Temp: ${hwmon 4 temp 1}°C +
-$font${color White}CPU1 ${freq_g 1}Ghz  ${cpubar cpu1} +
-CPU2 ${freq_g 2}Ghz  ${cpubar cpu2} +
-CPU3 ${freq_g 3}Ghz  ${cpubar cpu3} +
-CPU4 ${freq_g 4}Ghz  ${cpubar cpu4} +
-CPU5 ${freq_g 5}Ghz  ${cpubar cpu5} +
-CPU6 ${freq_g 6}Ghz  ${cpubar cpu6} +
-CPU7 ${freq_g 7}Ghz  ${cpubar cpu7} +
-CPU8 ${freq_g 8}Ghz  ${cpubar cpu8} +
-${cpugraph} $color +
-#MEMORY +
-${font MesloLGS NF:size=14}${color Tan1} ${font OxygenSans:bold:size=11}${color Tan1}MEMORY ${color White}${hr 2} +
-$font${color White}MEM $alignc $mem / $memmax $alignr $memperc% +
-$membar +
-$font${color White}SWAP $alignc $swap / $swapmax $alignr $swapperc% +
-$swapbar +
-#HDD +
-${font MesloLGS NF:size=15}${color Tan1} ${font OxygenSans:bold:size=11}${color Tan1}SSD ${color White}${hr 2} +
-$font${color White}Boot $alignc ${fs_used /boot} / ${fs_size /boot} $alignr ${fs_used_perc /boot}% +
-${fs_bar /boot} +
-$font${color White}Root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}% +
-${fs_bar /} +
-$font${color White}Home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}% +
-${fs_bar /home} +
-#TOP PROCESSES +
-${font MesloLGS NF:size=15}${color Tan1} ${font OxygenSans:bold:size=11}${color Tan1}TOP PROCESSES ${color White}${hr 2} +
-${color White}$font${top_mem name 1}${alignr}${top_mem mem 1} % +
-$font${top_mem name 2}${alignr}${top_mem mem 2} % +
-$font${top_mem name 3}${alignr}${top_mem mem 3} % +
-$font${top_mem name 4}${alignr}${top_mem mem 4} % +
-#NETWORK WLAN0 +
-${if_existing /proc/net/route wlan0}${font MesloLGS NF:size=15}${color Tan1} ${font OxygenSans:bold:size=11}${color Tan1}NETWORK ${color White}${hr 2} +
-$font${color White}${wireless_essid wlan0} Quality: $alignr ${wireless_link_qual_perc wlan0}% +
-${wireless_link_bar wlan0} +
-$font${color White}Local IP: $alignr ${addrs wlan0} +
-Down Speed: $alignr ${downspeed wlan0}/s +
-Up Speed: $alignr ${upspeed wlan0}/s +
-${hr 2} +
-Downloaded: $alignr ${totaldown wlan0} +
-Uploaded: $alignr ${totalup wlan0} +
-#NETWORK ETH0 +
-${else}${if_existing /proc/net/route eth0}${font MesloLGS NF:size=15}${color Tan1} ${font OxygenSans:bold:size=11}${color Tan1}NETWORK ${color White}${hr 2} +
-$font${color White}Local IP: $alignr ${addrs eth0} +
-${hr 2} +
-Down Speed: $alignr ${downspeed eth0}/s +
-Up Speed: $alignr ${upspeed eth0}/s +
-${hr 2} +
-Downloaded: $alignr ${totaldown eth0} +
-Uploaded: $alignr ${totalup eth0}${endif}${endif} +
-]];+
 </code> </code>
 +Nos aparecerá un mensaje de aviso en el que pulsaremos en continuar y nos aparecerá un cuadro de búsqueda, en este cuadro de búsqueda pondremos lo siguiente:
 +<code>
 +dom.w3c_touch_events.enabled
 +</code>
 +
 +Haremos doble click en el resultado y cambiaremos el valor de 2 a 1. Tras eso debemos editar el documento "/etc/security/pam_env.conf" y añadir la siguiente línea:
 +<code>
 +MOZ_USE_XINPUT2 DEFAULT=1
 +</code>
 +
 +===== Entornos de Escritorio con soporte para pantallas táctiles =====
 +  * GNOME (Aparentemente es el que tiene mejor soporte)
 +  * KDE Plasma: [[https://community.kde.org/KDE_Visual_Design_Group/Gestures]]
 +  * Plasma Mobile (Unstable): [[https://plasma-mobile.org/es/]]
 +
 +===== Distros con buen soporte para pantallas táctiles =====
 +  * Debian Sid
 +  * Ubuntu Gnome
 +  * Linux Mint
 +  * Endeavour OS (Gnome)
 +  * PopOS (Gnome)
 +  * Zorin OS
 +  * Xubuntu
 +
 +===== Otros =====
 +Phos para tener una interfaz tipo android: [[https://packages.debian.org/sid/phosh]]
 +
linux/tablet.1731064942.txt.gz · Última modificación: 2024/11/08 11:22 por thejuanvisu