Cabrio issue

35 views
Skip to first unread message

Matt Rudzik

unread,
Jan 17, 2015, 6:00:21 PM1/17/15
to cabrio...@googlegroups.com
I have Cabrio all set up and working on Ubuntu 14.10. My only issue is this, I'd like it to load automatically on log in after Unity loads. I've added /usr/bin/cabrio to rc.local, I've tried adding it to startup applications, and I created a . desktop file in my . autostart folder none of it works. Injury always boots to an empty desktop where I have to start cabrio manually. It works fine after its started but I'd like to just turn the machine on and have it boot into cabrio. Any suggestions?

Joseph K

unread,
Jan 18, 2015, 6:09:02 AM1/18/15
to cabrio...@googlegroups.com, Matt Rudzik
I would remove from the rc folders. Those are startup, but they run with root permission and are intended for system stuff.

I would create a small bash script and put that in a user startup folder. I think the holdup is either that the .desktop file doesn't have the "run in terminal" switch set, or that the auto start doesn't understand the file type.

I was able to get a command-line super key modifier to work in mint 14.04 with a bash auto-start.

Let us know if that doesn't work,
Joseph


On January 17, 2015 5:00:21 PM CST, Matt Rudzik <mru...@gmail.com> wrote:
I have Cabrio all set up and working on Ubuntu 14.10. My only issue is this, I'd like it to load automatically on log in after Unity loads. I've added /usr/bin/cabrio to rc.local, I've tried adding it to startup applications, and I created a . desktop file in my . autostart folder none of it works. Injury always boots to an empty desktop where I have to start cabrio  manually. It works fine after its started but I'd like to just turn the machine on and have it boot into cabrio. Any suggestions?

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Pieter Hulshoff

unread,
Jan 18, 2015, 3:24:56 PM1/18/15
to cabrio...@googlegroups.com
I simply set up a new xsession (.desktop file) in /usr/share/xsessions. As an example, here's my setup for XBMC (XBMC.desktop):
[Desktop Entry]
Name=XBMC
Comment=This session will start XBMC Media Center
Exec=xbmc-standalone
TryExec=xbmc-standalone
Type=Application

Matt Rudzik

unread,
Jan 19, 2015, 12:11:54 AM1/19/15
to cabrio...@googlegroups.com
Ok well it is somewhat closer now. I created a bash script as suggested. I have a cabrio.desktop file in autostart that calls the script which launches cabrio. Here is my current rub. Hauntings set to auto login as my user. When it does the script does not run. If I log out the log in manually the script runs and cabrio launches. Any suggestions as to what would cause that?

Matt Rudzik

unread,
Jan 19, 2015, 12:36:50 AM1/19/15
to cabrio...@googlegroups.com
I realize this has strayed into unintuitive issues so I'm going to post this over there. But I posted it here in case someone knows. Thanks, and to the developers Cabrio is great I really like it.

Matt Rudzik

unread,
Jan 19, 2015, 12:37:54 AM1/19/15
to cabrio...@googlegroups.com
Not unintuitive Ubuntu silly autocorrect

Joseph K

unread,
Jan 19, 2015, 9:26:49 AM1/19/15
to cabrio...@googlegroups.com
I must admit that I'm not able to test these things myself, and I seem
to remember having a little difficulty doing the same thing you are. It
was roughly a year ago when I was fighting this little battle, so I'm
trying to remember if I solved it, and if so, how I did.

A quick search shows this:
http://askubuntu.com/questions/30931/how-do-i-make-a-program-auto-start-every-time-i-log-in

which has another little trick we haven't mentioned so far in this
thread, using gconf-editor to remember application state (which ones are
running) between sessions. You may try enabling that and see if it will
kick in on the autologin. There should be similar settings for KDE (a
switch to remember last session), and the other desktops. Last I
checked, Unity still depended on Gnome, so you may be able to do the
gconf trick.

Hope that helps,
Joseph

Matt Rudzik

unread,
Jan 19, 2015, 3:03:34 PM1/19/15
to cabrio...@googlegroups.com
I got it working as desired. The Ubunto forums pointed out I was missing X-GNOME-Autostart=true and X-GNOME-Autostart-delay=3 from my desktop file. I added those two lines and now I can turn on the arcade and it auto logs on and boots straight to cabrio. Again great job on cabrio. I love it and thanks fort he help nailing down this final detail.
Reply all
Reply to author
Forward
0 new messages