Build & install gamescope for fresh-install Ubuntu 24.04 (Noble Numbat)
Due to what appears to be dependency issues, the gamescope package isn't avalible for Ubuntu 24.04. So here's a guide on how to build and install gamescope for Ubuntu 24.04
- Pull latest git of gamescope
$ git clone https://github.com/ValveSoftware/gamescope.git
- Install needed dependencies to build
gamescope
`$ sudo apt install libbenchmark1.8.3 libdisplay-info1 libevdev-dev libgav1-1 libgudev-1.0-dev libmtdev-dev libseat1 libstb0 libwacom-dev libxcb-ewmh2 libxcb-shape0-dev libxcb-xfixes0-dev libxmu-headers libyuv0 libx11-xcb-dev libxres-dev libxmu-dev libseat-dev libinput-dev libxcb-composite0-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-res0-dev libcap-dev
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # This script launches a Windows executable using Proton within a Linux environment. | |
| # It requires exactly one argument: the path to the executable to run. | |
| # It sets up a separate Proton prefix for each executable to avoid conflicts. | |
| # Usage: proton <path-to-executable> | |
| if [ "$#" -ne 1 ]; then | |
| echo "Usage: $0 <executable-path>" | |
| exit 1 |
This file contains hidden or 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
| ############################################################################## | |
| # SHORTCUTS and HISTORY | |
| ############################################################################## | |
| CTRL+A # move to beginning of line | |
| CTRL+B # moves backward one character | |
| CTRL+C # halts the current command | |
| CTRL+D # deletes one character backward or logs out of current session, similar to exit | |
| CTRL+E # moves to end of line | |
| CTRL+F # moves forward one character |
This file contains hidden or 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
| /* | |
| [configuration] | |
| [OptionRangeFloat] | |
| GUIName = Blur Area | |
| OptionName = BLUR_SIZE | |
| MinValue = 0.0 | |
| MaxValue = 10.0 | |
| StepAmount = 0.1 | |
| DefaultValue = 1.6 |
This file contains hidden or 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
| ${alignc}${font Dejavu Sans Mono:size=8}GPU ${exec cat /sys/class/drm/card0/device/gpu_busy_percent}%${font} | |
| ${color3}${execgraph "cat /sys/class/drm/card0/device/gpu_busy_percent" 3fa5ff 3fa5ff} | |
| ${color1}Temp${color} ${hwmon 2 temp 1} | |
| ${color1}GPU clk${color} ${exec grep -Po '\d+:\s\K(\d+)(?=.*\*$)' /sys/class/drm/card0/device/pp_dpm_sclk} | |
| ${color1}Mem clk${color} ${exec grep -Po '\d+:\s\K(\d+)(?=.*\*$)' /sys/class/drm/card0/device/pp_dpm_mclk} | |
| ${color1}Mem${color} ${exec numfmt --to=iec < /sys/class/drm/card0/device/mem_info_vram_used} | |
| ${color1}Fan${color} ${hwmon 2 fan 1} |
This file contains hidden or 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
| <?xml version="1.0"?> | |
| <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
| <fontconfig> | |
| <description>Make Windows Font Look Good</description> | |
| <match target="font"> | |
| <edit name="iswindowsfont" mode="assign"> | |
| <or> | |
| <eq> |
This file contains hidden or 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
| You want to use a live wallpaper in x11? | |
| Great!!...but It come as a cost. | |
| I did experiment with .gif backend and non hardware accelerate backend, It sucks. | |
| CPU usage was so high (40% up just for idle), unacceptable for my laptop. | |
| Running with those backend for such a really long time will slowly turn your laptop into the hot potato. | |
| But don't be upset, we can reduce those cost. | |
| Using the video player with hardware video decoding support can reduce the cost. |
This file contains hidden or 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
| /* | |
| * Copyright (C) 2017 Alberts Muktupāvels | |
| * | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or | |
| * (at your option) any later version. | |
| * | |
| * This program is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains hidden or 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
| get_window_name() | |
| returns a string containing the name of the current window. | |
| get_application_name() | |
| returns the application name of the current window. | |
| set_window_position(xpos, ypos) | |
| Sets the position of a window. | |
| set_window_size(xsize, ysize) |
NewerOlder