Upgraded to Ubuntu 19.04 Installed Geany via cmd line "sudo apt install geany" When starting Geany I get the following popup (see attachment) in the terminal Windows I see the following: nbeerli@nbeerli-galaxy3:~$ geany symlink: Permission denied nbeerli@nbeerli-galaxy3:~$ ![Screenshot from 2019-06-21 12-19-52](https://user-images.githubusercontent.com/23412806/59916850-95869400-9420-11...)
How did you start geany?
Ummm, it wouldn't be the piece of crossed out text in the background would it?
yes, same thing happens if you start over the UI
Could you start Geany with `geany -v` from the terminal and see if there is anything useful in the output? By default, Geany's configuration directory is in `~/.config/geany`, does that directory exist and can your user write to `~/.config`? If it exist, could you post the output of `ls -la ~/.config/geany`?
Based on the output above, it might be the symlink creation which fails: on startup, Geany creates a Unix domain socket in `/tmp` and then create a symlink to that file in the config directory. Is there a file like `geany_socket.<something>` in your `/tmp` and if so, what are its permissions and ownership?
Geany creates a Unix domain socket in /tmp and then create a symlink to that file in the config directory.
Yes but that doesn't happen until after the config creation and the dialog shown has returned, so thats why I was asking if the background message is actually relevant.
nbeerli@galaxy3:~$ geany -v (geany:7334): GLib-GIO-DEBUG: 15:09:16.706: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’ nbeerli@galaxy3:~$
~/.config/geany yes there is a geany below .config but the folder has a lock on it. (in the UI)
nbeerli@galaxy3:~$ ls -la ~/.config/geany ls: cannot open directory '/home/nbeerli/.config/geany': Permission denied nbeerli@galaxy3:~$
no geany* in /tmp
nbeerli@galaxy3:~$ ls -la ~/.config/geany ls: cannot open directory '/home/nbeerli/.config/geany': Permission denied nbeerli@galaxy3:~$
This is your problem. What does `ls -la ~/.config` give?
Did you tried to start Geany as root (e.g. with `sudo`) before or anything else?
To solve your problem: make sure your user can write to his own configuration directory. How to do that depends on the output of the ls command above.
when I run sudo geany it works, no popup.
I use geany since a while. In 18.04 I installed it sudo apt install geany. No issues to run it as a user. In 19.04 I installed the same way, but it seems to create the folder ~/.config/geany as root and that is why is not working.
I just checked ls -all shows root:root on the geany folder. Maybe something in the install script not working.
one other thing. Installing geany from "Ubuntu Software Center" will not work at all. But from the cmdline it worked but with above flaw. Hope this helps to make the install better.
Closed #2203.
No, the "install script" doesn't touch anything in your $HOME directory.
The reason is probably because you ran Geany as root. Just don't do it.
To solve your problem: `chown -R nbeerli:nbeerli ~/.config/geany`.
No idea why the installation won't work with the Ubuntu Software Center. We cannot provide support for distribution specifc problems. This is unrelated to Geany.
The install script would not touch your config directory, as @eht16 asked, did you ever run Geany with sudo?
This project doesn't make the packages for the software centre, thats Ubuntus work.
github-comments@lists.geany.org