run the application like this:
DRI_PRIME=1 vlc
now, the vlc
runs on second GPU ! :)
run the application like this:
DRI_PRIME=1 vlc
now, the vlc
runs on second GPU ! :)
v4l2loopback-dkms
by package managers such as pamac
and apt
)sudo modprobe -r v4l2loopback && sudo modprobe v4l2loopback devices=1 video_nr=20 card_label="fakecam" exclusive_caps=1
Optionsvideo_nr=20
option in command) and click on the start button.fakecam
as webcam :)If you have problem with finding fakecam, try command without exclusive_caps=1
option.
xrandr
xinput
xinput map-to-output <Input Device ID> <Output Device Name>
for example: xinput map-to-output 15 DP-1
\documentclass[12pt, a4]{article} | |
%% find this on: https://gist.github.com/alifa98/4fbdd935b2419b520a7a635d5e2da12a | |
\usepackage{amsthm,amssymb,amsmath,amsfonts} | |
\usepackage[top=30mm, bottom=30mm, left=25mm, right=30mm]{geometry} | |
\usepackage{graphicx} | |
\usepackage{color} | |
\usepackage{setspace} | |
\usepackage{titletoc} | |
\usepackage{tocloft} |
[ \e[35m\A \e[33m\u\e[90m@\e[31m\h\e[39m:\e[34m\w \e[39m] $ |
Install alien, OpenJDK 11, and OpenJFX
sudo apt install alien openjdk-11-jdk openjfx
Download SQL Developer >= 19.2
https://www.oracle.com/tools/downloads/sqldev-downloads.html
# Compiled class file | |
*.class | |
# Log file | |
*.log | |
# BlueJ files | |
*.ctxt | |
# Mobile Tools for Java (J2ME) |
jframe.setLocationRelativeTo(null); //this should be done after setting the size or calling pack(), but before setting it visible, like this: | |
/* | |
frame.pack(); | |
frame.setLocationRelativeTo(null); | |
frame.setVisible(true); | |
*/ |