Re: xfce autostart command not running

2015-05-07 Thread Liam O'Toole
On 2015-05-07, bri...@aracnet.com bri...@aracnet.com wrote:
 I've got the following in my Application Autostart tab

   /usr/bin/setxkbmap -option ctrl:swapcaps

 but it never executes on start-up.

 I was hoping someone might be able to tell me how to go about
 debugging the problem (and yes it is checked).

Was a .desktop file created in ~/.config/autostart? If not, you can
create your own, with the above command on the 'Exec=' line. There are
lots of examples of .desktop files in /usr/share/applications. I think
the Application Autostart GUI will only applications which are
registered with the system in that way.

-- 

Liam



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmknfo0.1rd.liam.p.otoole@dipsy.tubbynet



Re: xfce autostart command not running

2015-05-07 Thread Bob Holtzman
On Wed, May 06, 2015 at 10:08:00PM -0700, bri...@aracnet.com wrote:
 I've got the following in my Application Autostart tab
 
   /usr/bin/setxkbmap -option ctrl:swapcaps
 
 but it never executes on start-up.
 
 I was hoping someone might be able to tell me how to go about debugging the 
 problem (and yes it is checked).

Have you checked the permissions for /usr/bin/setxkbmap?

-- 
Bob Holtzman
A fair fight is the result of poor planning.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150507204207.ga31...@cox.net



Re: xfce autostart command not running

2015-05-07 Thread briand
On Thu, 7 May 2015 19:37:36 + (UTC)
Liam O'Toole liam.p.oto...@gmail.com wrote:

 On 2015-05-07, bri...@aracnet.com bri...@aracnet.com wrote:
  I've got the following in my Application Autostart tab
 
/usr/bin/setxkbmap -option ctrl:swapcaps
 
  but it never executes on start-up.
 
  I was hoping someone might be able to tell me how to go about
  debugging the problem (and yes it is checked).
 
 Was a .desktop file created in ~/.config/autostart? If not, you can
 create your own, with the above command on the 'Exec=' line. There are
 lots of examples of .desktop files in /usr/share/applications. I think
 the Application Autostart GUI will only applications which are
 registered with the system in that way.
 

yes it did.

and it has started working. Honest and for true, I tried restarting xfce at 
least 3 times and it never worked.

then this evening i start it up and it worked just fine.

???

The setxkbmap command works for me on the command line, so i don't think 
permissions have anything to do with it, but here's the permissions anyway.

-rwxr-xr-x 1 root root 20336 Dec 25  2013 /usr/bin/setxkbmap

Very weird.  Maybe some sort of race condition at startup ? The one change I 
made was to enable the splash screen.  Maybe that has something to do with it ?

Thanks for the advice.

Brian

p.s. here's the swapctrl.desktop file.  some others may find it useful.

[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=swapctrl
Comment=Swap CapsLock and Control
Exec=/usr/bin/setxkbmap -option ctrl:swapcaps
OnlyShowIn=XFCE;
StartupNotify=false
Terminal=false
Hidden=false



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150507203058.1af16...@cedar.deldotd.com



Re: xfce autostart command not running

2015-05-07 Thread Ric Moore

On 05/07/2015 04:42 PM, Bob Holtzman wrote:

On Wed, May 06, 2015 at 10:08:00PM -0700, bri...@aracnet.com wrote:

I've got the following in my Application Autostart tab

   /usr/bin/setxkbmap -option ctrl:swapcaps

but it never executes on start-up.

I was hoping someone might be able to tell me how to go about debugging the 
problem (and yes it is checked).


Have you checked the permissions for /usr/bin/setxkbmap?


What should they be?? It never remembers my XFCE setting for Num Lock 
on. Weird. Ric

ric@iam:/etc/init.d$ ls -la /usr/bin/setxkbmap
-rwxr-xr-x 1 root root 20336 Dec 25  2013 /usr/bin/setxkbmap
ric@iam:/etc/init.d$



--
My father, Victor Moore (Vic) used to say:
There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome. R.I.P. Dad.
http://linuxcounter.net/user/44256.html


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/554bcfe7.8070...@gmail.com



xfce autostart command not running

2015-05-06 Thread briand
I've got the following in my Application Autostart tab

  /usr/bin/setxkbmap -option ctrl:swapcaps

but it never executes on start-up.

I was hoping someone might be able to tell me how to go about debugging the 
problem (and yes it is checked).


Thanks.

Brian


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150506220800.27a91...@cedar.deldotd.com