Beep (system bell) not working in LXTerminal  Topic is solved

All questions and problems regarding LXDE components including LXSession, LXAppearance, GPicView, Leafpad, LXTerminal, Xarchiver, LXNM to be discussed here.

For PCManFM questions, please ask in the dedicated forum below.

Beep (system bell) not working in LXTerminal  Topic is solved

Postby g4c9z » Mon Mar 29, 2010 2:22 pm

The command:

Code: Select all
echo -ne \\a


is supposed to produce a beep through the PC speaker, and it does on other terminal emulators. But on LXTerminal, it doesn't. Is this normal? Does anyone know what the cause might be? It also happens with "terminal", the terminal emulator for XFCE. I'm not sure if it's a bug or a misconfiguration (and also I can't find how to report a bug in LXTerminal).

I'm running Gentoo Linux, and am not using the full LXDE environment.
g4c9z
 
Posts: 6
Joined: Mon Mar 29, 2010 2:16 pm

Re: Beep (system bell) not working in LXTerminal

Postby Marty Jack » Mon Mar 29, 2010 4:58 pm

It is programmatically disabled. I am working on LXTerminal right now and I will add it as a user preference. That is about the only one we don't have.

Up top where it says "Read this first if you want to report a bug" there are instructions.
Marty Jack
 
Posts: 381
Joined: Mon Mar 23, 2009 6:14 am

Re: Beep (system bell) not working in LXTerminal

Postby g4c9z » Tue Mar 30, 2010 12:38 pm

OK, that's great, thanks.
g4c9z
 
Posts: 6
Joined: Mon Mar 29, 2010 2:16 pm

Re: Beep (system bell) not working in LXTerminal

Postby Marty Jack » Tue Mar 30, 2010 1:25 pm

Checked in yesterday. Read release notes here.

viewtopic.php?f=26&t=1446
Marty Jack
 
Posts: 381
Joined: Mon Mar 23, 2009 6:14 am

Re: Beep (system bell) not working in LXTerminal

Postby g4c9z » Tue Mar 30, 2010 2:23 pm

I tried checking it out from git and building it. When I ran it from the directory "make" built it in (I didn't do make install), I noticed some major problems - the "Preferences" dialog doesn't come up at all, and there's a significant delay when switching focus to the window before it gains focus. I'm not sure if these are actual bugs (perhaps introduced by your commits), or whether they're just related to the fact that I have an older release of lxterminal installed in /usr/bin, and am running another compiled version from my home directory. (However, I only have instances of the new version running.)
g4c9z
 
Posts: 6
Joined: Mon Mar 29, 2010 2:16 pm

Re: Beep (system bell) not working in LXTerminal

Postby Marty Jack » Tue Mar 30, 2010 4:47 pm

The conversion to GtkBuilder requires that the XML file lxterminal-preferences.ui is present in the directory where make install puts it in order for the preferences dialog to work at all.
You could install that manually if you wanted to, since it is not used in the previous release.
Marty Jack
 
Posts: 381
Joined: Mon Mar 23, 2009 6:14 am

Re: Beep (system bell) not working in LXTerminal

Postby g4c9z » Tue Mar 30, 2010 10:11 pm

OK, I ran make install to install it in /usr/local/bin, and that fixed the preferences, and the beep is working. But it still doesn't explain / fix the delay when switching the window focus...
g4c9z
 
Posts: 6
Joined: Mon Mar 29, 2010 2:16 pm

Re: Beep (system bell) not working in LXTerminal

Postby Marty Jack » Tue Mar 30, 2010 11:36 pm

I see nothing different or out of the ordinary about how focus is working in the new release. Give me a more elaborate step-by-step of the scenario that isn't satisfactory? I assume this was working properly for you in the released version? What is your window manager? What is your panel?
Marty Jack
 
Posts: 381
Joined: Mon Mar 23, 2009 6:14 am

Re: Beep (system bell) not working in LXTerminal

Postby g4c9z » Wed Mar 31, 2010 1:34 am

My window manager is XMonad with a tabbed layout, where every window fills the screen (except for an XMobar status bar at the top). It happens every time I click on the LXTerminal tab while another window is visible - it takes about a second for LXTerminal to appear. However, I can reproduce it in Fluxbox as well, but only when I minimize LXterminal, then click to restore it. There's no delay when I have a bunch of maximized windows and click on LXTerminal to show it. I'm guessing in all floating window managers, there'll be a delay when it's restored from being minimized.

It is a significant problem... much worse than not having a system beep. And yes, the release version doesn't have this problem - version 0.1.6.
g4c9z
 
Posts: 6
Joined: Mon Mar 29, 2010 2:16 pm

Re: Beep (system bell) not working in LXTerminal

Postby Marty Jack » Wed Mar 31, 2010 1:24 pm

If you wanted to go ahead and debug this and send a patch, be my guest. It will be a while before I can get to something that only happens on XMonad.
Marty Jack
 
Posts: 381
Joined: Mon Mar 23, 2009 6:14 am

Next

Return to LXDE Components

Who is online

Users browsing this forum: No registered users and 0 guests

cron