You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Thiago Braga
thiagobraga
Web and Mobile Developer • DevOps Evangelist • Musician • Guitarist in the bands Sociopata and Revel • A proud member of @grupotesseract
Manage PATH environment variable in a more organized way #Linux
Organize PATH environment variable
The idea is to use an array, PATHS for example, to store the folders needed to be in PATH, and use the method join(), taken from this post, to merge correctly all paths.
#!/bin/bash# Define PATH environment variable in a more organized way.# ------------------------------------------------------------------------------
PATHS=(
setxkbmap freezes Gnome at first key press on Ubuntu 20.04 #Linux
setxkbmap freezes Gnome at first key press
Just before Gnome shell is completely started, Ubuntu freezes completely, nothing is clickable. Only mouse moves. It is possible to note that clock freezes to, the seconds stopped. When it returns, I can see this entries on /var/log/syslog:
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb6 with keysym ffb6 (keycode 55).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb7 with keysym ffb7 (keycode 4f).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb1 with keysym ffb1 (keycode 57).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb2 with keysym ffb2 (keycode 58).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb1 with keysym ffb1 (
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters