Author Topic: lxpanelctl run launches UNDER other apps  (Read 594 times)

Offline arkanabar

  • Full Member
  • ***
  • Posts: 193
  • Ain't I a Stinker?
    • Arkanabar's Eclectic Rants
lxpanelctl run launches UNDER other apps
« on: March 18, 2012, 10:02:25 AM »
I love lxde; it has been my preferred desktop for quite a few years.  But I have of late been reminded why I added KDE to this install.  When I launch the run dialog with alf-f2, it launches below whatever app I'm currently using and I have to hit alt-tab to actually put it to use.  Same goes when I use Super-R (also in the lxde-rc.xml keybindings.)  oddly enough, if I select "run" from the menu, it behaves properly:  it's  on top with focus when it launches.  What do I do so it works right with my keyboard shortcuts?

other shortcuts with the same issue:  Ctrl-alt-T (lxterminal; super-t works right), ctrl-alt-D (pcmanfm).

my ~/.config/openbox/lxde-rc.xml file
edit:  changed a couple of things.  problematic launch keybindings now also include super-T, super-F.
« Last Edit: March 18, 2012, 10:26:18 AM by arkanabar »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: lxpanelctl run launches UNDER other apps
« Reply #1 on: March 18, 2012, 01:08:48 PM »
You have a nonstandard install.     
http://www.pclinuxos.com/forum/index.php/topic,103628.0.html     

Offline arkanabar

  • Full Member
  • ***
  • Posts: 193
  • Ain't I a Stinker?
    • Arkanabar's Eclectic Rants
Re: lxpanelctl run launches UNDER other apps
« Reply #2 on: March 18, 2012, 02:58:06 PM »
So it's not possible to deviate from the default openbox configuration in any way, shape, or form without introducing these issues?

Insert generic "I want it how I want it" rant.  I don't blame you, Neal; I've seen this sort of crap show up in other distros.  But I've become seriously annoyed with the folks coding this stuff.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: lxpanelctl run launches UNDER other apps
« Reply #3 on: March 18, 2012, 03:34:30 PM »
So it's not possible to deviate from the default openbox configuration in any way, shape, or form without introducing these issues?

Insert generic "I want it how I want it" rant.  I don't blame you, Neal; I've seen this sort of crap show up in other distros.  But I've become seriously annoyed with the folks coding this stuff.
     
When you make changes, especially installing from outside sources, you alter your system and create a nonstandard install. It has been said repeatedly on this forum that we can not support such systems. We have always advised against installing anything not in our repos. Why? Because the stuff in our repos has been compiled and tested to work with PCLinuxOS. No one knows what changes come with the stuff installed from outside.     
We have the Package Suggest section for good reason.     
Seriously annoyed? **skipping rant**waste of effort**     

Offline arkanabar

  • Full Member
  • ***
  • Posts: 193
  • Ain't I a Stinker?
    • Arkanabar's Eclectic Rants
Re: lxpanelctl run launches UNDER other apps
« Reply #4 on: March 18, 2012, 04:14:19 PM »
But I haven't installed anything except from the repos.  The ONLY thing I've ever been tempted to install from outside sources is nethack from nethack.org, but I haven't, since I can telnet into nethack.alt.org and play there.  

All I've done is modify a config file in my home directory (/home/me/.config/openbox/lxde-rc.xml to be specific), and this is the result I've gotten.  The code mentioned in the other thread went there, along with some other keybindings to launch my favorite apps.

Interestingly enough, Thunar and gmrun show up where I want them to when I modify the keybindings to launch them instead.

edit:  good on y'all for bringing back the package suggest sections.  I've been missing them.
« Last Edit: March 18, 2012, 04:16:40 PM by arkanabar »

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: lxpanelctl run launches UNDER other apps
« Reply #5 on: March 18, 2012, 06:02:58 PM »
arkanabar,

My LXDE installation has the unaltered lxde-rc.xml file. I don't see the behavior you describe. I can right-click the panel, select Panel Settings, and the Panel Preferences window comes up above the currently running Firefox window. I just did a diff on your file versus mine. Disregarding all the hotkeys you've enabled, the following section stands out.

<menu>
    <!-- You can specify more than one menu file in here and they are all loaded,
       just don't make menu ids clash or, well, it'll be kind of pointless -->
    <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
    <file>/usr/share/lubuntu/openbox/menu.xml</file>
    <hideDelay>200</hideDelay>
    <!-- if a press-release lasts longer than this setting (in milliseconds), the
       menu is hidden again -->
    <middle>no</middle>
    <!-- center submenus vertically about the parent entry -->
    <submenuShowDelay>100</submenuShowDelay>
    <!-- this one is easy, time to delay before showing a submenu after hovering
       over the parent entry -->
    <applicationIcons>yes</applicationIcons>
    <!-- controls if icons appear in the client-list-(combined-)menu -->
    <manageDesktops>yes</manageDesktops>
    <!-- show the manage desktops section in the client-list-(combined-)menu -->
  </menu>


That should be <file>/usr/share/lxde/openbox/menu.xml</file>. I didn't look at any hotkey definitions because there are too many of them for a cursory diff.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378