In Tahr 32-bit ver 6.0.6, it'snumber77 wrote:Where is xinitrc, a search says it is in /root/.xinitrc. Even with the eye pressed I can't find it in root.
Code: Select all
ls -la /root/.xinitrc
-rwxr-xr-x 1 root root 6261 Feb 20 2017 /root/.xinitrc
In Tahr 32-bit ver 6.0.6, it'snumber77 wrote:Where is xinitrc, a search says it is in /root/.xinitrc. Even with the eye pressed I can't find it in root.
Code: Select all
ls -la /root/.xinitrc
-rwxr-xr-x 1 root root 6261 Feb 20 2017 /root/.xinitrc
Sorry sheldonisaac that doesn't mean anything to me, my terminal skills very basic.sheldonisaac wrote:In Tahr 32-bit ver 6.0.6, it'snumber77 wrote:Where is xinitrc, a search says it is in /root/.xinitrc. Even with the eye pressed I can't find it in root.Code: Select all
ls -la /root/.xinitrc -rwxr-xr-x 1 root root 6261 Feb 20 2017 /root/.xinitrc
Code: Select all
ls -a /root
Code: Select all
geany /root/.xinitrc
Code: Select all
geany /root/.xinitrc&
Code: Select all
cp /root/.xinitrc /root/xinitrc.tar
Code: Select all
cd /root
tar -cf xinitrc.tar .xinitrc
I gave up trying to make a copy of xinitrc and took the plunge and inserted your command xrandr --output DP3 --off in it and it now is able to go full screen at every boot.theru wrote:Glad to hear it's working.
When you run xrandr you see a list of available resolutions with a * after the one the screen is currently set to. There is no * when the screen is disabled.
I have noticed that the file xset.sh is rewritten when you run menu -> desktop -> pupx set properties of x and change some settings there. While that won't happen often it still means it's a less than ideal place to make the settings permanent.
The xset.sh command is called by /root/.xinitrc. The xinitrc file is less likely to be rewritten unexpectedly. However you can't just insert the xrandr command anywhere so if you decide to try it it would be best to backup the file first.
The xset.sh command is only called once in xinitrc so it's easy to locate using the find command in a text editor. On my system it's this block of text:
Just above that entry the xrandr command can be safely inserted.Code: Select all
if [ -f /root/.xset.sh ];then #this is created by /usr/bin/pupx... eval "/root/.xset.sh"
It will probably look like this:
Feel free to send me your xinitrc if you don't feel comfortable to make the changes yourself.Code: Select all
xrandr --output DP3 --off if [ -f /root/.xset.sh ];then #this is created by /usr/bin/pupx... eval "/root/.xset.sh"
*nx convention is that /etc/X11/xinit/xinitrc is run (system wide default choice). For other *nx's typically xorg includes twm, xclock, xterm such that you end up at a twm gui desktop ... which is usually a black screen with a x as a cursor. In Puppy that's been stripped out to make things leaner.theru wrote:I was curious about what would happen if .xinitrc wasn't found.