Especially during day flights the time in the place can be used to work. As everywhere it is important to reduce interruptions:
If you fly business or first the seat does not matter so much. If you want to use your laptop in economy class try to get a seat at the emergency exit or in front of a section wall. You have no person sitting in front of you who could decline the seat making it almost impossible for you to use your computer. Only be careful during holiday season since you might find a lot of families with very small kids on these seats
2) Avoid to be disturbed by your neighbor
If you want avoid being disturbed by your neighbor if you immediately put on your headphones - even if you do not want to listen to the music.