Re: how to run xrandr command at startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/03/15 06:44, CS DBA wrote:
> Hi all;
>
> I want to run an xrandr command at startup.
>
> I Tried these solutions with no luck:
>
> 1) added command it to /etc/rc.d/rc.local (as a script with #!/bin/bash as the first line)
>     created a soft link from /etc/rc.d/rc.local to /etc/rc.local
>     systemctl start rc-local.service

Is there any reason why you didn't just follow the instructions located as comments in  /lib/systemd/system/rc-local.service ?  Note the mention of "executable" in the comments.

FWIW, I've found that redirecting stderr to a file for each command can help diagnose issues.  Also, adding an "echo" with a redirect to a file can let you know if a command is being run that you're expecting to be run.

>
> 2) added command to /etc/kde/kdm/Xsetup
>     chmod a+x /etc/kde/kdm/Xsetup
>
>
> Neither of the above solutions work
>
>
> I'm running Fedora 21, KDE spin (64bit)
>
> Thanks in advance for any help...
>

So, you turned off the default sddm in F21 and switched back to kdm?


-- 
If you can't laugh at yourself, others will gladly oblige.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux