[SOLVED] nitrogen fails to set the background with openbox

Hi guys !
I have a strange issue . Yesterady everything was working fine . nitrogen would set my wallpaper at each boot . This morning for some reason nitrogen sets the background for about one second
and then it goes back to the default openbox background (the gray one) . I don't remember changing anything yesterday , i just added the multilib repository so i don't think this is an issue .
Here is my .xinitrc
nitrogen --restore &
xfce4-panel &
exec ck-launch-session openbox-session
What i'm doing wrong ?
Last edited by shak (2010-08-28 12:59:45)

I've finally found the solution . Apparently i forgot to edit my autostart.sh file , so when i 've isntalled the xfce4-panel there was conlfict and the background was reset to the defaul .
After deleting the content of autostart.sh file and putting there the nitrogen and xfce4-panel commands and leaving the exec openbox-session at the .xinitrc file everything is fine

Similar Messages

  • [SOLVED]urxvt can't set the background after using slim as DM

    Yesterday, I changed lxdm to slim,and then everything went well,except urxvt.Though I think this should have nothing to do with the urxvt's problem.
    urxvt only has a white background while my setting is 0000/0000/0000/cccc,even I attempted to comment all options relating to colors,but it doesn't work.until I remove the .Xresources file, urxvt has a black background.
    I also attempted to start from startx and other ways, but it didn't work.I have a transparent black interface before,and now it is dazzling white.how could i can resume it.
    My DE is kde4.
    Here is my .xinitrc
    export GTK_IM_MOUDLE=fcitx
    export QT_IM_MOUDLE=fcitx
    export XMODIFIERS=@im=fcitx
    exec startkde
    .Xresources
    ! RXVT-unicode setting
    URxvt.tansparent: true
    URxvt.geometry: 80x36+80+80
    URxvt.background: rgba:0000/0000/0000/cccc
    URxvt.depth:32
    URxvt.foreground: blue
    URxvt.scrollBar: False
    URxvt.scrollstyle: next
    ! Use shift+pageup/down to scroll in screen
    URxvt.secondaryScroll: True
    !set the artificial transparency of the v.t.
    URxvt.inheritPixmap: True
    URxvt.tintColor: grey
    URxvt.shading: 500
    URxvt.saveLines: 1500
    URxvt.preeditType: Root
    URxvt.borderLess: False
    URxvt.font:xft:monofur:pixelsize=17:style=Regular:antialias=true,xft:SimHei:pixelsize=17:style=Regular
    URxvt.boldFont:xft:DejaVu Sans Mono:pixelsize=17:style=Bold:antialias=true,xft:DejaVu Sans Mono:pixelsize=17:style=Bold
    !redefine color to use tango theme in vim
    !Black
    URxvt.color0: #000000
    URxvt.color8: #555753
    !Red
    URxvt.color1: #CC0000
    URxvt.color9: #EF2929
    !Green
    URxvt.color2: #4E9A06
    URxvt.color10: #8AE234
    !Yellow
    URxvt.color3: #C4A000
    URxvt.color11: #FCE94F
    !Blue
    URxvt.color4: #3465A4
    URxvt.color12: #729FCF
    !Magenta
    URxvt.color5: #75507B
    URxvt.color13: #AD7FA8
    !Cyan
    URxvt.color6: #06989A
    URxvt.color14: #34E2E2
    !White
    URxvt.color7: #D3D7CF
    URxvt.color15: #EEEEEC
    /etc/slim.conf
    # Path, X server and arguments (if needed)
    # Note: -xauth $authfile is automatically appended
    default_path /bin:/usr/bin:/usr/local/bin
    default_xserver /usr/bin/X
    xserver_arguments -nolisten tcp vt07
    # Commands for halt, login, etc.
    halt_cmd /sbin/shutdown -h now
    reboot_cmd /sbin/shutdown -r now
    console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
    #suspend_cmd /usr/sbin/suspend
    # Full path to the xauth binary
    xauth_path /usr/bin/xauth
    # Xauth file for server
    authfile /var/run/slim.auth
    # Activate numlock when slim starts. Valid values: on|off
    # numlock on
    # Hide the mouse cursor (note: does not work with some WMs).
    # Valid values: true|false
    # hidecursor false
    # This command is executed after a succesful login.
    # you can place the %session and %theme variables
    # to handle launching of specific commands in .xinitrc
    # depending of chosen session and slim theme
    # NOTE: if your system does not have bash you need
    # to adjust the command according to your preferred shell,
    # i.e. for freebsd use:
    # login_cmd exec /bin/sh - ~/.xinitrc %session
    #login_cmd exec /bin/bash -login ~/.xinitrc %session
    login_cmd exec /usr/bin/zsh ~/.xinitrc %session
    # Commands executed when starting and exiting a session.
    # They can be used for registering a X11 session with
    # sessreg. You can use the %user variable
    # sessionstart_cmd some command
    # sessionstop_cmd some command
    # Start in daemon mode. Valid values: yes | no
    # Note that this can be overriden by the command line
    # options "-d" and "-nodaemon"
    # daemon yes
    # Set directory that contains the xsessions.
    # slim reads xsesion from this directory, and be able to select.
    sessiondir /usr/share/xsessions/
    # Executed when pressing F11 (requires imagemagick)
    screenshot_cmd import -window root /slim.png
    # welcome message. Available variables: %host, %domain
    welcome_msg Welcome to %host
    # Session message. Prepended to the session name when pressing F1
    # session_msg Session:
    # shutdown / reboot messages
    shutdown_msg The system is halting...
    reboot_msg The system is rebooting...
    # default user, leave blank or remove this line
    # for avoid pre-loading the username.
    default_user ssfdust
    # Focus the password field on start when default_user is set
    # Set to "yes" to enable this feature
    #focus_password no
    # Automatically login the default user (without entering
    # the password. Set to "yes" to enable this feature
    #auto_login no
    # current theme, use comma separated list to specify a set to
    # randomly choose from
    #current_theme default
    current_theme parallel-dimensions
    # Lock file
    lockfile /var/lock/slim.lock
    # Log file
    logfile /var/log/slim.log
    Thx in advance
    Last edited by ssfdust (2013-11-16 05:12:29)

    To add to what sonoran posted above, you need to have xrdb load the settings in your ~/.Xresources.  When you use a DE, there are quite a few things that it might do for you depending on the existence (or absence) of a give configuration file. 
    I have no idea what things are specific to each DE, but I know that the Slim login manager is extremely simple and lightweight and does very little (if anything) automagically for you.  A good example of automagic coming from some of the display manager part of things is the locale settings.  In particular, they implement their own ways of handling setting your keyboard layout and language.  So going if you were to go from GDM to Slim, you would suddenly have the stuff in /etc/X11/xorg.conf.d honored, whereas in GDM, you would either have to use gconf or use setxkbmap at some point.

  • Problem in setting the background color of jtable with Nimbus

    Hi
    I have created a java swing application. In which I am using JTable.
    When creating a simple JTable and displaying with Nimbus, the row background color alternates between white and a light blue-grey.
    I want the table with single colour. Only the first column should be grey colour and other should be white.
    I used this code to set the background and foreground colour.
    public Component prepareRenderer
        (TableCellRenderer renderer, int index_row, int index_col){      
                Component objComponent = super.prepareRenderer(renderer, index_row, index_col);         
                Color objGreyColour = new Color(240,240,240);
                Color objWhiteColour = new Color(255,255,255);
                if(index_col == 0){
                    objComponent.setBackground(objGreyColour);
                    objComponent.setFont(new java.awt.Font(CommonClass.getFontName(),java.awt.Font.BOLD, CommonClass.getFontSize()));
                    objComponent.setForeground(Color.BLACK);
                }else{               
                    setSelectionBackground(Color.BLUE);
                    objComponent.setBackground(objWhiteColour);
                    objComponent.setForeground(Color.BLACK);
                return objComponent;
            } Look wise it is fine but when i try to select the cell it is not highlighting the cell and also i m not able to select multiple cell with ctrl key.
    Any help would be appreciated
    Thanks
    Sonal

    Hello,
    1) if you want better help soone,r please post an SSCCE (http://sscce.org) instead of a code extract.
    2) selection highlighting is lost because your code... doesn't handle selection. To take selection into account, you can use <tt>if (super.isRowselected(index_row)) {...}</TT>.
    Regards,
    J.

  • Failed to set the EventLog source

    Hi all,
    I have encountered the following problem. During installation DS 5.2 on Windows 2000 I got message from installer: "Failed to set the EventLog source", but installaion continued. It looks that DS is installed, but I cannot start slapd and I can see the same message.
    Thanks for any help

    Thank Mayank for your reply
    I'm not clear about the concept of "directory server instance name "
    and I list the information to u:
    Server Console Login Dialog:
    User ID: cn=directory manager
    Administration URL: http://xxx.com:40001
    Information below is from Server Console:
    Directory Server(xxx) (whole computer name is xxx.com)
    Server name: Directory Server(xxx)
    product name: Directory Server
    Version: 5.2_Pathc_4
    Build number:2005.230.0301
    Security level:domestic
    Server status: Started
    Port:40000
    Administration Server
    Server name: Administration Server
    Product name:Administration Server
    Version:5.2.4
    Build number:2005.206.2139
    Security level:domestic
    Server status: Started
    Port:40001
    and it can work on my machine(windows xp with sp2), but can't on that Server(windows 2003 with sp1), and Both are using default setting when setting up the Directory.
    thanks ,
    Time here is 2007-3-1 11:05. ^_^
    Message was edited by:
    fofw2000

  • Can I invoke a SubVI in an event? and how do I set the background color of a pipe to #0000ff?

    When I click an image or a glass pipe(which belongs to Industry/Chesmitry category in palette), I want a SubVI to be invoked.
    The purpose is to fetch an OPC-UA data from a web service and to write to it via the service.
    We are building an HMI solution which displays an interactive water plant diagram.
    When users click pipes and motors in the diagram, clicked devices should be turned on and off and change their animations or colors accordingly.
    OPC-UA is for communication with devices.
    I couldn't even set the background color of a pipe to "#0000ff", but setting it to "Red" or "Blue" was possible, and I don't know how to invoke SubVIs in event scripts.
    The documentations in NI.com are confusing and lack depth.
    Even silverlight references are confusing.
    How do I do all of these?

    Hi iCat,
    Can you provide some more information about your current implementation so that we can help to answer your questions. Some questions I have for you are:
    Are you creating this project in the NI LabVIEW Web UI Builder or in LabVIEW?
    How are you publishing your webservice? Is this also in LabVIEW?
    How is your webservice interacting with an OPC-UA server?
    How is the certification set up with OPC-UA so that you can communicate between the server and the client?
    Best Regards,
    Allison M.
    Applications Engineer
    National Instruments
    ni.com/support

  • Why does the eyedropper tool set the background color swatch instead of the foreground?

    Whenever I try to use the eyedropper tool in Photoshop CS5, the eyedroper sets the background color instead of the foreground. I know you can swap the colors with the arrows, but Photoshop used to be able to just put the color in the foreground swatch without me doing any extra manual work. How do I restore it?

    Click on Windows and color.  There is a setting there to change from
    foreground to background.  The one with the box around it is the default setting.

  • Does Safari use up bandwidth if I leave it running in the background with zero tabs open?  Do I have to quit the application each time I am done to avoid exceeding my internet usage/host quota?

    If I leave Safari running in the background with zero tabs open, does it still use up bandwidth?  Do I have to quit the application each time I am done to avoid exceeding my internet usage/host quota?  I'd rather not have to since quitting the application and restarting it when I need to will quickly become tedious, but if that saves me on bandwidth usage, I'll do it.  Thanks!

    iStat pro is another good means of checking your Mac's activity.   Set it up within Dashboard.   It is a free facility.
    iStat pro for Mac - CNET Download.com

  • Why is there a scroll bar though I set the background image to "scale to page size"?"

    Why is there a scroll bar though I set the background image to "scale to page size"?"

    The current build of iTunes may occasionally draw the scroll bar off the edge of the screen. It should be possible to resize the window to reveal the scroll bar.
    You can restore much of the look & feel of the previous version with these shortcuts:
    Ctrl-B to turn on the menu bar.
    Ctrl-S to turn on the sidebar.
    Ctrl-/ to turn on the status bar.
    Click the magnifying glass top right and untick Search Entire Library to restore the previous search behaviour.
    You can also open the menu bar temporarily by pressing Alt.
    tt2

  • How do i turn off apps running in the background with the new upgrade?

    how do i turn off apps running in the background with the new upgrade?

    They changed it a bit, but you can still close apps. Double click the Home button to pull up the currently running apps. Side scroll over to the app you want to close, then swipe up on the app *window* (not the icon at the bottom).
    = L.I.

  • How to set the Background Color of a Text Field in a Tabular Report.

    Hello,
    I tried to set the Background Color of a Text Field in a Tabular Report.
    But I was not able to change this colur.
    In the report attributes --> column attributes
    I tried already:
    1. Column Formating -- >CSS Style (bgcolor: red)
    2. Tabular Form Element --> Element Attributes (bgcolor: red)
    but nothing worked.
    Can anybody help me?
    I Use Oracle Apex 2.2.1 on 10gR2
    thank you in advance.
    Oliver

    in "Report Attributes" select the column to move to the "Column Attributes" page. In the "Element Attributes" field under the "Tabular Form Element" region enter
    style="background-color:red;"
    I will also check if there is a way to do this via the template and post here again
    edit:
    in your template definition, above the template, enter the following:
    < STYLE TYPE="text/css" >
    .class INPUT {background-color:red;}
    < /STYLE >
    (remove the spaces after the < and before the >)
    change "class" to the class that the template is calling
    (I'm using theme 9, the table has: class="t9GCCReportsStyle1" so I would enter t9GCCReportsStyle1)
    A side-effect of using this second version is that ALL input types will have a red background color--checkboxes, input boxes, etc.
    Message was edited by:
    TheJosh

  • How to use a scaled object(MC) to fill the background with the new properties

    So lets say i have a stage 300 to 200 and all object that i have are for this dimensions.Also have an pattern function that fills the background.
    But the user is thinking of resizing the stage to lets say 1024 to 480 (he switched from a phone to a tablet).And now the scale of the objects in the tablet screen are more than 3times before(when seen on the Phone)
    How do i save the current new size object and use it in the creation of the new background (the 1024x480).
    currently i have this :
    public static const GAME_ORG_WIDTH:uint = 300;
    public static const GAME_ORG_HEIGHT:uint = 200;
    public function MainClass_road() {
                                  addEventListener(Event.ADDED, init);
                        public function init(e:Event):void{
                                   stage.scaleMode = StageScaleMode.NO_SCALE;
                                     stage.align = StageAlign.TOP_LEFT;
                                     stage.addEventListener(Event.RESIZE, setUpScreen);
                        public function setUpScreen(ev:Event):void{
                                  stage.removeEventListener(Event.RESIZE, setUpScreen);
                                  if(stage.fullScreenHeight > stage.fullScreenWidth){  
                                            gameStageWidth = stage.fullScreenWidth;
                                gameStageHeight = stage.fullScreenHeight;
                                  }else {
                                            gameStageWidth = stage.fullScreenHeight;       // 480
                                            gameStageHeight = stage.fullScreenWidth;                     //1024
                                  rescaleRatio = gameStageWidth / GAME_ORG_WIDTH;  
                                  //rescale every object, ie:
                                myC.scaleX = myC.scaleY =   rescaleRatio;
                       //start filling the Background with the pattern
                                       tileBgF();
    and then I use the while loop for filling the screen/background
    public function tileBgF(e:Event=null):void {
                                                      var bgClip = MyC;
                                                      var i:int = 0;
                                                      var j:int = 0;
                                                      while (bgClip.x < stage.stageWidth) {
                                                                bgClip = MyC;
                                                                while (bgClip.y < stage.stageHeight) {
                                                                          bgClip = MyC;
                                                                          tileLayer.addChild(bgClip);
                                                                          bgClip.x = bgClip.width * i;
                                                                          bgClip.y = bgClip.height * j;
                                                                          j++;
                                                                j = 0;
                                                                i++;
                                                      addChildAt(tileLayer,0);
    why does it give me
    Line 52
    1120: Access of undefined property MyC.
    in public function tileBgF
    and further more.After filling the background/screen with the pattern , how do i save it all like one big bitMap  so i can use /add it after time without doing all the checking of screen and things again.

    and is it better to use
    stage.fullScreenHeight
    in the while loop or leave it like it is ,or its irrelevant

  • How do i set the background of the table( not of cell / row / column).

    How do i set the background of the table( not of cell / row / column).
    What happens when i load the applet the table is blank and displays the background color is gray which we want to be white.
    We tried using the setBackGround but it is not working maybe we are not using it properly. Any help would be gr8.
    Thanks in advance.

    I don't understand very well, but i guess that the background is gray when the table content's empty, isn't it?
    When the table model is empty, the JTable doesn't paint, so its container displays its background (often gray).
    In this case, what you must do is force the table to paint, even if the model is empty. So, you have to create your own table and override three methods :
    public class MyTable extends JTable
    //specify the preferred and minum size when empty
    myPreferredWidth = 200;
    myPreferredHeigth =200;
    myMinimunWidth = ...;
    myMinimunHeigth = ...;
    public Dimension getPreferredSize()
    if(getModel().getRowCount() < 1)
    return new Dimension(myPreferredWidth, myPreferredHeigth);
    else
    return super.getPreferredSize();
    public Dimension getMinimumSize()
    if( getModel().getRowCount() > 0)
    return new Dimension(myMinimunWidth, myMinimunHeigth);
    else
    return super.getMinimumSize();
    protected void paintComponent(Graphics g)
    if (getModel().getRowCount<1 && isOpaque()) { //paint background
    g.setColor(Color.white);
    g.fillRect(0, 0, getWidth(), getHeight());
    else super.paintComponent(g);
    }

  • How do I set the background color of a page_item?

    I've been pasting "background-color:#5CD65C" in a number of places, like "HTML Table Cell Attributes" under the Label and the Element tabs, but get no results. Can anyone tell me how to set the background color of a cell, please?

    Hi Doug,
    Dynamic Actions is an alternative also, especially if it is conditional.
    Action Set Style
    Fire When Event Result Is True
    Style Name background-color
    Value #5CD65C
    Selection Type DOM Object
    DOM Object your item name
    Set your Condition Type and you have it.
    Jeff
    Edited by: jwellsnh on May 24, 2011 3:55 PM

  • How can I set the background color of JLabel?

    Can any one tell me how to set the background color of a JLabel?
    I have:
    JLabel prop = new JLabel("blahblah");
    prop.setBackground(Color.red);
    Thank you in advance...

    JLabel prop = new JLabel("blahblah");
    prop.setBackground(Color.red);
    prop.setOpaque(true);

  • How 2 set the background color in j2me

    Can any body tell me how to set the background color to midlet.??

    if you are using Screen then you can call its setBackColor()
    or if you are using Canvas then you can call
    g.setColor(r,g,b);
    g.fillRect(0,0,getWidth,getHieght);
    where g is the Graphics instance of Canvas,for further information consult documentation

Maybe you are looking for

  • ITunes deleted all my apps after I clicked "Cancel" to sync apps

    I'm at work and I wanted to do some serious app re-arranging.  Rather than doing it manually on my iPhone5, I luanched iTunes.  Note: I do *not* sync my iPhone with my work computer, but I thought maybe it could still rearrange the apps since I can s

  • 10.5.3 update issue

    I am currently having an issue regarding the 10.5.3 update. I have already installed the software, but when it begins installing, it will say "configuring installation" for a long period of time and the download bar won't move. I'm not sure if it's s

  • Can't get eGalax touchscreen Lilliput Eby701 working on linux 3.7x64

    I recently purchased a 7" touchscreen for my carputer project which I am trying to use under arch. It is the Lilliput Eby701-np/c/t model. DE: Ich kaufte vor kurzem ein 7 "Touchscreen für meine carputer Projekt, das ich versuche, unter Bogen verwende

  • User Certificate based Authentication Using Anyconnect (DTLS)

    Hello, I believe it is possible to set up an ASA to enforce the need for anyconnect users to have a USER certficate installed on their machine before the VPN grants them access.  However, I`ve been trying to get this to work but I`m always allowed to

  • Flat file loading error

    Hi, I have load master data through flat file . Now i am trying to create transaction data source but getting a error. Data Consist of Custid, Qty,Sales Revenue Qty consist 0Unit and Sales Revenue consist 0Currency When i enter Qty..the format is int