Tag Archives: Fixing Raspberry Pi Menu Permissions

The Saturday Catch

While working on my Raspberry Pi image (with everything I need stored in an image so it it all goes to hell I can recover everything) I realised something I was missing on the Pi was a package manager. A graphical APT-GET for those who are not too keen on command lines. Well I came across this link. http://www.neil-black.co.uk/install-a-graphical-package-manager-on-the-raspberry-pi#.VTLxwCHCoyA

Suffice it to say this is a not-too-exciting but graphical package manager – but the real catch for me as an unwilling-Linux-newbie was this…   I use Geany editor and half of the time I need root privileges because the default settings won’t let me save some files I’ve edited. I usually end up using SUDO GEANY at the terminal just to bring it up in the right mode.

Well, not any more. Half way down the link above are instructions for changing menu items such as Geany and in fact this package manager – to run as root (i.e. the highest level of privilege).

The only difference I made was this.. So for Geany

Find /usr/share/applications/geany.desktop (I’m guessing this applies to anything else)

and near the end you may find in the text of that file Exec=geany or similar. Well, just prefix it with sudo and save… Job done.

Simples…

So now I have a graphical package manager, a remote graphical admin tool (webmin) – SCP for accessing files from the PC and UltraVNC to run the graphical environment remotely (sadly, when working with TightVNC it has problems with copy and paste to and from the PC – if anyone knows how to fix that do let me know)

Facebooktwittergoogle_pluspinterestlinkedin