Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: invisible mouse & auto start program< Next Oldest | Next Newest >
vstech Offline





Group: Members
Posts: 18
Joined: Oct. 2007
Posted: Oct. 26 2007,05:24 QUOTE

Thanks for the help on the auto mounting with the bootlocal.sh, that part is now working fine...

I am making a digital picture frame from an old laptop, and so far I the system will copy pictures automaticly from an inserted flash card at boot up to a picture directory (utilizing  bootlocal.sh).  BUt I have been unable to qiv to start with the bootlocal.sh script, obviously because the x server is not running yet.

SO, how can I get fluxbox to auto start qiv?  and is there a way to get it start again automaticly if it is closed?  And lastly, is there an 'invisible' mouse pointer that can be installed so that the mouse is not always in the middle of the displayed picture?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 26 2007,13:05 QUOTE

For applications that need X, put your command in /home/dsl/.xinitrc (*before* the window manager is started).
The bootlocal.sh script is not intended to be used for *any* user applications. It is only for apps that require root power, such as system indexing or starting daemons.

The easiest way to remove the cursor is with an application called unclutter. This removes the cursor while it is idle, and brings it back when you move the mouse.
There is a way to set an empty cursor, but I don't recall how at the moment.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 26 2007,13:22 QUOTE

X programs are started in /home/dsl/.xinitrc.

To start it, and to keep it running, add something like

while [ 1 ]; do
/path/to/qiv imagedir
done

to the end of it, and add a & at the previous last command (probably fluxbox)

There is a one-pixel mouse cursor, you can find it in the forums, and there's also an app that will hide the mouse completely after some seconds of not moving it..


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
robc Offline





Group: Members
Posts: 24
Joined: Jan. 2007
Posted: Oct. 26 2007,15:43 QUOTE

I found this solution for an invisible cursor about a month ago:

http://forums.realsoftware.com/viewtop....se+hide
Back to top
Profile PM 
vstech Offline





Group: Members
Posts: 18
Joined: Oct. 2007
Posted: Oct. 26 2007,18:10 QUOTE

Thanks for your help... I added those lines (using both suggestions) but qiv does not start.  

I do get an error at boot, about not able to lock .Xauthority, but it goes by fast and that is about all I can read.  There was also another about GDK (?), again it went by too fast. I tried to hit pause but it had no effect.

I know that you can exit qiv, and I wonder if it exits it as flux is loaded.  I had hoped the one suggestion would keep it going or restart it if that happened, but I am not sure it has started at all yet.
Back to top
Profile PM 
6 replies since Oct. 26 2007,05:24 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: invisible mouse & auto start program

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code