Re: xset and display invalid id.

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

 



On 05.06.2013 16:21, Frank Murphy wrote:
> Have the following in xfce autostart:
> 
> #!/bin/bash
> 
> # Disable screensaver and dpms emergy star.
> export DISPLAY :0.0 
> xset s off && \
> xset -dpms 
> 
> on running:
> ./xset
> ./xset: line 4: export: `:0.0': not a valid identifier
> 
> It appears to be the correct display going by:
> echo $DISPLAY
> :0.0

Is it really necessary to specify the DISPLAY environment variable
within "Application Autostart" *.desktop file. :)

$HOME/.config/autostart/Screen-saver-off.desktop
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=Screen saver off
Comment=Set the screen saver off
Exec=xset s off
OnlyShowIn=XFCE;
StartupNotify=false
Terminal=false
Hidden=false

DPMS portion can be adjusted using the
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/dpms-enabled
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/dpms-enabled
-s true/false


poma


http://goodies.xfce.org/projects/applications/xfce4-power-manager
http://docs.xfce.org/xfce/xfce4-power-manager/preferences
http://docs.xfce.org/xfce/xfconf/xfconf-query

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
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