Advertisement
Guest User

Untitled

a guest
May 4th, 2012
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. Mind the "OnlyShowIn" and AutostartConditio options, you might not want them
  2.  
  3. mirko@WizBox:~$ cat /etc/xdg/autostart/custom.desktop
  4. [Desktop Entry]
  5. Type=Application
  6. Name=Files
  7. Exec=/bin/xtest
  8. OnlyShowIn=GNOME;Unity;
  9. AutostartCondition=GSettings org.gnome.desktop.background show-desktop-icons
  10. NoDisplay=true
  11. mirko@WizBox:~$
  12. mirko@WizBox:~$ cat /bin/xtest
  13. #!/bin/sh
  14.  
  15. exec 1>/tmp/custom.log 2>&1
  16. xrandr -s 1024x768
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement