Coder Social home page Coder Social logo

mdeguzis / deck-screenshot-sync Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xinerki/deck-screenshot-sync

0.0 0.0 0.0 29 KB

Make screenshots taken on Steam (probably the steam deck) automatically send to your device of choice (or anything really)

License: MIT License

Shell 0.44% Python 99.56%

deck-screenshot-sync's Introduction

deck-screenshot-sync

auto-upload screenshots made from the deck onto your pc or phone or idk!!

As seen on reddit!!

WIP

the script is as WIP as this readme

under construction!!!

Screenshot Sync Methods

Configuration is stored within ~/.config/autoscreenshot.config:

key possible values description
transfer-mode kde,local Set the transfer mode type/service for autoscreenshot
kde-connect-device-name Set the device name when using KDE connect.
local-target Set the destination folder when using local mode.

KDE Connect

Installing KDE connect

flatpak remote-add --if-not-exists kdeapps --from https://distribute.kde.org/kdeapps.flatpakrepo
sudo flatpak install org.kde.kdeconnect
``

Before EVERYTHING make sure you have kdeconnect all configured and your deck is paired 
with the device you want to send things to (also probably configure the folder you want 
stuff to go to too), I might write a guide for that eventually but yea...


### KDE Connect Configuration via GUI

Next, you'll have to edit your `~/.config/autoscreenshot.config` configuration file to have the 
name of your linked device, to do that:

- open your favorite terminal
- type `kdeconnect-cli -l`
- you will probably recognize the device you want to use, then copy its name
- open `transfer_handler.py` in your favorite (text) editor
- replace the 'snusk' in `device_name = 'snusk'` with the name of your linked device
- save and ur done!! move on to installation

### KDE Connect Configruation via CLI

Reference https://helpmanual.io/help/kdeconnect-cli/ to setup KDE connect without a desktop/desktop mode. This 
CLI version doesn't seem to be available in the KDEConnect flatpak. The Pacman package `kdeconnect` will work, 
but such packages installed by the user may be overwritten on system updates.

$ kdeconnect-cli -l

  • Pixel 7: <LONG_ID> (paired and reachable) 1 device found

Edit your configuration:

{ "transfer-mode": "kde-connect", "local-target": "", "kde-connect-device-name": "Pixel 7" }


## Installation

Requires Python3, which should already be the default on the Steam Deck.

### PyPi installation (coming soon?)

### Installation from GitHub

Note: Add '-v' to `pip3` below to see setup installation messages + debug information.

git clone https://github.com/Xinerki/deck-screenshot-sync.git autoscreenshot cd autoscreenshot pip3 install .


If you want to test the install with pipenv, you can use:

pipenv install .


deck-screenshot-sync's People

Contributors

mdeguzis avatar xinerki avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.