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

-1
votes
0answers
29 views

Xbox One controller is not being recognized

I am trying to use an Xbox One controller in Ubuntu 14.04, and it's not being recognized at all. I updated the kernel to 3.17, and I tried using both xboxdrv and xpad, but neither seem to detect ...
5
votes
1answer
114 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
17 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
0answers
38 views

Detect USB Device connect event from any system file

I will explain my problem scenario first, I have a few touchscreen computers that run on Ubuntu 14.04LTS. I have already disabled USB Mass stroage access through blacklist.conf file. But one strange ...
0
votes
1answer
99 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
1answer
30 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
65 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
166 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
78 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
0answers
71 views

MDADM: 3-drive RAID5 won't assemble (event count off by 2)

I just upgraded from 12.04 LTS to 14.04 LTS and when i tried to fire up my RAID it will not assemble... even using --force won't help, which is odd because yes the event counts are off but only by ...
0
votes
1answer
29 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
204 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 ...
3
votes
3answers
455 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
63 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
1answer
66 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 ...
1
vote
1answer
1k 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
20 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 ...
0
votes
0answers
8 views

Mouse events using built-ins

I bound almost every often used action to a keyboard shortcut. Now the only left-overs are mouse buttons. I found out the codes using xev, but I'm unaware of their proper usage. Could anyone suggest ...
1
vote
0answers
135 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
389 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
179 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
1answer
501 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
451 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 .
14
votes
1answer
2k 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 ...
13
votes
4answers
6k 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
5k 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
244 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 ...
1
vote
2answers
141 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, ...
1
vote
1answer
133 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
420 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
95 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
509 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
94 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
356 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
166 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
804 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 ...
13
votes
1answer
13k 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 ...
2
votes
1answer
625 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
430 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 ...
13
votes
2answers
10k 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?
1
vote
0answers
260 views

Creating basic ACPI event makes the system unusably slow [closed]

I want to change a few settings on my laptop when I switch to battery power. I created a new event in /etc/acpi/events/cust-battery and it looks like this: event=battery action=/home/skerit/power.sh ...
1
vote
1answer
819 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 ...
6
votes
1answer
339 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
4k 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 ...