matanui159 / ReplaySorcery

An open-source, instant-replay solution for Linux
GNU General Public License v3.0
854 stars 27 forks source link

how do i delete ReplaySorcery. #99

Closed GitReizu closed 3 years ago

GitReizu commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

Desktop:

Configuration: Please upload your copy of c (/usr/etc/replay-sorcery.conf on Arch) and a copy of ~/.config/replay-sorcery.conf if it exists.

# The minimum log-level to show
# Possible values: trace, debug, verbose, info, warning, error, fatal, panic, quiet
# Default value: info
logLevel = info

# The minimum log-level to add stacktraces to
# Possible values: trace, debug, verbose, info, warning, error, fatal, panic, quiet
# Default value: error
traceLevel = error

# The duration of the recording in seconds
# Default value: 30
recordSeconds = 30

# SET THIS VALUE TO hwaccel TO ENABLE HARDWARE ACCELERATION
# IT IS NOT ENABLED BY DEFAULT DUE TO ISSUES WITH CERTAIN COMPUTERS
# HERE BE DRAGONS AND YOUR MILEAGE MAY VARY
# The video input backend to use for video recording
# Possible values: auto, hwaccel, x11, kms
# Default value: auto
videoInput = auto

# The name of the input video device
# For kms, see `replay-sorcery kms-devices`
# Possible values: auto, or a device string
# Default value: auto
videoDevice = auto

# The X, Y, width and height of recording rectangle
# Default value: 0, 0
videoX = 0
videoY = 0
# Possible values: a positive integer or auto
# Default value: auto, auto
videoWidth = auto
videoHeight = auto

# The framerate of the recording
# Default value: 30
videoFramerate = 30

# The video encoder backend to use for video recording
# Possible values: auto, x264, openh264, vaapi
# Default value: auto
videoEncoder = auto

# The H.264 profile to use for video encoding
# Possible values: baseline, main, high
# Default value: baseline
videoProfile = baseline

# A high-level preset for video encoding performance
# Possible values: fast, medium, slow
# Default value: fast
videoPreset = fast

# The quality to use for video encoding, lower is better
# Possible values: 1-51 or auto
# Default value: 28
videoQuality = 28

# The bitrate to use for video encoding
# Possible values: a positive integer ending in an SI prefix (eg. 1M) or auto
# Default value: auto
videoBitrate = auto

# The number of frames between IDR frames
# Default value: 30
videoGOP = 30

# The width and height to scale the video to
# Possible values: a positive integer or auto
# Default value: auto, auto
scaleWidth = auto
scaleHeight = auto

# The audio input backend to use for audio recording
# Possible values: none, auto, pulse
# Default value: auto
audioInput = auto

# The name of the input audio device
# For pulse, see `pactl list sources`
# Possible values: auto, system, or a device string
# Default value: auto
audioDevice = auto

# The samplerate to use for audio recording
# Default value: 44100
audioSamplerate = 44100

# The audio encoder backend to use for audio recording
# Possible values: auto, aac, fdk
# Default value: auto
audioEncoder = auto

# The AAC profile to use for audio encoding
# Possible values: low (LC), main, high (HE)
# Default value: low
audioProfile = low

# The bitrate to use for audio encoding
# Possible values: a positive integer ending in an SI prefix (eg. 1K) or auto
# Default value: auto
audioBitrate = auto

# The controller backend to use for detecting key presses
# Possible values: auto, debug, x11
# Default value: auto
controller = auto

# The key name and key modifiers (as a set of flags) to press to save a video
# Default value: r
keyName = r
# Possible values: ctrl, shift, alt, super
# Default value: ctrl+super
keyMods = ctrl+super

# Where to save the output file
# Possible values: a strftime formatted file path
# Default value: ~/Videos/ReplaySorcery_%F_%H-%M-%S.mp4
outputFile = ~/Videos/ReplaySorcery_%F_%H-%M-%S.mp4

# A command to run when a video is successfully saved
# Possible values: a printf formatted command
# Default value: notify-send ReplaySorcery "Saved replay as %s"
outputCommand = notify-send ReplaySorcery "Saved replay as %s"

I'm trying to find out how to delete this, im knew to Linux, and i did the download process and it worked fine, but when i did the last part (enabling it) it said "Running In Chroot, ignoring request) i asked Ubuntu Discord and they said not to download it in Sudo Su (root@localhost) so i want to find out how to delete this and than download it with sudo on normal, instead of Sudo Su (root)

matanui159 commented 3 years ago

To uninstall you should be able to do sudo make -C bin uninstall from the root of the clone directory.

adolfotregosa commented 3 years ago

sudo make -C bin uninstall from the root of the clone directory.

make: *** No rule to make target 'uninstall'. Stop.

?? you sure ?

matanui159 commented 3 years ago

Looks like CMake doesn't create an uninstall target like I thought it did :thinking:

You should be able to just delete the binary. Usually its installed at /usr/local/bin/replay-sorcery but you can find where it is on your system either with which replay-sorcery or locate replay-sorcery.