Feh not saving background after second restart

I use feh to manage my background and image viewing. I set my background with the following code.
sudo feh --bg-fill ~/path/to/image.png
And I add my sh script to ~/.config/openbox/autostart (full autostart posted)
(sleep 3 && /usr/bin/nm-applet --sm-disable) &
tint2 &
volumeicon &
hsetroot -fill /usr/share/wallpapers/sandbox-background-scenic-dark-images-ocean-158600.jpg &
#clipit &
conky &
sh ~/.fehbg &
numlockx &
# Enable as required
#compton -cCGb &
#xbacklight -set 100 &
#/usr/bin/synclient TouchpadOff=1 &
#xxkb &
#spacefm -d &
#setxkbmap gb &
But after every second restart, my background goes back to the default. First restart, it stays the same. Next restart, it shows the default.
If anyone could provide some help, I would greatly appreciate it.

I think you don't need to use sudo, it's user background.
You can add a line with feh in your autostart file and comment hsetroot.
(sleep 3 && /usr/bin/nm-applet --sm-disable) &
tint2 &
volumeicon &
#hsetroot -fill /usr/share/wallpapers/sandbox-background-scenic-dark-images-ocean-158600.jpg &
#clipit &
conky &
#sh ~/.fehbg &
feh --bg-fill ~/path/to/image.png
numlockx &
# Enable as required
#compton -cCGb &
#xbacklight -set 100 &
#/usr/bin/synclient TouchpadOff=1 &
#xxkb &
#spacefm -d &
#setxkbmap gb &
I don't know if it'll work but I'll try it.
Last edited by Alber (2014-01-08 15:00:50)

Similar Messages

  • HT1339 My ipod was not recognized by itunes and not does not power on after I restarted the ipod service in the Windows admin tools. I cannot restore the ipod since it is not recognized by my PC now. Any suggestions?

    My ipod was not recognized by itunes and not does not power on after I restarted the ipod service in the Windows admin tools. I cannot restore the ipod since it is not recognized by my PC now. Any suggestions?

    Time to replace it: $49 2nd Gen shuffle at online Apple Store...

  • Error: Startup task doesn't exist. This is not a continuation after a restart

    I want to try to install sharepoint 2013 on windows server 2008 r2 with sp1, but when I install the prerequistes, always restart again and again, I check the log file, found the below error:
    2014-02-27 22:55:12 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SharePointServerPreparationToolStartup_0FF1CE14-0000-0000-0000-000000000000.cmd
    2014-02-27 22:55:12 - Error: Startup task doesn't exist. This is not a continuation after a restart.
    2014-02-27 22:55:15 - Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.
    2014-02-27 22:55:15 - Last return code (0X3EC=1004)
    2014-02-28 03:27:05 - Error: A pending restart blocks the installation
    2014-02-28 04:45:03 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SharePointServerPreparationToolStartup_0FF1CE14-0000-0000-0000-000000000000.cmd
    2014-02-28 04:45:03 - Error: Startup task doesn't exist. This is not a continuation after a restart.
    2014-02-28 04:45:03 - Locating the following command line arguments file:
    2014-02-28 04:45:03 - C:\SP2013_Chery\2Installation\Sharepoint\PrerequisiteInstaller.Arguments.txt
    2014-02-28 04:45:03 - Error: This file does not exist
    Awen

    Hi Awen,
    According to your description, my understanding is that you got an error when you installed prerequisities for SharePoint 2013.
    Please run the following command, compare the result:
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regii -enable –i
    Here is a similar post for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/37cc20db-6cc7-45e0-928c-9a1ddbdab2ae/the-tool-was-unable-to-install-application-server-role-web-server-iis-role?forum=sharepointadmin
    In addition, there is a KB article about this issue, please take a look at:
    http://support.microsoft.com/kb/2765260/en-us
    I hope this helps.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Changes to my bookmarks are not saved when firefox is restarted. I already tried deleting places.sqlite, but it is still doing this.

    Since I downloaded Firefox 4, I have not been able to save changes to my bookmarks (this includes both adding new bookmarks or deleting old bookmarks). When I make a change, the changes are not saved the next time I restart Firefox. After doing a Google search I found a Mozilla help page that suggested deleting the place.sqlite file. After doing this, Firefox will save changes for a few days, but then go back to not saving the changes. I've done this twice already.

    Sounds that you have cleanup or other security software that cause corruption of the file places.sqlite
    You need to check the settings of your software and make sure that you exclude the Firefox Profile Folder to avoid such problems.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox

  • Enhancement in IDOC_INPUT_ORDERS not saving changes after order creation

    I have an enhancement at the beginning of the IDOC_INPUT_ORDERS function module used to create sales orders via EDI.  In the enhancement, I take the data records and make some changes to some quantities and units of measure.  After making these changes, I let the function module continue on as normal.  The order does get created with my changes in them, however, the IDoc doesn't reflect my changes.
    Here's an example:  An EDI order comes in with 6 EAs of a material.  In my enhancement, I change it from 6 EAs to 2 3PK.  I then let it go on its way.  The order gets created fine with 2 3PKs, however the IDoc after its a ll done still says 6 EAs. 
    The enhancement runs before the FM puts the data into the tables it uses. I tried using the last user exit to open the IDoc and editing it there using the EDI_DOCUMENT_OPEN_FOR_EDIT FM but it says its open. 
    Can anyone give me any clues on how to make my changes stick to the IDoc?
    Thanks,
    Curtis

    Ok, I figured out why it's not saving.  Not realizing it, but the tables are passed into the FM by reference, so what I'm changing is only a copy.  So what I tried to do is use the 004 (I've also tried the 005) user exits to try to update the actual DB.  I used the following FMs (EDI_DOCUMENT_OPEN_FOR_EDIT, EDI_CHANGE_DATA_SEGMENTS, and EDI_DOCUMENT_CLOSE_EDIT).  The problem is that I can't change them because the IDoc is still open.
    Does anyone have any ideas on how I can achieve my goal of changing the IDoc?
    Thanks,
    Curtis

  • FontBook does not keep settings after computer restart

    I have thousands of fonts on my HD folder, and a standards set of System and Library fonts. Any time I disactivate and acivate certain font families, my FontBook keeps these settings (for activation and disactivation) ONLY UNTILL next computer restart cycle.
    After restart, when I load my FontBook application to check my fonts settings (for to make the fonts I set previously working again), Fontbook starts activating all my thousands fonts in my custom library, taking munites of waiting for a spinning wheel. I also do not see (off) signs for fonts diactivated during previous session. I see lots of duplicate font warning because Font Book is auto-activate all.
    Consiquently, I have to reppeat all the process of activation/disactivation and to help my computer working with less fonts load and resolve duplicates.
    So, why Font Book does not keep setting for fonts activation/disactivation in a custom library after computer restart?

    "*Opened Firefox, which was recently updated to some 3.6 something version. *When opened, it offered to download new vers. 4,* which I initiated. "
    Impossible! FF v4 system requirements are Leopard & Snow Leopard. Your system info confirms that you are still running an outdated version Tiger - Mac Book Pro *Mac OS X (10.4.5)*
    If that information is incorrect, please correct & provide your current OS in the "My Settings" panel.----->
    "(what looked strange that the request was in English, German and some other 2 languages"
    What you experienced was a kernel panic. Disconnect all devices from your computer and try the suggestions mentioned in the following:
    http://docs.info.apple.com/article.html?artnum=106805 *Mac OS X: "Broken folder" icon, prohibitory sign, or +_kernel panic_+ when computer starts*
    User Tips: Kernel Panics

  • SF300-24 is not saving configuration after reboot

    Dear All,
    I have a couple of SF300-24 switches. When I made needed configurations using CLI or GUI and then saved all configurations. The problem is that switches do not save configurations after reboot. Please assist.
    Thank you in advance

    Hi Vsevolod,
    I guess you have performed the function to copy the running configuration to the startup configuration as per the screen capture below.
    The current released version of code does not have a supported CLI only a menu accessable via console, SSH or telnet.  New code coming out this month supports a CLI, so I am surprised by your comments regarding CLI.
    If you have a early beta release of software version 1.1  with CLI, I would suggest you call into the Small Business Support Center  to get the problem looked at.
    I am using the beta code on my ten port SG300   and 48 port SF300 , but had no difficulty saving configurations in old or beta versions of firmware.
    If you are still having trouble after reading this post, please contact the SBSC  at ;
    http://www.cisco.com/en/US/support/tsd_cisco_small_business_support_center_contacts.html
    regards Dave

  • HT6114 Help! OS X 10.9.2 not installing even after repeated restarts.

    Hello, I am trying to update from OS X 10.9 to 10.9.2 but every time I click on the update option it asks for restart even after the restart and after every restart it gets added in the completed downloads list . Please help !
    Thank you !!

    I found a fix, or rather, a work around for this 513 permissions error issue. It doesn't require you to reinstall the OS, or boot from the recovery partition. Note that booting from my installation drive and repairing permissions didn't work for me. Neither did running combo update, or anything else, such as repairing ACL permissions, etc.
    Simply Carbon Copy Clone your primary, non updateable drive to another drive. I used the last free version of Carbon Copy Cloner.
    Then, boot from that other drive. Notice that you can now download and update to 10.9.2. Do all the updates, repair permissions if you'd like, then Carbone Copy Clone the now updated 10.9.2 drive to the formerly non updateable drive. Boot from the new primary drive.
    Done Dizzle.
    B

  • Feh Not setting background image[SOLVED]

    I don't know what is going on but feh absolutely refuses to set the bg image on x starting up.  I can set it manually just fine but it will not reset it on xstart.  Here is my .xinitrc:
    \#!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    #exec xterm
    exec openbox-session
    eval 'cat ~/.fehbg' &
    And ~/.fehbg has the command that I use to set the background, which works just fine if I execute the command after I am in x so I have no idea why it isn't working.  Every resource I have looked at on the net says to simply add the "eval 'cat ~/.fehbg' &" line to .xinitrc after you set the background image with feh but I cannot for the life of me figure out what is going on.  Thanks in advance.
    Last edited by isolier (2008-01-11 08:55:41)

    I think you need to use  `s instead of 's around your cat ~/.feghbg
    Also, Archon is probably right, since you are exec'ing the openbox session and leaving it in the foreground, your command will never execute until openbox-session is done
    Last edited by underpenguin (2008-01-11 08:16:06)

  • Firefox (ver.7, ver11) do not keep settings after its restarting

    All my settings from menu options>options disappear after restarting FireFox. But primarily it was not so! The complete reinstallation (with uninstallation) do not remove the problem.

    see [https://support.mozilla.org/en-US/kb/how-to-fix-preferences-wont-save How to fix preferences that won't save]
    http://kb.mozillazine.org/Preferences_not_saved
    but keep in mind, version 7 of firefox is too old and unsupported, try the latest version
    http://www.mozilla.org/en-US/firefox/13.0.1/system-requirements/
    http://www.mozilla.org/en-US/firefox/all.html
    thank you

  • Trackpad will not select user after Mac restart

    Trackpad works fine normally but after restart of Mac, will not click on user (cursor moves over it) so I have to use a mouse to click & enter password.  All software is up to date.  Any ideas.

    The following was suggested on another thread but I've tried it & it doesn't solve the issue:
    System Preferences > Trackpad > Point & Click
    Tap to click
    Secondary click
    Uncheck the boxes to it  if they are checked and recheck them back.
    Any other ideas?

  • Lion not saving system preferences on restart

    I'm using Lion on a new Macbook Air where it came pre-installed.  I just updated to 10.7.2 and Lion is no longer saving my mouse and keyboard settings.
    I have "Scroll direction: natural" unchecked but when I restart my Mac natural scrolling is enabled.  When I open up Trackpad settings the setting is unchecked by I have to re-check and then uncheck this setting to turn off natural scrolling.
    I have custom modifier key settings (General Settings -> Keyboard -> Modifier Keys) where I swap Command and Control.  My modifier key settings are now getting reset to the default every time I restart my computer.
    Any ideas on how to fix this?  I've tried calling Apple Support but they are no help.

    Make sure the systemprefs plist file is not locked. If it is, unlock it. If it isn't, delete it then restart.
    To find the file
    1. Make Finder active. Choose 'Go' from the menu bar, hold down the option key.
    2. Choose Library (you must have the 'option' key held down).
    3. Go to Preferences > com.apple.systemprefereces.plist
    4. Right-click (or hit 'cmd-i' on the keyboard) and choose 'Get Info'. If the 'Locked' option is ticked, untick it. Then Restart. If the 'Locked' option is not ticked, close the dialogue, remove the file to trash. Restart.
    5. What happens now is that system will restart at default system prefs. However, it should now save your new settings. To test it, just set one of the setting that you know didn't 'stick before', then restart and see if all is good. 

  • Not saving data after we raise an exception

    Hi,
    I extended continue button function in OTL - Timecard. If we throw any error in continue button, then after do the required modifications to the data and click on Save button , for the first time the save is not working. Then again click on save, the data is getting to the database.
    Any suggestions would be greatly appreciated.
    Thanks in advance
    Kalyani

    Hi,
    Please find the code in save
    if(sA != null && sA != "" && sA.equals("TimecardSaveForLater"))
    oapagecontext.writeDiagnostics(this,"am in save >>>>>>",6);
    oadbtransaction.putValue("CheckSave", "Y");
    long l = GlobalUtilities.getLongOrNullFromObject(oapagecontext.getParameter("TimecardId"));
    oapagecontext.writeDiagnostics(this,"am in save >>> timecard id.."+l,6);
    if(-1L == l)
    l = GlobalUtilities.getLongOrNullFromObject(oapagecontext.getParameter("Timecard_id"));
    oapagecontext.writeDiagnostics(this,"am in save >>>> timecard id.."+l,6);
    ValidationforZeroRowsVOImpl zeroVO = (ValidationforZeroRowsVOImpl)oaapplicationmodule.findViewObject("ValidationforZeroRowsVO");
    oapagecontext.writeDiagnostics(this,"second vo on click continue button.."+zeroVO,6);
    if(zeroVO == null)
    zeroVO = (ValidationforZeroRowsVOImpl)oaapplicationmodule.createViewObject("ValidationforZeroRowsVO", "sonata.oracle.apps.hxc.selfservice.timecard.server.ValidationforZeroRowsVO");
    zeroVO.setWhereClause(null);
    zeroVO.setWhereClauseParam(0,l);
    zeroVO.executeQuery();
    oapagecontext.writeDiagnostics(this,"second vo row count on click continue button.."+zeroVO.getRowCount(),6);
    }else
    zeroVO.setWhereClause(null);
    zeroVO.setWhereClauseParam(0,l);
    zeroVO.executeQuery();
    oapagecontext.writeDiagnostics(this,"second vo row count on click continue button with else.."+zeroVO.getRowCount(),6);
    oapagecontext.writeDiagnostics(this,"second vo row count on click continue button with else.."+zeroVO.getQuery(),6);
    ValidationforZeroRowsVORowImpl Zerorow = null;
    int fetchedRowCount = zeroVO.getFetchedRowCount();
    oapagecontext.writeDiagnostics(this,"fetchedRowCount>>>>fetchedRowCount.."+fetchedRowCount,6);
    RowSetIterator zeroIter = zeroVO.createRowSetIterator("zeroIter");
    String chkVal = "Delete";
    if(fetchedRowCount > 0)
    zeroIter.setRangeStart(0);
    zeroIter.setRangeSize(fetchedRowCount);
    for (int i = 0; i < fetchedRowCount; i++)
    oapagecontext.writeDiagnostics(this,"am in for loop ..",6);
    Zerorow = (ValidationforZeroRowsVORowImpl)zeroIter.getRowAtRangeIndex(i);
    if(Zerorow.getMeasure() != null)
    oracle.jbo.domain.Number primaryKey = Zerorow.getMeasure();
    oapagecontext.writeDiagnostics(this,"primaryKey>>>>primaryKey.."+primaryKey,6);
    oracle.jbo.domain.Number timeBuildingID = Zerorow.getTimeBuildingBlockId();
    oapagecontext.writeDiagnostics(this,"timeBuildingID>>>>timeBuildingID.."+timeBuildingID,6);
    int zero = 0;
    Number y = 0;
    String timcardID = Zerorow.getTimeBuildingBlockId().toString();
    oapagecontext.writeDiagnostics(this,"am in for loop with time card build id.."+timeBuildingID,6);
    if(primaryKey.compareTo(zero) == 0)
    oapagecontext.writeDiagnostics(this,"am in primarykey validation true..",6);
    OADBTransaction dbtrans = oaapplicationmodule.getOADBTransaction();
    String procedureStr = "BEGIN son_delete_zero_time(:1); END;";
    OracleCallableStatement callablestatement = (OracleCallableStatement)dbtrans.createCallableStatement(procedureStr, 1);
    try{
    oapagecontext.writeDiagnostics(this,"AM in delte before close..",6);
    callablestatement.setInt(1, Integer.parseInt(timcardID));
    callablestatement.execute();
    callablestatement.close();
    oapagecontext.writeDiagnostics(this,"AM in delte after close..",6);
    chkVal = "AfterDel";
    }catch(SQLException _sqle) {  try
    callablestatement.close();
    catch(Exception e) { }
    throw OAException.wrapperException(_sqle);}
    }oapagecontext.writeDiagnostics(this,"am in primarykey validation false..",6);
    }oapagecontext.writeDiagnostics(this," am in close iterator",6);
    //break; // only one possible selected row in this case
    }zeroIter.closeRowSetIterator();
    }

  • AQ Subscriber not reciving notification after database restart

    Hi All,
    I am currently working on moving some code from two synchronous processes to be asynchronous (not part of critical code path), to do this I have been using one Advanced Queue with two PLSQL registered subscribers.
    when we first moved the code into test it was working fine and the data would be processed from the queue quite quickly.
    however we then had to restart the database for another reason and after that I noticed that queue was slowly building up with nothing moving from the "READY" state.
    having a look at aq$<queue_table>s the two subscribers are still shown and it appears like the user id still has the correct grants and priviledges. I have also checked to make sure that the aqtm_processes is still > 0 and that the QMNC and EMN0 backgroud processes are in v$bgprocess.
    Can anybody else suggest what i might have missed? I do not want to have to drop and recreate the queue and subscribers whenever the database needs to come down.
    Also I know if the subscriber was down and then bought back up it would not process the backlog but is there anyway of getting it to do this?
    almost forgot to mention we are running:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit
    Cheers,
    Chris

    Hi,
    I had not set the paramater the DBA had set it and i think their reasoning was:
    [http://download.oracle.com/docs/cd/B19306_01/server.102/b14257/componet.htm#sthref339]
    "Oracle strongly recommends that you do NOT set AQ_TM_PROCESSES = 0"
    although reading a few lines up from there:
    "Oracle recommends, however, that you leave the AQ_TM_PROCESSES parameter unspecified and let the system autotune"
    As there is another planned outage this weekend i will try resetting the paramater to see if the queues are still dequeueing correctly:
    alter system reset AQ_TM_PROCESSES scope=spfile sid='*'
    If they are not dequeueing I will try stopping and starting them however I would prefer not to have to do this as then whenever a new queue is introduced with subscribers we would need to add to the scripts run after db startup.
    I did find out that removing the subscriber and then recreating it will cause the subscribers to work again but i would prefer to not have to do this after every db restart.
    Thanks for pointing me to the AQ_TM_PROCESSES and i will see if that helps :)

  • Application does not start automatically after J2EE restart

    Hi,
    Is there a way to automatically start the deployed applications after a J2EE restart. We have a .ear file which we have to redeploy everytime we restart the J2EE engine. We are on 6.40 SP15.
    Regards,
    Parvez

    Hi Parvez and Ivaylo,
    Has any of you used the startup mode setting? I tried using it and set it to always but the application still won't start. Is there anything I'm missing?
    My application-j2ee-engine.xml looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
    <application-j2ee-engine>
         <provider-name>nexeninc.com</provider-name>
         <fail-over-enable
              mode="disable"/>
         <start-up
              mode="always"/>
    </application-j2ee-engine>

Maybe you are looking for

  • OS X Encrypted Disk Image Tool Buggy?

    Hi, I'm trying to create an encrypted file directory on an external HDD (My Book). I decided to try the OS X software to create one. I have tried both the following options, each of which has been buggy when transferring files into the created images

  • Itunes will not come on my Mac

    Itunes will not come on my iMac. On Jan.30th it stopped coming up on computer. Please help

  • [solved] Google online account with two-step verification

    After upgrade, I can no longer log in to my gtalk account on empathy. The Online Account dialogue box gives the error "Expired credentials. Please log in again". But repeated log in comes back to the same message. Anyone experiencing similar problem?

  • EM12c Upgrade failing at OMS  Configuration

    I'm in the process of upgrading and migrating from EM 10.2.0.5 on AIX 6.1 to EM12c on RHEL 6.2 via the 2-System Upgrade method. I've been following the steps in the MOS Note "EM 12c: Upgrading to Enterprise Manager Cloud Control 12.1.0.1 on Linux x86

  • Print out to the console

    I'm writing a program to update something to the console. Let's say I have some fields like this: client1 Name1 ID1 value1 client2 Name2 ID2 value2 the number of client could be changed, but not much. I would like to update the value field on the con