- List monitors and modes if the maximum supported version is not on the list of the connected monitor continue to 2, if it is continue with step 4 directly:
sudo xrandr - Add a new mode:
sudo xrandr --newmode "1920x1080_60.00" 148.35 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync - Add new mode to the list of available on the second monitor that in this case is DP-1:
sudo xrandr --addmode DP-1 1920x1080_60.00 - Now add the output of the external monitor to the configured mode, to the right of the notebook one in this case:
sudo xrandr --auto --output DP-1 --mode 1920x1080_60.00 --right-of eDP-0
Done!
My Bytes
segunda-feira, 3 de agosto de 2015
Second external monitor setup Linux(Fedora) using xrandr
List of commands to setup a second external monitor connected to my notebook in VGA port:
quinta-feira, 2 de abril de 2015
Git - Quick reference
This is a list of links and quick reference for common tasks I need to do frequently using Git and GitHub.
Git Hub quick start basic reference site I like with tips for creating and starting a git repo: http://rogerdudler.github.io/git-guide/
How to fork from GitHub and keep forked repo in sycn with original: https://help.github.com/articles/fork-a-repo/
If original repo from where you forked from has changes and you need to sync your fork: https://help.github.com/articles/syncing-a-fork/
Good easy reference for forking, branching, etc: https://gun.io/blog/how-to-github-fork-branch-and-pull-request/
Basic list of commands:
Starting a repo: Create a directory and type: git init
Committing changes(local repo only): git commit -m "commit message here"
Check current working branch: git status
Create a branch and check out to it: git checkout -b $branchName
Switch back to main or other branch: git checkout $branchName
Push branch to remote repo: git push origin $branchName
View log history: git log
Create a tag: git tag $tagName $commitIdFromGitLog
Push tag to remote repo: git push --tags OR git push origin $tagName
Delete a remote branch locally: git branch -rd origin/$branchName
Than delete it in the remote repo: git push origin --delete $branchName
This is a work in progress... To be continued...
Git Hub quick start basic reference site I like with tips for creating and starting a git repo: http://rogerdudler.github.io/git-guide/
How to fork from GitHub and keep forked repo in sycn with original: https://help.github.com/articles/fork-a-repo/
If original repo from where you forked from has changes and you need to sync your fork: https://help.github.com/articles/syncing-a-fork/
Good easy reference for forking, branching, etc: https://gun.io/blog/how-to-github-fork-branch-and-pull-request/
Basic list of commands:
Starting a repo: Create a directory and type: git init
Committing changes(local repo only): git commit -m "commit message here"
Check current working branch: git status
Create a branch and check out to it: git checkout -b $branchName
Switch back to main or other branch: git checkout $branchName
Push branch to remote repo: git push origin $branchName
View log history: git log
Create a tag: git tag $tagName
Push tag to remote repo: git push --tags OR git push origin $tagName
Delete a remote branch locally: git branch -rd origin/$branchName
Than delete it in the remote repo: git push origin --delete $branchName
This is a work in progress... To be continued...
sexta-feira, 10 de abril de 2009
Presentation
Hi,
Primary this blog will post about Development, some Java, JavaScript, Application Servers and general IT. Yes, this is yet another blog about technology stuff.
As a Brazilian I feel more comfortable writing in Portuguese so if you do speak Portuguese you may also check my blog written in Portuguese.
[ ]s
Primary this blog will post about Development, some Java, JavaScript, Application Servers and general IT. Yes, this is yet another blog about technology stuff.
As a Brazilian I feel more comfortable writing in Portuguese so if you do speak Portuguese you may also check my blog written in Portuguese.
[ ]s
Assinar:
Postagens (Atom)