element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Support (English) No beep on linux (KDE) environement
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 4 replies
  • Answers 1 answer
  • Subscribers 178 subscribers
  • Views 920 views
  • Users 0 members are here
Related

No beep on linux (KDE) environement

kikoun
kikoun over 10 years ago

Hello, everyone !

 

I have a little trouble with the beep. Eagle doesn't play any beep (neither when displaying an error message, neither when I end a route).echo -e '\a'

I already check the 'beep' option (option, settings, beep), and it's working fine on windows PC.but on my linux (KDE) PC, no way to produce any sound.

The sound work on that PC, (echo -e '\a' in a console produce a nice dong !, and other application manage to produce sounds.

 

Is somebody have an idea ? 

  • Sign in to reply
  • Cancel
  • autodeskguest
    0 autodeskguest over 10 years ago

    Am 08.03.2015 um 10:36 schrieb Guillaume barrey:

    Hello, everyone !

     

    I have a little trouble with the beep. Eagle doesn't play any beep

    (neither when displaying an error message, neither when I end a

    route).echo -e '\a'

    I already check the 'beep' option (option, settings, beep), and it's

    working fine on windows PC.but on my linux (KDE) PC, no way to produce

    any sound.

    The sound work on that PC, (echo -e '\a' in a console produce a nice

    dong !, and other application manage to produce sounds.

     

    Is somebody have an idea ?

     

    --

    To view any images and attachments in this post, visit:

    http://www.element14.com/community/message/142878

     

     

    Hi,

     

    basically it works. I'm using EAGLE under KDE 4.14.5 and it beeps as

    expected. Whereas  echo -e '\a'  does not give any sound here.....

     

     

    --

    Mit freundlichen Gruessen / Best regards

    Richard Hammerl

      CadSoft Support -- hotline@cadsoft.de

      FAQ: http://www.cadsoft.de/training/faq/

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kikoun
    0 kikoun over 10 years ago in reply to autodeskguest

    Hi,

    basically it works. I'm using EAGLE under KDE 4.14.5 and it beeps as

    expected. Whereas  echo -e '\a'  does not give any sound here.....

     

    This beep comes from the system speaker, or from the audio sound card ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • autodeskguest
    0 autodeskguest over 10 years ago

    Guillaume barrey wrote:

     

    Hello, everyone !

     

    I have a little trouble with the beep. Eagle doesn't play any beep

    (neither when displaying an error message, neither when I end a

    route).echo -e '\a'

    I already check the 'beep' option (option, settings, beep), and it's

    working fine on windows PC.but on my linux (KDE) PC, no way to produce

    any sound.

    The sound work on that PC, (echo -e '\a' in a console produce a nice

    dong !, and other application manage to produce sounds.

     

    Is somebody have an idea ?

     

    --

    To view any images and attachments in this post, visit:

    http://www.element14.com/community/message/142878

     

    It can be ugly. If you actually have a speaker in your PC (many modern

    desktops and laptops don't) make sure the pcspkr module is loaded, and

    confirm in KDE that System Settings->Application and System Notifications-

    System Bell has the 'Use system bell instead of system notification' box

    checked.

     

    If you don't have a speaker, good luck. I haven't figured out how to get a

    beep from Eagle yet either without a built-in speaker (my box doesn't have

    one). Without a speaker, you have to use system notifications, which

    basically means KDE plays a sound file when it gets a notification event.

    For example, to get your echo -e '\a' example to work in konsole, you have

    to have the box I mentioned earlier unchecked. Then, in the 'Manage

    Notifications' tab, use the 'Event source' drop down box to select

    'Konsole'. Select the 'Bell in Visible Session' line, check the 'Play a

    sound' box, and select one of the available sound files. Then click 'Apply'.

    Echoing the bell character, as your example does, in the konsole window will

    now play that sound file.

     

    However, I haven't figured out how to get KDE to recognize a beep from Eagle

    using system notifications. Eagle is not one of the apps recognized as a KDE

    'Event source'. (Presumably you have to do something KDE-ish in the source

    code to make that happen?) As a Qt app, perhaps Eagle is using

    QApplication::beep() to make the beep sound. When I looked at that in past,

    it appeared that Qt is either sending an ASCII 7 (\a) to stdout or calling

    XBell if xlib is linked in. In any case, I have no idea if that's actually

    what Eagle is calling to generate the bell, or what magic incantation KDE

    needs to recognize it as a notification and play the appropriate tune.

     

    Bob

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • kikoun
    0 kikoun over 10 years ago in reply to autodeskguest

    Hi

    Thank bob for your help.

     

    I manage to make a beep from Eagle ! and better, I manage to select the system speaker or a nice sound our choice !

     

    The problem is that the 'use system bell' option  in the 'KDE system Setting -> Applications and system Notifications' is NOT the only option that manage that speaker..... there is some other options in the 'KDE system setting->accessibility': here we can choose between

    - the PC system speaker, the awful sound of the prehistoric speaker can be adjust in the 'KDE system Setting -> Applications and system Notifications'  (we can adjust the pitch (frequency) and the duration (also the volume, but the result is quite strange !).

    - or select a wav file of our choice !

     

    So now the problem is solved ! no need to proceed  with magic incantations.... just need to have a completely disturb mind like the KDE programmer's who separate  sounds setting into 2 different location !

     

    Guillaume.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube