Comments (8)
Easily fixed by changing AppRun script line 33.
I have removed the find-up function in mine. It returned a relative path (i.e. ".") which wasn't recognised by the rest of the script.
Instead I have replaced it with a (supposedly) more reliable command to get the current path, found on stack overflow
My version now looks like:
#!/bin/bash
set -e
# Be verbose if $DEBUG=1 is set
if [ ! -z "$DEBUG" ] ; then
env
set -x
fi
THIS="$0"
args=("$@") # http://stackoverflow.com/questions/3190818/
NUMBER_OF_ARGS="$#"
# Please do not change $VENDORPREFIX as it will allow for desktop files
# belonging to AppImages to be recognized by future AppImageKit components
# such as desktop integration daemons
VENDORPREFIX=appimagekit
if [ -z $APPDIR ] ; then
# Find the AppDir. It is the directory that contains AppRun.
# This assumes that this script resides inside the AppDir or a subdirectory.
# If this script is run inside an AppImage, then the AppImage runtime
# likely has already set $APPDIR
# This command gets the absolute path this script is in. (EG /home/user/bin)
# See stackoverflow.com/questions/4774054
APPDIR=$(dirname "$(realpath -s "$0")")
fi
from onenote.
Would have PRed myself, but couldn't find the original files.
from onenote.
sorry, i exchanged a package.json dependencies electron to devDependencies because the build AppImage (which is in the releases) it only allow in devDependencies.
My bad.
Try now, it will work. Sorry.
The exact npm install is:
sudo npm install -g p3x-onenote --unsafe-perm=true --allow-root
As of the AppImage
@ https://github.com/patrikx3/onenote/releases/tag/1.0.297-181
for me it works.
What is the error? Which Linux?
from onenote.
The issue is that for npm the electron
needs to be in dependencies
, but to build in AppImage
, the electron
needs to be in devDependencies
.
And last time if exchanged and that's why it was not working in npm
.
Now it works with both ways.
from onenote.
I just don't know how to change the AppImage
, what Linux distro do you have? How come it not working? I tried any dir it just works.
from onenote.
When I'm next at the machine I'll give more details. Fedora 22, non-root. Wasn't installing, just running from AppImage
. Manually setting $APPDIR in a terminal to the absolute path of the appimage caused it to work fine
from onenote.
Well, AppImage
-s I use all in /opt
and I have it in the PATH
and that's all, besides, it provides a menu as well, so it is enough to click.
from onenote.
@BlueDrink9
i set a settings, so you can disable the hiding if the tray is not working
https://github.com/patrikx3/onenote#latest-gnome-with-dash-to-panel
from onenote.
Related Issues (20)
- This is not an issue HOT 3
- Javascript error when trying to open any notebook HOT 2
- Issue when switching to onenote HOT 6
- Feature to create hyperlinks and open notebooks using them HOT 1
- can zoom IN on *ui* (ctrl-shift-=) but cannot zoom out on *ui* HOT 1
- Unable to change audio input device HOT 2
- How to load locally-saved notebooks into it? HOT 2
- Unrecoverable after accessing help HOT 4
- Permanent Drawing Mode HOT 2
- Can't install on Fedora 38 when Lens IDE is installed HOT 1
- I can not open my ontebooks HOT 2
- Why couldn't sign in the work account? HOT 1
- spell check
- Search with dark mode is unusable HOT 1
- Keyboard shortcuts for date and time
- is it safe to use this app? HOT 1
- Persistent white screen HOT 1
- Flatpak HOT 24
- Export to PDF ? HOT 1
- Allow extension ? HOT 1
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 onenote.