[SOLVED] Metacity autostart programs without GNOME

Hi,
I would like to use a session with metacity + lxpanel (starts from LXDM)
then I have edited my .dmrc:
$ cat ~/.dmrc
[Desktop]
Session=metacity
it works, but when I login my session (default) from LXDM, there is only metacity with nothing. how can I add "lxpanel" on start?
I tryed to put "lxpanel.desktop" on" ~/.config/autostart" but it doesn't work.
Someone can help me?
Thanks.
Last edited by quellen (2015-04-26 10:20:39)

i have a problem with "lxde-logout" of lxpanel: it doesn't work good, when i press "logout" nothing happens ("Shutdown" and "Reboot" work)
maybe i need to edit "/etc/lxdm/PostLogout"?
$ cat /etc/lxdm/PostLogout
#!/bin/sh
# Note: this is a sample and will not be run as is.
test -x /usr/bin/pax11publish && /usr/bin/pax11publish -r
# Terminate current user session
/usr/bin/loginctl terminate-session $XDG_SESSION_ID
# Restart lxdm
#/usr/bin/systemctl restart lxdm.service
(screenshoot takes from google images)
Last edited by quellen (2015-04-29 17:16:31)

Similar Messages

  • [solved] gtk3 toolbars customization without gnome

    I haven't gnome3 installed, but have few gnome3 apps (file-roller, eog..). How to configure toolbars to show icons only without text?
    Last edited by student975 (2011-06-09 05:41:43)

    in ~/.config/gtk-3.0/settings.ini:
    [Settings]
    gtk-toolbar-style = GTK_TOOLBAR_ICONS

  • [solved] Xfce4 unwanted autostarting programs

    I have developed a small irritation with what i believe to be Xfce4. Upon every reboot (or cold start) of my machine. When i log into Xfce4, Chromium and a Terminal window both autostart. Chromium starts minimised and the terminal starts visable in the centre of my screen. Some information that may be relevant: Xfce 4.10, Xfwm4, Kernel 3.8.11-1-ARCH, SLiM, Xorg server 1.14.1.
    I am not aware of making any changes this problem appeared out of the blue. I have checked the Session and Startup settings and the only autostart programs enabled are Power Manager and Xfsettingsd. I have checked in .config/xfce4 for an autostart folder and there isnt one. There is nothing in .xinitrc
    Any help on this would be great thank you.
    Last edited by thekore (2013-05-05 17:33:54)

    Krarl wrote:Try enabling "Automatically save session on logout" in session and startup and then close all windows. Restart xfce. Hopefully this should clear the saved session, and now you can disable it again.
    I feel like such an idiot, I was looking for the most complex solution and forgot about the most obvious. This has solved the problem, thanks Krarl
    ewaller wrote:You might also try cleaning out ~/,config/xfce4-sessions
    I had checked this already and the folder was empty.

  • (Solved)pacman , install a program without answer

    Hello world !
    (Firstly , sorry if i make errors in english , it's because i'm french )
    So ! I'm writing a shell program in bash to restore my system (to restore wallpapers , theme, icons, .config ect)
    This is the main file of the program.
    #!/bin/bash
    echo "Bienvenue $USER"
    while [ -z $reponse ] || [ $normal == 1 ]
    do
    let "normal = 0"
    read -p 'Voulez-vous poursuivre la procédure de post-installation ? oui | non : ' reponse
    case $reponse in
    "oui")
    echo "OK"
    #mettre le code ici
    ./themes.sh
    ./icons.sh
    ./applications.sh
    ./config.sh
    ./drivers.sh
    "non")
    echo "À bientôt !"
    echo "erreur syntaxe"
    let "normal = 1"
    esac
    done
    exit
    The main script execute several scripts , and the applications script  install applications (by exemple firefox) but i don't want that pacman asks me an answer to install a program.
    I want know how i can tell at pacman " install the program without my permission , without my answer" but what's the command for this ?
    (Small issue , "i want know" is correct in english ? )
    Thx to read this post
    Last edited by Maximilien Di dio (2014-06-09 15:23:01)

    Maximilien Di dio wrote:
    (Small issue , "i want know" is correct in english ? )
    Thx to read this post
    I want to know, and thanks for reading this post. But don't worry, your English is easily understandable.
    You may also find this useful.

  • Auto suspend on idle without Gnome or KDE? [SOLVED]

    This may be a stupid question but I've never had to actually mess with this before on a system without Gnome or KDE installed (they have their own utilities which tends to make this easy) and I've spent an hour researching to no avail.
    I'm looking for a way to force the entire computer to automatically suspend to RAM after 30 minutes of no keyboard or mouse activity. I already have pm-utils and xscreensaver installed and 'pm-suspend' already works great when I call it manually but what I'm missing is a way to detect the idle and actually call 'pm-suspend' automatically.  I do have HAL and udev.  Of course it runs X too but there is no D.E. installed.  Only various Window managers.
    BTW- this is for a Desktop not a laptop if that is significant for some reason.  The reason for it is basically I want this computer to suspend (to save power) at night and other times when it's not being used.
    Thanks for any help you can give!
    Last edited by davidm (2011-02-21 01:58:18)

    Still welcoming some help after all....
    I've been attempting to use xfce4-power-manager but am having an issue where as a normal user actual power management options other than for the monitor are disabled.  It works fine as root but not as a normal user.
    User is a member of the power group.
    Have consolekit installed.
    Launching WM from .xinitrc (No Display manager such as slim) using 'exec ck-launch-session /usr/local/bin/wm'
    Anything I am missing for why this wouldn't work? 
    Trying to use the debug option:
    (xfce4-power-manager:2633): xfce4-power-manager-WARNING **: Unable to connect to session managet : Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
    (xfce4-power-manager:2633): xfce4-power-manager-WARNING **: could not map keysym 1008ffa8 to keycode
    ** (xfce4-power-manager:2633): WARNING **: No outputs have backlight property
    ** (xfce4-power-manager:2633): DEBUG: executed /usr/sbin/xfpm-power-backlight-helper --get-max-brightness; retval: 1024
    ** (xfce4-power-manager:2633): DEBUG: xfpm_brightness_setup_helper: get-max-brightness returned -1
    ** (xfce4-power-manager:2633): DEBUG: no brightness controls available
    Last edited by davidm (2011-02-21 01:17:51)

  • How can I run an external program without quitting Firefox?

    I want to run an external program from within Firefox, much as Outlook express is run from the email button. How do I set this up?
    Firefox doesn't import my Bookmarks from the listed html file. Any cure for this?

    I don't want to run the mail program, I want to run another program.
    Maxthon allows me to do this using External Tools. Does Firefox allow me to run other programs without leaving Firefox?
    2. Firefox allows me to load an html file which contains my bookmarks, but it doesn't load the bookmarks file. is there a solution?

  • Can't use backspace in ncurses programs without using ctrl

    Heya
    Anyone know how to use the backspace in ncurses programs without the need to press ctrl? If I don't it just gives me "^?", I've tried setting "urxvt*backarrowKey: false/true" but it doesn't help.
    Any help with this annoyance would be appreciated.

    Honken wrote:
    Heya
    Anyone know how to use the backspace in ncurses programs without the need to press ctrl? If I don't it just gives me "^?", I've tried setting "urxvt*backarrowKey: false/true" but it doesn't help.
    Any help with this annoyance would be appreciated.
    Just for the heck of it, try using the number 127 instead of KEY_BACKSPACE or what ever your'e using in your if statement or select statement.  I would have thought it would be the number 08 which is the ascii code for backspace but that didn't work.  Try it and see if it works.  If it does, I'll let you know what steps I took to try and find it. 
      I used the numbers 13 and 27 in my program instead of KEY_RETURN and KEY_ESC, since neither of those worked.  KEY_RETURN required a <shift><return> to work properly which is similar to your problem.

  • I have IE and Mozilla FF loaded on my vista run laptop. I have removed and reloaded the FF program without success. Internet Exployer runs fine. Help!!!!!!

    I have IE and Mozilla FF loaded on my vista run laptop. I have removed and reloaded the FF program without success. Once loaded I click the shortcut, but nothing happens. Internet Exployer runs fine. Help!!!!!!
    == 1 month ago ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; InfoPath.2; .NET CLR 3.0.30729)

    A possible cause is security software (firewall) that blocks or restricts Firefox without informing you about that, maybe after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox.
    See [[Firewalls]] and http://kb.mozillazine.org/Firewalls
    See also http://kb.mozillazine.org/Browser_will_not_start_up

  • My safari screen suddenly fills my entire screen, and there is no right hand corner button to push to manually shrink it. What to do? I can never even exit the program without quitting it.

    My screen when I am using Safari suddenly fills my entire screen, and there is no right hand corner button to push to manually shrink it. What to do? I can never even exit the program without quitting it.This has happened only within the last two days.

    Try changing the screen resolution.
    Go to Apple Menu / System Preferences / Displays.
    Change the resolution. Whatever numbers are shown, e.g. 1280 x 960, select a larger one. The larger the number, in the resolution the smaller the display on the screen. You can keep changing this till you find the resolution that suits you.

  • I already payed my montlhy subscription but I still can't open my programs without receiving a message saying that my membership subscriptions has expired. Whta happening?

    I already payed my montlhy subscription but I still can't open my programs without receiving a message saying that my membership subscriptions has expired. Whta happening?

    Sign in, activation, or connection errors | CS5.5 and later
    For anything else you have to contact support by web chat.
    Mylenium

  • Program without inner join..

    hi frds...
    i need help in the programming without using the inner join and views,
    i want to take  data from 2  different table without join and views, give some sample codes or links
    it will help to us.
    by
    pari..
    Edited by: Alvaro Tejada Galindo on Feb 22, 2008 12:18 PM

    Hi pari,
             This is the sample code 'for all entries'
    in alv report.
    TYPE-POOLS:SLIS.
    DATA:BODY TYPE SLIS_T_FIELDCAT_ALV,
         HEADER TYPE SLIS_FIELDCAT_ALV.
    DATA:BEGIN OF ITAB OCCURS 0,
         MATNR LIKE MARA-MATNR,
         ERSDA LIKE MARA-ERSDA,
         MEINS LIKE MARA-MEINS,
         END OF ITAB.
    DATA:BEGIN OF ITAB1 OCCURS 0,
         MATNR LIKE MAKT-MATNR,
         MAKTX LIKE MAKT-MAKTX,
         END OF ITAB1.
    DATA:BEGIN OF ITAB2 OCCURS 0,
         MATNR LIKE MARA-MATNR,
         ERSDA LIKE MARA-ERSDA,
         MEINS LIKE MARA-MEINS,
         MAKTX LIKE MAKT-MAKTX,
        END OF ITAB2.
    SELECT-OPTIONS:SMATNR FOR ITAB-MATNR.
    PERFORM FETCH_MARA.
    PERFORM FETCH_MAKT.
    PERFORM READ.
    PERFORM FIELDCATALOG.
    PERFORM ALVDISPLAY.
    *&      Form  FETCH_MARA
    form FETCH_MARA .
    SELECT MATNR ERSDA MEINS FROM MARA INTO TABLE ITAB WHERE MATNR IN SMATNR
    endform.                    " FETCH_MARA
    *&      Form  FETCH_MAKT
    form FETCH_MAKT .
    IF ITAB[] IS NOT INITIAL.
    SELECT MATNR MAKTX FROM MAKT INTO TABLE ITAB1 FOR ALL ENTRIES IN ITAB
    WHERE MATNR = ITAB-MATNR.
    ENDIF.
    endform.                    " FETCH_MAKT
    FORM READ.
    LOOP AT ITAB.
    READ TABLE ITAB1 WITH KEY MATNR = ITAB-MATNR.
    IF SY-SUBRC = 0.
    MOVE ITAB-MATNR TO ITAB2-MATNR.
    MOVE ITAB-ERSDA TO ITAB2-ERSDA.
    MOVE ITAB-MEINS TO ITAB2-MEINS.
    MOVE ITAB1-MAKTX TO ITAB2-MAKTX.
    ENDIF.
    APPEND ITAB2.
    ENDLOOP.
    ENDFORM.
    *&      Form  FIELDCATALOG
          text
    -->  p1        text
    <--  p2        text
    form FIELDCATALOG .
    HEADER-COL_POS = '1'.
    HEADER-SELTEXT_L = 'MATNR1'.
    HEADER-TABNAME = 'ITAB2'.
    HEADER-FIELDNAME = 'MATNR'.
    APPEND HEADER TO BODY.
    CLEAR HEADER.
    HEADER-COL_POS = '2'.
    HEADER-SELTEXT_L = 'ERSDA'.
    HEADER-TABNAME = 'ITAB2'.
    HEADER-FIELDNAME = 'ERSDA'.
    APPEND HEADER TO BODY.
    CLEAR HEADER.
    HEADER-COL_POS = '3'.
    HEADER-SELTEXT_L = 'MEINS'.
    HEADER-TABNAME = 'ITAB2'.
    HEADER-FIELDNAME = 'MEINS'.
    APPEND HEADER TO BODY.
    CLEAR HEADER.
    HEADER-COL_POS = '4'.
    HEADER-SELTEXT_L = 'MAKTX'.
    HEADER-TABNAME = 'ITAB2'.
    HEADER-FIELDNAME = 'MAKTX'.
    APPEND HEADER TO BODY.
    CLEAR HEADER.
    endform.                    " FIELDCATALOG
    *&      Form  ALVDISPLAY
    form ALVDISPLAY .
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
       I_CALLBACK_PROGRAM             = 'ZALVREPORT'
      I_CALLBACK_PF_STATUS_SET       = ' '
      I_CALLBACK_USER_COMMAND        = ' '
      I_STRUCTURE_NAME               =
      IS_LAYOUT                      =
       IT_FIELDCAT                    = BODY
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
      I_SAVE                         = ' '
      IS_VARIANT                     =
      IT_EVENTS                      =
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
      TABLES
        t_outtab                       = ITAB2
    EXCEPTIONS
      PROGRAM_ERROR                  = 1
      OTHERS                         = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.

  • Run a program without command line

    Hello,
    I was wondering if there was a way to run a java program without compiling the code and giving the 'java' command at the command prompt.
    For example, I want to put my program on a cd with all the necessary components for it to run on any windows system, regardless of whether there is any java technology already on the machine.
    Thanks

    Batchfile, look it up on google, its pretty self explanatory. um, I'll try to explain the basics......
    Ok, to create your own batch file, open notepad and then save the file with .bat instead of .txt
    A batch File is a series of system commands, so, for example, if you wanted your batch to run a file located at c:\temp, the first line of your batch file should just have word.exe c:\temp\filenamehere.doc, for example, this is a line from a batchfile I made:
    excel.exe g:\tmp\Andy_Test.xls
    a batch file can contain many commands and they will all execute sequentially.
    if you want to open your program from a cd, I would think, although I have never done it, that you should
    make a batch file that reads something like:
    "D:\foldername\filename"
    or i guess you could simply do it on c drive like this if your java program was poop.java
    "c:\myfolder\myfolder2\myfolder3\java poop"
    you couild even compile it before you run it
    "c:\myfolder\myfolder2\myfolder3\javac poop.java"
    "c:\myfolder\myfolder2\myfolder3\java poop"
    also, if your java app is a GUI, I would run it like this:
    "c:\myfolder\myfolder2\myfolder3\javaw poop"
    Go here to learn more about batch programming, I actually don't know that much about it.
    http://www.computerhope.com/batch.htm

  • Displayed a message box then removed it by a program without user action

    Can a message box be displayed by a program and then removed by the program without any user action such as clicking OK or closing the box?
    If so, will you show us how to do that?
    I have a non-GUI application which needs to tell the user to wait while classes and being created and data is being loaded from the network. The message needs to disappear when the program is ready.
    Thanks!

    Here is an example of using the JDialog you will have to make it look like you want I just pieced this together real quick
    import javax.swing.*;
    public class test extends Object
        public test()
            longOperation();
            System.exit(0);
        public void longOperation()
            JDialog dialog = new JDialog();          
            dialog.getContentPane().add(new JLabel("Wait"),java.awt.BorderLayout.CENTER);
            dialog.setSize(200,200);
            dialog.setVisible(true);
            // used to simulate a long operation
            Thread t = Thread.currentThread();
            try
                t.sleep(2000);
            }catch(Exception e){}
            dialog.dispose();
        public static void main(String args[])
            new test();  
    }

  • Is it possible to run the java program without main?

    Hi,
    Is it possible to run the java program without main?
    if anybody know please tell me, how it is possible.
    Regards,
    Ramya

    Hi,
    Is it possible to run the java program without main?
    if anybody know please tell me, how it is possible.
    Regards,
    RamyaWhy do you ask? It sounds like an odd question. Your program can be an applet and it doesn't need a main method in that case.
    Kaj

  • Upgraded to LR5.7 and PS Elements 13.  Using a SSD which is becoming Full! Can I remove older versions of these programs without affecting the functionality of the new programs?

    Upgraded to LR5.7 and PS Elements 13.  Using a Solid State Drive which is becoming Full! Can I remove older versions of these programs without affecting the functionality of the new programs?

    Yes, there is no need to keep previous versions of software on the SSD (or on your computer).
    Also, you didn't mention this but if the photos are on the SSD, you should move them off the SSD to a regular hard disk using these instructions: Adobe Lightroom - Find moved or missing files and folders

Maybe you are looking for

  • Issue to drill down from a report

    Hi, Our requirement is we need to show three different graphs in a single report representing different data, from that we need to drill down to a new different report  ; Two approaches we tried with crystal report are; 1.     We put three graphs and

  • Changes to PSDs in LR4 don't show up in bridge or photoshop.

    I just downloaded ACR 6.7, now tiff adjustments  in LR4 (PV2012) show up in bridge and photoshop when I save the metadata to file in LR4, PSD adjustments in LR4 don't show up. I'm running CS5.

  • I need to download Firefoc 7.01 edition, but its not on your main support menu. How do I do this?

    There is no link for Firefox 7 edition on your main support page. I need to download this for my home PC to accommodate my college's 7.0 upgrade for Blackboard software. Please send me a link for this edition. I can't use the 14 for their software. I

  • My cruzer usb thumb drive

    I have a Cruzer Micro 4.0GB thumb drive that I used with my pc before I purchased my MacBook Pro. When I plug it into my macbook pro nothing happens. It does not recognize it as being attached. Could it be because of the U3 software that's installed

  • Safari 4 Load yesterday HELP Keeps Shutting down and SLow? :0(

    HI I just did a software update yesterday and it gave me safari 4, which I don't really like I preferred the ease of the previous one, MY problem is it's slow much slower than 3, my HUGE problem is that I can only be on certain web sites so far my ma