View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Jan 02, 2010 9:14 pm 
Offline
Joined: Wed Mar 30, 2005 7:09 am
Posts: 104
Location: Dearborn, MI
I love Linhes! So far it is more stable for me than Knoppmyth was. One question I haven't been able to answer for myself is, where do you put start-up scripts? In this case, I want to have "nvidia-settings --load-config-only" run to adjust my overscan. I tried placing it in /etc/runit/1.local , but that doesn't seem to work. Does anyone know better? Thanks!

_________________
LinHES 8.4.3 Backend on MSI Z97 PC Mate with Pentium CPU, 16 GB DDR3 RAM, Two HD Homeruns + One HD Homerun Prime, 20 TB of storage


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 03, 2010 2:49 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Code:
[gfrost@mythtv /]$ cat /home/mythtv/.fluxbox/apps
#Uncomment below if you are using firewire
#[startup] {/usr/bin/plugctl -n 0 "oPCR[0].n_p2pconnections=1"}
[startup] {feh --bg-scale ~/.fluxbox/wallpaper.png}
[startup] {/usr/LH/bin/LinHES-run}
[startup] {nvidia-settings --load-config-only}


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 03, 2010 8:38 pm 
Offline
Joined: Wed Mar 30, 2005 7:09 am
Posts: 104
Location: Dearborn, MI
Thanks Greg. That is actually one thing I had tried, but it did not work. Perhaps it's a permission thing?

Code:
[root@Faith tcrandall]# cat /home/mythtv/.fluxbox/apps
#Uncomment below if you are using firewire
#[startup] {/usr/bin/plugctl -n 0 "oPCR[0].n_p2pconnections=1"}
[startup] {feh --bg-scale ~/.fluxbox/wallpaper.png}
[startup] {/usr/LH/bin/LinHES-run}
[startup] {nvidia-settings --load-config-only}


When I manually run the script, it is fine, but still not auto-loading at boot. Any other thoughts?

_________________
LinHES 8.4.3 Backend on MSI Z97 PC Mate with Pentium CPU, 16 GB DDR3 RAM, Two HD Homeruns + One HD Homerun Prime, 20 TB of storage


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 04, 2010 12:14 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
hmmm... works for me. I just ran nvidia-settings, set the contrast from 0 to -1 (an obvious change) quit and rebooted. When it came up, it restored the horrid contrast.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 04, 2010 1:51 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Might be totally off base but make your command a script and call the script from your ~/.fluxbox/apps

Code:
#!/bin/bash
/usr/bin/nvidia-setting --load-config-only


Don't forget to make it executable via chmod +x scriptname.sh

EDIT: seems odd that you need to do this at all as Greg pointed out. On my system, nv-s loads my config automatically too.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 04, 2010 3:58 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
You could try making the command something like:
Code:
[startup] {nvidia-settings --load-config-only &> ~/nv-s.log}
and then check to see if the command is reporing an error by examining the log file.
For the record I get a bunch of errors like this, but it still works:
Code:
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 04, 2010 9:30 am 
Offline
Joined: Wed Mar 30, 2005 7:09 am
Posts: 104
Location: Dearborn, MI
Thanks for the input fellas. I'll give it a whirl. I like LINHES, but miss the comfort of knowing the commands/tricks I had learned in Knoppmyth!

_________________
LinHES 8.4.3 Backend on MSI Z97 PC Mate with Pentium CPU, 16 GB DDR3 RAM, Two HD Homeruns + One HD Homerun Prime, 20 TB of storage


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu