Keep a custom xrandr screen definition in xubuntu

Asked by giovimonto on 2015-11-22

I'd like that, as soon as I log in, a custom screen resolution will immediatly set up without having the trouble of going through:
xrandr --newmode <custom screen resolution>
xrandr --addmode VGA1 <custom screen resolution>
xrandr -s <custom screen resolution>
--
So a sort of script that auto-runs at log in! I've tried to insert this script into the /etc/init.d/ folder, but nothing happens, and i'm forced to runs the commands above in terminal.
What can I do?
I use Xubuntu 14.04

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu unity Edit question
Assignee:
No assignee Edit question
Last query:
2015-11-22
Last reply:
2015-11-22

Make a shell script then use the startup manager to run the script after login.

Can you help with this problem?

Provide an answer of your own, or ask giovimonto for more information if necessary.

To post a message you must log in.