[SOLVED]Problem adding startup commands

I can't seem to have a couple commands starting automatically. I've searched around alot and couldn't find anything helpful eith my issue.
I've been using "gnome-session-properties" and .xinitrc to add these two commands (xbindkeys, and a xinput mapping for my 'weird' acer touchpad/mediakeys) but they do not seem to start with the session. If i put them in in the console everything works fine so it's not an error in them.
Any help would be greatly appreciated.
Thanks in advance
PS I read somewhere that shortcuts (as in *.desktop) can be created to get programs starting at boot but since the xinput command is quite long i don't really know if this is the case.
Edit: I'm using GNOME3 with GDM as DE.
Last edited by northerw (2011-07-01 10:37:55)

northerw wrote:Here are the commands i wish to have autostarting:
xinput set-button-map "`xinput list | grep Synaptics | head -1 | grep -o id=.. | tr -d id=`" 1 2 3 17 18 19 20 8 9 10 11 12 13 14 15 16
xbindkeys
GDM is running commands it seems, but they are somehow wrong i guess. Is it a typo in the first line? Try running them in the background:
xinput set-button-map "`xinput list | grep Synaptics | head -1 | grep -o id=.. | tr -d id=`" 1 2 3 17 18 19 20 8 9 10 11 12 13 14 15 16 &
xbindkeys &
Last edited by roygbiv (2011-06-30 20:34:45)

Similar Messages

  • [solved] Problem adding menu icon to pypanel

    Hello, I'm moving into a new place and I'm putting my desktop in the living room as a community media center since neither me or my roommates own a TV, and I'm the only one with a working desktop. They're used to Windows and a start menu. I'm running Openbox + pypanel and thought I'd make their transition a little easier by adding a start menu icon to pypanel. I followed the instructions here: https://bbs.archlinux.org/viewtopic.php?id=68177 but it isn't working. Everytime I click on the arch icon I just get this in my terminal:
    Error: Invalid key sequence 'C-m'
    Failure converting key sequence 'C-m' to keycodes
    Error: Invalid key sequence 'C-m'
    Failure converting key sequence 'C-m' to keycodes
    xdo_keysequence reported an error for string 'C-m'
    here is the important part of my pypanelrc config:
    ("xdotool key C-m", "/home/neruson/.icons/archlinux/icons/archllinuxiconcrystal128.png"),
    In obkey my key is Ctrl+M and the key text is C-m, anyone know what I'm doing wrong?
    EDIT:
    I should also add I've tried this with the key as SUPER+Space too with the same error.
    EDIT 2:
    Nevermind, solved. I'm just stupid and can't follow directions well... ctrl+m instead of C-m... duh
    Last edited by Mr_ED-horsey (2011-07-15 22:16:47)

    Thanks for the heads up on the scripts.
    ~/.bash_profile has me annoyed though. It's as if it is not being executed. Will have to try adding something with a visible effect to confirm.
    My ~/.bash_profile is owned by me and is executable but it simply will not add the path to the variable.
    Could it be something to do with the way my session is handled?
    I am currently launching my session through GDM via inittab. I know when a session is launched this way, for example, ~/.xinitrc is ignored. Perhaps this is the same for ~/.bash_profile?
    Regarding ~/.bashrc, it does work this way, but it only adds the path when a terminal is launched. I need the path added regardless of a terminal being opened or not.
    Cheers.

  • Solving problem on startup

    I've found a solution withe the startup problem in iMovie 11. Look in here:
    http://appletoolbox.com/2010/10/imovie-11-stuck-on-updating-aperture-videos-even t-fix/

    sorry I use Windows SBS Server 2003

  • Adding SAP CCMS startup command to SAP Start Profile

    Hi All,
    We need to add SAP CCMS startup command in our SAP start profile.
    We use command sapccm4x -DCCMS pf=<> to start SAP CCMS agent .
    I expect we need to add this command (sapccm4x -DCCMS pf=<> ) with same protocol to execute it with SAP start profile.
    Please let me know how can we add this with SAP start profile.
    Shivam Mittal

    Hi Eric,
    I have added command and CCMS agent is also getting start with SAP startup.
    But when I execute command startsap ....like it shows message "database started";;"Instance Started", I am not getting any SAPCCMS agent startup message.
    Please suggest how can I get in startsap script SAPCCMS startup confirmation messge also. Does it require change in startsap script or we should some command protocol in startup profie for it.
    Please suggest.
    Shivam Mittal

  • I've swapped to i5c so my hubby has my i4s with pay as u go but now it won't load or sent e-mails! I've tried tech support suggested by Talkmobile for 'fix' but it hasn't solved problem,any ideas?..

    I've swapped to i5c (great phone) so my hubby has my i4s with pay as u go but now it won't load or sent e-mails! I've tried tech support suggested by Talkmobile for 'fix' but it hasn't solved problem,any ideas?..

    Try this from MacFixIt as well:
    In the case of drive directory damage or problems with permissions, the solution is usually to use Apple's Disk Utility to repair the disk. Of course, you won't be able to perform this operation normally (simply launching the Disk Utility application, located in Applications/Utilities, and initiating a disk repair) if your system will not startup. So two options exist:
    * Insert your Mac OS X 10.4.x (Tiger) media (DVD or CD) and restart the computer while holding down the "C" key. Once the computer has booted from the installation disc, select "Utilities" from the menubar and open Disk Utility. Repair the disk, then quit Disk Utility and restart your system.
    * Alternatively, you can repair the disk while booted in single user mode if you do not have access to a retail Mac OS X 10.4.x (Tiger) DVD/CD. To startup in single user mode, hold down the "Command" and "S" keys simultaneously at startup. Once properly booted, type the command fsck at the prompt. Repeat these process until no errors appear.

  • Cannot place order ERROR: "There was a problem adding your product to cart"

    Hey guys,
    Well, once again Best Buy's online system is preventing me from making an order. It seems like nearly every time I log in I experience some new problem. This time, I'm unable to add anything to my cart. It doesn't matter what item I try to add to my cart or what browser I use or if I clear cookies...it happens every time, on every browser, with every product in the store. The error shows a red & white triangle with a message "There was a problem adding your product to cart".
    Just to clarify ahead of time: 1) I have already tried signing in using 4 different browsers (explorer, firefox, chrome, opera) & they all give the same error; 2) Prior to posting here I researched this problem & found out it is somewhat common & has been occurring since at least 2012 on BestBuy.com; 3) Every time someone posts in here about this problem, customer service offers the same "fix" every time - to sign out, clear their browser cache of cookies, shut down the browser, restart the browser, sign back in, etc.... The only problem is, this "solution" has not worked ONE time our of the many times this problem has cropped up in here over the past 3+ years. Why this "solution" keeps getting told to people even though it never works is beyond me. But, there you have it.
    Just to clarify: I have already tried this solution, And just like with everyone else before me, it didn't work for me either. So, what's the next step? There must be something else that can be done other than waiting a couple more days for it to magically fix itself (it seems that is the only thing that ever "works"...is to let several days go by and the problem ends up getting fixed in some back-end server-side patch up). 
    What I'm hoping for from you is a solution that can fix this immediately. This problem has already prevented me from making a couple purchases for items that were temporarily on sale over the past couple days. So, those are lost sales for Best Buy. What I'm hoping to do now is pre-order the Elder Scrolls Online (PS4) in order to take advantage of the $10 pre-order reward. The game releases on Tuesday the 9th. So, in order to get this done in time I need to place the order sometime today (on the 8th).
    With all these repeated technical problems making purchasing a chore & wasting my time every single time I want to buy a product it's almost as if Best Buy is telling customers "We don't care if our online system works reliably...go spend your money at Amazon instead". lol
    Thank you in advance for your timely help on this matter.
    -Marc (removed per forum guidelines)

    Hello mjswooosh,
    I'm very disheartened to hear that you've had ongoing problems when attempting to order from BestBuy.com. Our goal is ever to provide a fun and efficient shopping environment! Certainly creating aggravation serves neither you nor us and I apologize sincerely for this having been your experience.
    We recommend the troubleshooting steps you mentioned (i.e., clearing the browser cache, deleting temporary internet files and cookies) because this is the most common cause of this type of problem. I too have encountered this issue from time to time and these steps have almost always resolved the problem. I say almost always because there's one further step you can try: ensure that you have signed out of BestBuy.com, then perform the browser maintenance steps we've recommended. Afterward, before signing in to BestBuy.com, add your desired items to your cart and sign in as part of the checkout process. When the standard steps have not netted a resolution for me, this has solved the problem each time.
    I hope this helps. I'm very grateful that you took the time to write to us with your concerns and for sharing your very valuable feedback about your online experience.
    Sincerely,
    John|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Problem adding HP J6400 all-in-one printer

    We have an HP Officejet J6400 all-in-one printer here at work, and all of our computers have had no problem adding this printer except one: an older iMac, PowerMac 6.1 (with the white domed base). The driver is installed, and the computer sees the driver, but when I click to add it eventually it gives me this error:
    "An error occurred while trying to add the selected printer. client-error-not-authorized"
    I was on the phone with HP for an hour and they couldn't figure it out on their end. Has anyone had a similar problem, or have a solution?

    Hi,
    I request you to try the following:
    For network connection:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03086294&tmp_task=useCategory&cc=us&dlc=en&lc=e...
     For USB:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03521864&tmp_task=useCategory&cc=us&dlc=en&lc=e...
    Although I am an HP employee, I am speaking for myself and not for HP.
    Say thanks by clicking the "
    Kudos! Thumps Up" which is on the right
    Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue
    Regards,
    Ray

  • Startup command not picking correct pfile

    Hi Guys,
    I am facing a problem. Whenever I try to start oracle on my Linux machine I get the foillowing error:
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/home/oracle/oracle/product/10.2.0/db_1/dbs/initARIES.ora'
    Actually the pfile mentioned is not the correct one. I do not know where it is taking the path from. I had to start using the following command:
    startup pfile=/home/oracle/oracle/product/10.2.0/db_1/admin/aries/pfile/init.ora.110200612140
    Please provide me some way that I need not to mention the full path of pfile everytime.
    Thanks

    You can also create the initARIES.ora file in the dbs directory (the database is searching there by default) and use the IFILE parameter to point to the file you actually want to use.
    It seems the file you currently using is the one created during installation. Doesn't you have an SPFILE??? Using an SPFILE has some advantages (faster startup, change parameter using alter statement). You can create one via create SPFILE xxx from PFILE. If you place it in the dbs directory oracle should find it automatically. Again no need to pfile in the startup command.

  • How to solve  problem :- rep-188-Report Server acccepts only Batch jobs

    How to solve problem :- rep-188-Report Server acccepts only Batch jobs
    Report server :- 10gR1

    Hello,
    Could you give us some details about the command line ?
    What is the value of DESTYPE ?
    Regards

  • Problems with 'df' command

    Hello folks,
    I'm having some problems with df command:
    Output:
    [nenemfromhell@myhost ~]$ df -h
    Filesystem Size Used Avail Use% Mounted on
    udev 999M 4.0K 999M 1% /dev
    none 999M 4.0K 999M 1% /dev
    /dev/sda8 133G 125G 2.0G 99% /media/DU
    shm 999M 0 999M 0% /dev/shm
    First: It doesn't show my root partition, but i can check it in gparted.
    Second: /dev/sda8 is a NTFS partition that its size is 12GB
    Thanks.
    Last edited by nenemfromhell (2012-01-20 03:37:30)

    Please include some detail as to how you solved the problem: https://wiki.archlinux.org/index.php/Fo … way_Street

  • The icon for firefox is not working. "There was a problem sending the command to the program" pops up. Cannot get in to firefox

    Since the upgrade, the icon does not work. Now this message comes up. I made Google my home page by following directions on this site. I deleted the old icon as it didnt work, and this new one came up on my desktop and it presented the message above.

    Hi,
    Before you open any of the applications, please go to Task Manager to see if their processes are stuck there. If so, shut them down and try again.
    You can also try starting the applications in Safe Mode to determine if the problem is 3rd-party add-ins related.
    Please refer to this article below to learn more:
    http://office.microsoft.com/en-001/support/why-cant-i-start-my-office-2013-application-HA104011864.aspx
    As for the Excel problem 'There was a problem sending the command to the program', please note when double-clicking an Excel workbook, a
    dynamic data exchange (DDE) message is sent to Excel, instructing it to open the workbook that you double-clicked. If you
    turn on the "Ignore other applications that use Dynamic Data Exchange (DDE)“ setting,
     the DDE message sent to Excel by Windows Explorer is ignored, and Excel does not open the workbook that you double-clicked.
    To automatically solve this issue , we recommend to run “Microsoft Fix it 20074” and follow the steps in the wizard:
    http://support.microsoft.com/kb/211494/en-us
    You can also try to fix it manually by the steps under 'Let me fix it myself'.
    If the steps above don't help, we can try to repair Office from Control Panel -> Programs and Features to check the result.
    Regards,
    Melon Chen
    TechNet Community Support

  • Recovery harddrive is reporting a problem on startup. where do I start on trouble shooting the drive

    Recovery harddrive is reporting a problem on startup. where do I start on trouble shooting the drive

    Hi,
    Shut down the notebook.  Tap away at f10 as you start the notebook to enter the bios menu.  Under the Advanced or Diagnostic tab you should find the facility to run a tests on the whole Hard Drive.  Post back with the details of any error messages.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Receiving message"There was a problem sending the command to the program" every time I access a website using a desktop icon via Firefox.

    When I click on a desktop icon and access a site via Firefox I get the message "There was a problem sending the command to the program". This started to happen after I downloaded the most recent version of Firefox. I uninstalled Firefox and reinstalled it and the message still comes up every time. The site will come up about three seconds after the message appears but the message is a real pain to put up with. What is the problem? I am ready to dump Firefox and go to Opera.

    Hi bob1935-
    I did some research and found a couple of previously answered questions that have multiple options for solving your problem. Please look at these:
    - https://support.mozilla.com/en-US/questions/760489
    - https://support.mozilla.com/en-US/questions/809976
    I hope one of those fixes your issue!

  • There was a problem sending the command to the program

    I get a message "There was a problem sending the command to the program". All of my Excel workbooks!

    Hi
    When you double-click an Excel workbook in Windows Explorer, a dynamic data exchange (DDE) message is sent to Excel, instructing it to open the workbook that you double-clicked.
    If the Ignore other applications that use Dynamic Data Exchange (DDE) setting is selected, Excel ignores DDE messages sent to it by other programs. As a result, the DDE message sent to Excel by Windows Explorer is ignored,
    and Excel does not open the workbook that you double-clicked.
    To solve the problem, we recommend you go Office Button /
    Excel Options / Advanced, and scroll all the way down to the
    General section.  There you will see the “Ignore other applications that use Dynamic Data Exchange (DDE)” setting checked.  Uncheck the box, click OK to apply, and you’re good to go
    For more information to solve the issue, please refer to the link below:
    http://support.microsoft.com/kb/211494
    Regards
    Tylor Wang
    TechNet Community Support

  • SOLVED: php shell_exec() run command as root?

    is there a way for me to execute a command as root from the php shell_exec() command?  I am trying to create a simple web interface for my phone to preform simple server operations such as restart deamons. 
    in my php file im calling
    $output = shell_exec('/path/to/my/script.py');
    my script will do a /etc/rc.d/insert_daemon restart so it needs to be ran as root
    I have tried to add
    nobody=ALL :/path/to/my/script.py   
    to my sudoers file.  i have also tried using
    chmod 4755 script.py
    chown root   script.py
    on the script.  nothing seems to work for me. 
    I realize this is probably a security risk.  anyone have any suggestions?
    Last edited by murfMan (2010-04-11 17:09:48)

    solved it:
    added
    http ALL=NOPASSWD :/path/to/script.py
    to sudoers
    Last edited by murfMan (2010-04-11 17:13:43)

Maybe you are looking for

  • Background Image Not Visible in Browser

    I have searched the forum but I'm not finding a solution that works. I'm trying to put a background .png image in a header. It shows up in Dreamweaver but not in preview mode. I have an external style sheet that contains this: .twoColFixRtHdr #header

  • Seeburger BIC Mapping deployment issue in PI 7.1

    Hi experts We have upgraded from XI 3.0 to PI 7.1 and seeburger is also upgraded to  a compatible version.(2.x). Mappings_user.sda was used in 3.0 environment. But we are not able to deploy the same in 7.1. I think sda format is not supported in 7.1.

  • Error in configuring SLD - Solman 7.1

    Hello All, Dear Team, We face issue during the SLD configuration of solution manager 7.1.We are in the process of configuring local SLD.After we select SETUP LOCAL SLD,we are prompted for the login credentials.And after loggin with j2ee_admin user, i

  • Possible to catch parameters exceptions in the program ?

    Hi, Oracle 10g r2. I have some procedures/functions like : function insert_op (op_name in varchar2, op_date in date, op_length in number) is begin end;If I call for example : insert_op('test','02/05/2010','hehe')I will get an error (invalid number).

  • How can i download an Eps file on my ipad?

    Can anybody help me download an eps file on my ipad?