paulie
Posts: 275
Joined: Thu Jan 19, 2012 6:51 pm

.xinitrc vs autostart/[i]progname[/i].desktop

Tue Feb 17, 2015 9:58 pm

Good evening all,

I used to start the desktop, and had some commands in ~/.initrc which removed, then set up a symlink to create a device, then launched a program to use it. This worked as planned for ages.

I recently installed raspberrypi-ui-mods and now the above method doesn't work (just the desktop starts).

I created a ~/.config/autostart/progname.desktop file which launches the program, but the /dev symlink hasn't been created so the device errors and can't start automatically.

The program needs root permission to open the device, currently set as

-rwsr-xr-x root staff

chmod 4755 doesn't shift the s character to x

Have I missed anything obvious?
It has been my custom to use Xeyes

Return to “Troubleshooting”