Comments (2)
Is there a specific issue you're having?
Can you try running the script in a terminal to see if you get any useful debugging output for said issue?
Line 87:
if ! (scrot -s "$1" || screencapture -s "$1"); then #takes a screenshot with selection
uses the two pipes which is an "or". The call to scrot
will fail if it doesn't exist on your system, and at that point it will run screencapture
instead. I've tested this on Linux and FreeBSD both as is and with reversing the order of the commands to ensure the fallback command execution works, which it does on both of those OSes.
I need more details in order to help you resolve whatever issue you're having. I know your previously-filed issue included a snippet using gnome-screenshot
, which must have been your addition or part of one of the forks of my project, so please ensure you're using my ocss.sh
script as it exists in the github repo, or it's pointless for me to try to help resolve it.
from ocss.
Perhaps its not the problem of the function, in line 87 i tries to use scrot wich is not available on mac
from ocss.
Related Issues (2)
- Mac not working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocss.