The aircraft suffered an electrical malfunction during a scheduled night flight between Khartoum (Sudan) and Beirut (Lebanon). The more significant symptoms included the intermittent failure of the captain and co-pilot’s electronic displays and the uncommanded application of left rudder trim; the flight crew also reported that the aircraft did not seem to respond as expected to control inputs. A large number of ECAM messages and cautions were presented. The uncommanded rudder trim caused the aircraft to adopt a left-wing-low attitude and deviate to the left of the planned track. Normal functions were restored after the flight crew selected the No 1 generator to OFF in response to an ECAM ‘ELEC GEN 1 FAULT’ message. The aircraft landed safely at Beirut.