{"id":18126970,"url":"https://github.com/axwtv/linux-config-manual","last_synced_at":"2025-04-06T13:45:41.236Z","repository":{"id":180395924,"uuid":"664951069","full_name":"AXWTV/Linux-Config-Manual","owner":"AXWTV","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-16T13:35:57.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T19:49:09.133Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AXWTV.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-11T05:44:35.000Z","updated_at":"2023-07-11T10:27:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec7c6430-abeb-4a68-a0d9-438148ae6086","html_url":"https://github.com/AXWTV/Linux-Config-Manual","commit_stats":null,"previous_names":["axwtv/linux-config-manual"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AXWTV%2FLinux-Config-Manual","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AXWTV%2FLinux-Config-Manual/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AXWTV%2FLinux-Config-Manual/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AXWTV%2FLinux-Config-Manual/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AXWTV","download_url":"https://codeload.github.com/AXWTV/Linux-Config-Manual/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247492467,"owners_count":20947541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-01T09:12:58.506Z","updated_at":"2025-04-06T13:45:41.230Z","avatar_url":"https://github.com/AXWTV.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linux-Config-Manual\n\n\u003ch2\u003eDisplay Configuration\u003c/h2\u003e\n\n```bash\n$ ps -e | grep Xorg\n```\n\n\u003ch2\u003echack if xrandr is installed\u003c/h2\u003e\n\n```bash\n$ xrandr\nScreen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384\nHDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 410mm x 230mm\n   1366x768      59.79 +\n   1920x1080     60.00*   59.94\n   1280x1024     75.02\n   1280x720      60.00    50.00    59.94\n   1024x768      75.03    60.00\n   800x600       75.00    60.32\n   720x576       50.00\n   720x576i      50.00\n   720x480       60.00    59.94\n   720x480i      60.00    59.94\n   640x480       75.00    60.00    59.94\n   720x400       70.08\nDP-1 disconnected (normal left inverted right x axis y axis)\n\n$ xrandr --output HDMI-1 --mode 1920x1080\n\n$ touch .xprofile .profile .xinitrc\n\n$ echo \"#!/bin/bash\" \u003e\u003e .profile .xprofile .xinitric\n$ echo \"xrandr --output HDMI-1 --mode 1920x1080\" \u003e\u003e .profile .xprofile .xinitric\n\n$ touch /etc/X11/xorg.conf.d/10-monitor.conf\n```\n\u003cp\u003epaste in /etc/X11/xorg.conf.d/10-monitor.conf\u003c/p\u003e\n\n```bash\nSection \"Monitor\"\n    Identifier    \"HDMI1\" \n    Option        \"PreferredMode\" \"1920x1080\"\n    Option        \"TargetRefresh\" \"60\"\n    Option        \"Position\" \"0 0\"\n    Option        \"Enable\" \"true\"\nEndSection \n```\n\u003ch3\u003egdm 1920x1080\u003c/h3\u003e\n\n```bash\nsudo cp ~/.config/monitors.xml /var/lib/gdm/.config/monitors.xml \n```\n\u003cp\u003ealso add https://linuxreviews.org/HOWTO_fix_screen_tearing#:~:text=Intel%20iGPUs%5B,if%20it%27s%20new. also help full https://askubuntu.com/questions/1347160/screen-tearing-when-using-xrandr-and-x11vnc-on-ubuntu-20-04 , https://christitus.com/fix-screen-tearing-linux/\u003c/p\u003e\n\n```bash\nsudo vim /etc/X11/xorg.conf.d/20-intel-gpu.conf\n```\n\n\u003cp\u003epaste this in there\nto find out the driver use: grep drivers /var/log/Xorg.0.log\n\u003c/p\u003e\n\n```bsah\nSection \"Device\"\n   Identifier  \"Intel Graphics\"\n   Driver      \"intel\"\n   Option      \"TearFree\"  \"true\"\nEndSection\n\nOR\n\nSection \"Device\"\n   Identifier  \"Intel Graphics\"\n   Driver      \"modesettings\"\n   Option      \"TripleBuffer\" \"true\"\n   Option      \"TearFree\"  \"true\"\nEndSection\n```\n\n\n\u003ch3\u003eAfter doing all that just\u003c/h3\u003e\n\n```bash\nsudo reboot\n```\n\u003ch3\u003eInstall\u003c/h3\u003e\n\n```bash\n$ sudo \u003cpacket_manager\u003e install arandr\ne.g\n   sudo apt install arandr\n   sudo dnf install arandr\n   sudo pacman -Ss arandr\n```\n\n\u003ch3\u003eSupported\u003c/h3\u003e\n\u003cp\u003eDebian, Ubuntu, Fedora, CentOS, ...\u003c/p\u003e\n\u003cp\u003eor use https://github.com/phillipberndt/autorandr\u003c/p\u003e\n\n\u003ch2\u003eScreen saver\u003c/h2\u003e\n\n\u003cp\u003eYou can disable the screen saver feature with:\u003c/p\u003e\n\n```bash\nsudo systemctl mask suspend.target \u0026\u0026 sudo systemctl mask sleep.target\n```\n\n\u003ch2\u003eGTK - Theme problems\u003c/h2\u003e\n\n```bash\n$ touch $HOME/.gtkrc-2.0 $HOME/.config/gtk-3.0/settings.ini\n```\n\n\u003cp\u003epaste in $HOME/.gtkrc-2.0\u003c/p\u003e\n\n```bash\ngtk-icon-theme-name = \"Adwaita\"\ngtk-theme-name = \"Adwaita\"\ngtk-font-name = \"DejaVu Sans 11\"\n```\n\n\u003cp\u003epaste in $HOME/.config/gtk-3.0/settings.ini\u003c/p\u003e\n\n```bash\n[Settings]\ngtk-icon-theme-name = Adwaita\ngtk-theme-name = Adwaita\ngtk-font-name = DejaVu Sans 11\ngtk-application-prefer-dark-theme = true\n```\n\u003cp\u003eother themes https://github.com/catppuccin/gtk\u003c/p\u003e\n\u003cp\u003emore details in https://wiki.archlinux.org/index.php/GTK#Dark_theme_variant\u003c/p\u003e\n\n\u003ch2\u003eHow to find a class of an application\u003c/h2\u003e\n\u003cp\u003ehttps://unix.stackexchange.com/questions/96798/i3wm-start-applications-on-specific-workspaces-when-i3-starts#:~:text=%40Lu%C3%ADsdeSousa%20you-,xprop%20%7C%20grep%20CLASS,-in%20terminal%2C%20your\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxwtv%2Flinux-config-manual","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxwtv%2Flinux-config-manual","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxwtv%2Flinux-config-manual/lists"}