Events ar all changes to the computer's state, such as changes in connected hardware, changes in the current configuration or simply exist of user input. Events can e.g. be used to trigger scripts, commands or notifications.

learn more… | top users | synonyms

0
votes
0answers
19 views

Run a process as SSH starts

I would like to run a process as SSH is completing its handshake. Are there any events that I can subscribe to? I would also like to get the PID of the ssh connection. How should I approach this ...
0
votes
0answers
20 views

How can I access events from all buttons on Logitech MXMaster mouse?

I appreciate that there have been questions on this theme over the years but they haven't helped me. I recently purchased an MXMaster mouse, knowing that I would have to work to program it for my ...
0
votes
0answers
17 views

How to trigger a script when the systme is idle for certain time? [duplicate]

As the title mentions, is there any way to trigger a script or start/stop an app when the system has been idle for certain time? Similar to how screen is turned off from power settings etc.
0
votes
1answer
40 views

Wacom bluetooth capture connect

I have a Wacom PTK-540WL (Intuos4) connected to blue-tooth and everything is working fine except the button configuration. As for now I'm running a script like: #!/bin/bash xsetwacom --set "Wacom ...
0
votes
1answer
62 views

how to hook to monitor sleep event?

Is there an event I can hook up to when the monitor is set to sleep? I mean just the monitor DPMS sleep, not the PC sleep/suspend. My intention is to run a script when the monitor is sent to sleep ...
1
vote
0answers
41 views

Event handler even more low-level than acpid?

Ubuntu 14.04 Netboot didn't support my laptop's display brightness controls out of the box. So first thing I did was fire up evtest to check if the correct keycodes (KEY_BRIGHTNESSUP and ...
1
vote
0answers
26 views

Where are the default hardware button (ie. volume increase, screen brightness, play/stop music) scripts

I have installed Ubuntu 15.04 on my Thinkpad x220t and was pleasantly surprised to find that the tablet button for rotating the screen works out of box. However, while it does rotate the screen it ...
5
votes
1answer
711 views

Run script when monitor is connected

I am trying to run a script located in usr/local/bin/ when I connect an external monitor to my laptop. I have tried to add a new udev rule but that did not work. I created a new file in ...
0
votes
0answers
37 views

Tmux Signaling Events

I'm not sure if this is possible but here's what I have running on tmux. (Using tmuxinator or tmux same idea). This is my mux config: name: dummy root: ~/projects/dummy windows: - service: ...
0
votes
1answer
5k views

What does perf interupt mean?

I am working on my computer, trying to write some device code. I checked into dmesg to get some info, and saw this: perf interrupt took too long (2507 > 2500), lowering ...
0
votes
3answers
138 views

Managing Events in Shotwell

Running Shotwell 0.20.2. Shotwell recognizes events based on the date of the photo. I have three cases where this leads to problem: Multiple events on the same day. A family outing in the morning, ...
1
vote
0answers
186 views

Running a bash script on “Switch User”?

I've had my first dabble with bash and got a working script going for each user on session start which checks if a NAS share is mounted and if it is unmounts it and mounts as the current user. This ...
1
vote
3answers
286 views

How to log access to a specific folder and changes in its contents?

I need to track folder access time, and want to know what changes are made to it. How do I trigger those events? Is there a way to run a specific .sh file when the folder is opened?
2
votes
2answers
173 views

Is there a way to run a command every time the mouse moves?

I'd like to run a script every time I move my mouse. This is the first step in making a workaround so that I can use 100% of my monitor edges to go between them. Is this possible?
0
votes
1answer
54 views

Is there any way to be notified about system events in Ubuntu?

I want to write an application indicator for Unity to show a single number and a tooltip. I want to update this number when the date changes i.e. on 24:00 and I need to update it if computer wakes up ...
0
votes
1answer
374 views

How to automatically mute on headphones disconnect? Or how to tap bash script to system event listener?

My life would be easier if Ubuntu was muting the sound each time I disconnect the headphones, since every time surrounding is different (example day / night), but the same output volume. I may ...
4
votes
3answers
1k views

How do I create a single-execution Upstart job guaranteed to complete before two other jobs begin?

How does one write an Upstart task that is guaranteed to run only once after each startup but is also guaranteed to run to completion before either one of at least two other jobs start running. I do ...
0
votes
1answer
93 views

Upstart doesn't recognize desktop-unlock event

I created an Upstart job under /etc/init and it is a simple job as: start on desktop-unlock exec <my script> My script is under /usr/bin and is executable. But it seems Upstart only ...
-1
votes
2answers
131 views

Can i get notified of, and handle system events (especially curious about wifi being turned off)

Since ubuntu 14.04 LTS, i've been having this issue that my wireless connection gets "messed up" - more specifically I sometimes loose connection. I'm currently solving this issue by disconnecting ...
4
votes
1answer
3k views

Catch lid close and open events

I tried to write a script like this suggestion: How do I configure the screen to lock when I close the lid? I created a directory and a new script file: mkdir /etc/acpi/local gksudo gedit ...
2
votes
1answer
26 views

Where can I find a list of Ubuntu global events in the world?

I'd like to go to an event of Ubuntu. I don't care about the country or month. Is there any wiki/web page where I could see all the (specific) Ubuntu events in the world? Just global events like the ...
1
vote
0answers
180 views

Extremely slow ACPI Event Propagation

A follow up to my previous question here: Run a Script when Power Button is Pushed So I am able to detect ACPI events and I intercept the power button press appropriately, however there is an ...
4
votes
2answers
680 views

How to detect events like lock/unlock screen, enter/return suspend and monitor power off

I am wondering if there is any way to detect system wide events under linux such as: user un/locked session user logs in/out machine sent to suspend screensaver goes on and the monitor switches off ...
1
vote
1answer
182 views

“Add Event…” button, why is there?

If you click on top right (by default) on time, you will see calendar. Below calendar there is button "Add Event...", but if you click it, it does nothing. Why is it there, how can I use it?
0
votes
2answers
686 views

Empty Trash Sound Event?

is there any way to add a sound event every time i empty trash on my Ubuntu 12.04.2 lts i386 unity version. ?
0
votes
1answer
721 views

how to add daily events via command-line?

Is there any way to add the our events from he terminal ? I know the GUI way but I want to do it from the terminal .
19
votes
1answer
3k views

How do Fn keys work?

I like to know how Fn keys work in my laptop. I think a kernel module exist that catch Fn key and call some scripts to do something. In my laptop, Fn+F2 switch power of wireless and blue-tooth. this ...
15
votes
4answers
9k views

Set HDMI sound output automatically on connect/disconnect

I have a dual screen setup on my laptop (using 12.04 LTS) using a HDMI connected display. Everything works fine, but everytime I connect/disconnect the cable I have to go to Sound preferences and ...
0
votes
1answer
7k views

How can I monitor syslog and send notification based on events?

I'm going to be sending syslog from my one device/server to an Ubuntu server. On the Ubuntu server (receiving the syslog), I want it to trigger a script when specific syslog messages arrive. Is this ...
0
votes
1answer
292 views

How do I resolve date range events?

Shotwell has grouped a large number of images in a "date range" event. I do not know when and how this happened; the images may have been group this way for a year or so. All new images a event tagged ...
2
votes
2answers
166 views

Assign sounds to system events like Windows

Can sound files be assigned to system events in Ubuntu 12.04? In Win, I could play .wav files at startup, shutdown, new mail, exclamation, etc. I read somewhere about Ubuntu-Tweak & installed, ...
2
votes
1answer
155 views

How to check in script if upstart event was emited?

I am running remote connection on session start using xdg autostart script. But sometimes network interface needs more time to start. So I need to check if network is up. Is it possible to check if ...
1
vote
1answer
509 views

Python Gtk event ignore

I would like to ignore some key events in a text view, now i do the following def on_key_press_event(self,source,event): keyname = Gdk.keyval_name(event.keyval) if(keyname=="Return"): ...
1
vote
1answer
104 views

How to implement event changed event on Entity object Python/Quickly

I start to develop a test application to experiment button clicks, window's title change and other widgets use. on button objects it's easy to make event "clicked" to work, in to window class and ...
6
votes
1answer
552 views

Is there a way to have event sounds?

Basically, I want to have Ubuntu 11.10 play sounds when events occur, like adding and removing a USB or FireWire device, when it finds hardware, pops up a notification, or mounts a new volume. Like ...
4
votes
1answer
96 views

What is Ubuntu Global Jam?

I keep seeing the above image here on the Ask Ubuntu and I'm curious to know what Ubuntu Global Jam is.
5
votes
1answer
383 views

How to show day/month number of events in datetime indicator? [closed]

I configured the datetime indicator to show upcoming Evolution events. I'm using Ubuntu 11.04 but it is the same with 11.10. There is a way to show number of day and month in events list, and not ...
6
votes
1answer
168 views

Is there a public calendar for key Ubuntu events?

I've been looking at the schedule for Ubuntu Developer Week (11th to 15th of July), and started entering the schedule into my Google calendar (XML, iCal, HTML). At this point, I thought to myself... ...
0
votes
1answer
852 views

Lirc is conflicted by some default ir-controlling module so that it only sends keyboard input

I've tried to find a solution for this problem for some time. Apparently Natty loads some default modules for handling IR-input and sends them as keyboard input instead of the lirc event I want. This ...
15
votes
1answer
18k views

How do I find the last logged system boot and shutdown times?

I'm a Rails developer working on a web application on Ubuntu Server 10.04. Due to internal requirements, I was asked to find the last 10 system boot and shutdown times... I have no clue where to find ...
3
votes
1answer
644 views

The panel date/time Applet doesn't show the evolution agenda's events

Ubuntu 11.04 Classic desktop Beta 2: When the user click (unrolls) the applet located on the top panel (date/time/weather) doesn't show the evolution calendar events. (It shows just the time and ...
1
vote
1answer
465 views

Sense of “stop on…” stanza when job is a task

an upstart question (I think I have read all relevant man pages but could not find the answer there): What is the sense of using a "stop on ..." stanza in the definition of a job which is a task? The ...
16
votes
2answers
12k views

What events are available for Upstart?

Is there a list of available events that can be used for Upstart? For example start on local-filesystems so local-filesystems is an event but when is it triggered and what other events are there?
2
votes
1answer
967 views

How can I listen on global keypress event?

I want to create myself very tiny app, which will play a sound every time I press a key on my keyboard. I don't need to know which key on the keyboard was pressed, I just need to somehow know that it ...
7
votes
1answer
360 views

Browser automatically refreshes and Home folder window opens

I am facing a very strange problem. Out of the blue, my browser starts refreshing itself infinitely. My first guess was firefox is messing up. I installed chrome. But, it happens in chrome as well. ...
7
votes
4answers
6k views

Alt+Printscreen stopped working, how to find processes listening to events

Very odd issue today. I was going to post a thread about another issue and wanted to take a screenshot of a terminal window. I got it all prepped, hit Alt+Printscreen and nothing happened. I went ...