Cannot Save Edit to "Installing on Linux"


#1

I saw that the instructions on page https://sebiik.github.io/community.axoloti.com.backup/t/installing-on-linux/56 are missing the folder platform_linux/ in the add_udev_rules.sh command.

  1. ...
  2. ...
  3. ...
  4. ...
  5. grant permissions for your user to use the USB device
    • make sure the axoloti board is not connected
    • run ~/axoloti_runtime/platform_linux/add_udev_rules.sh

When I hover the mouse over the edit icon on the top right of the post, I get "this post is a wiki; basic users can edit it". When I click it, I can edit the post, but when I click "Save Edit", I get "You are not permitted to view the requested resource."


#2

The forum software does not allow editing wiki posts before posting one message first.
I made the edit already, but you should be able to do that too now.
Thanks


#3

Thanks for the quick reply and clarification!


#4

Just on this. Why isn't the .deb running the udev-rules script as a post-install?

I've also found a bug in the installer. It breaks trying to create a menu entry of the XDG shared system desktop entry folder doesn't exist? I run i3wm on my lappie with a minimal X install so menu entries aren't supported.


#5

The .deb is generated by JavaFX deploy task (in build.xml), I don't think fx:deploy allows control over the post-install script.
I've also noticed that Java/swing does not work well with non-standard windows managers, but that is a different issue.
Suggestions on how to create a .deb with other tools than fx:deploy are welcome. The nice thing about fx:deploy is that it works for osx, win and linux.


#6

perhaps bare in mind the other reason i chose javafx was its also builds the native wrapper.
(of course this can also be done 'manually' but it provides a few things that are useful and not obvious)

the actually packaging on different platforms is not that hard and if we moved to something other than ant, e.g. scons/cmake is often provided as a target.

I dont particularly like javafx, but its a pretty simple solution, to a pretty boring problem :smile:

btw: post install tasks, could possibly be undertaken by the app ... unfortunately java is a bit rubbish at this kind of thing, so you'd be pretty limited to kicking off some other process which could elevate permissions to do the task.

I do wonder though if linux (generally, not axoloti specific) will ever be an end-user platform, the difference in distros, wm etc means its always got incompatibilities.


#7

Thanks guys. I understand packaging is the probably the least interesting part of this and it's good you have a tool that just does it automatically for both platforms. I'm a debian maintainer and may look at officially packaging the runtime and GUI for Debian (which flows downstream to the hundred odd Debian derivatives including Ubuntu). Got quite a lot on at the moment but could look at it in a few weeks.