I have some trouble with the Ubuntu
notepadqq package. After opening a file from my apache webroot I cannot see any content. Saving the file is also not possible. I thougt this would be a classic permission issue. Therefore, I changed the group of the webroot from
www-data and added my user to this group. Permissions are 775, so in theory it should now be possible for me to edit files in my webroot. But nevertheless, when I open a file of this directory with notepadqq, it still only shows an empty file.
gksudo notepadqq I get the following error message:
No protocol specified QXcbConnection: Could not connect to display :0
I figured out that notepadqq is a so called snap application and I wonder if this is the reason for my problems.
Can someone give me a hint how I could fix this issue (without using 777 permissions)?