1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-04 07:47:45 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
f8b83cf92f gpu screen recorder: added cpu mode 2025-02-18 01:12:43 +01:00
027410d25e samba: add alternative to cifs file 2025-02-18 01:09:40 +01:00
2 changed files with 27 additions and 6 deletions

View File

@ -6,7 +6,7 @@ utility similar to [Nvidia ShadowPlay](/wiki/nvidia.md#screen-capture).
## Setup ## Setup
GPU Screen Recorder can be installed on some distributions by installing the GPU Screen Recorder can be installed on some distributions by installing the
`gpu-screen-recorder-git` package. `gpu-screen-recorder` package.
An installation via [git](https://git.dec05eba.com/gpu-screen-recorder/about/) An installation via [git](https://git.dec05eba.com/gpu-screen-recorder/about/)
is always possible. is always possible.
@ -29,6 +29,14 @@ To stop the recording `Ctrl-C` the previous command or use the command below.
killall -SIGINT gpu-screen-recorder killall -SIGINT gpu-screen-recorder
``` ```
Please note that `gpu-screen-recorder` always uses the GPU by default.
Systems without a GPU will fail to record if not changed to CPU.
This can be done by using the following flag and option.
```txt
-encoder cpu
```
For the replay mode the recording can be started the following way. For the replay mode the recording can be started the following way.
```sh ```sh

View File

@ -9,19 +9,32 @@ and unix.
The mounting of Samba shares requires a package containing `mount.cifs` in many The mounting of Samba shares requires a package containing `mount.cifs` in many
distributions packaged in the `cifs-utils` package to be installed. distributions packaged in the `cifs-utils` package to be installed.
Samba shares then can be mounted by adapting and running the following example: Samba shares then can be mounted by adapting and running the following example.
`mount -t cifs //<server address>/<share name> <path to mount point> -o username=<username>,password=<password>`
```sh
mount -t cifs //<server address>/<share name> <path to mount point> -o username=<username>,password=<password>
```
### Automatic Mounting ### Automatic Mounting
The mounting of Samba shares requires a package containing `mount.cifs` in many The mounting of Samba shares requires a package containing `mount.cifs` in many
distributions packaged in the `cifs-utils` package to be installed. distributions packaged in the `cifs-utils` package to be installed.
To automount Samba shares the following line has to be adapted and added To automatically mount Samba shares the following line has to be adapted and added
to `/etc/fstab`: to `/etc/fstab`.
`//<server address>/<share name> <path to mountpoint> cifs,nofail credentials=<path to authentication file> 0 0`.
```txt
//<server address>/<share name> <path to mountpoint> cifs,nofail credentials=<path to authentication file> 0 0
```
An authentication file looks like the following: An authentication file looks like the following:
```txt ```txt
username=<username> username=<username>
password=<password> password=<password>
``` ```
Alternatively the following line can be used inside `/etc/fstab`.
```txt
//<server address>/<share name> <path to mountpoint> cifs,nofail username=<username>,password=<password> 0 0
```