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: (5) </ 1 2 3 [4] 5 >/

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

reply to topic new topic new poll
Topic: Using .xinitrc to launch programs at startup, Handling windows through cli maybe?< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: June 13 2006,22:24 QUOTE

I don't think gqview has that ability, especially considering window minimization is (or should be) the job of the window manager.

What I'm having trouble understanding is what window is getting in the way?  If you use the "-f" (fullscreen) parameter, there should be nothing displayed other than the image window.  I've never used the "-s" parameter, so i don't know if there may be a conflict between the two....i'll test it out in a little bit, and next time i get back here i'll hopefully understand the situation better.  It may also be fluxbox.  If I remember correctly, the default settings prevent a true fullscreen application going over the toolbar.  Maybe it's preventing gqview from from going fullscreen.

In the meantime, I'd suggest looking in gqview's preferences to see if there might be a setting that will help (I didn't see one, but i looked quickly).


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





Group: Members
Posts: 4856
Joined: July 2004
Posted: June 13 2006,23:26 QUOTE

Ok, here's what I've come up with...

It doesn't work properly with fluxbox stable, and it doesn't work properly with icons.
So, you'll need to edit /home/dsl/.desktop to look like this:
Code Sample
wm: jwm
icons: 0

This will use JWM instead of Fluxbox, and won't use icons.  You might also want to comment out the dillo line from .xinitrc

Here's what my .xinitrc looks like for this, using DSL 2.4 and gqview-1.2.2.uci:
Code Sample
# put X windows programs that you want started here.
# Be sure to add at the end of each command the &

KEYTABLE="$(getknoppixparam.lua KEYTABLE)"
DESKTOP="$(getoption.lua $HOME/.desktop wm)"
ICONS="$(getoption.lua $HOME/.desktop icons)"

# For non-US Keyboards
if [ ${KEYTABLE:0:2} != "us" ]; then
 xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
fi

#if egrep -qv noicons /proc/cmdline 2>/dev/null; then
if [ "$ICONS" == 1 ]; then
 for x in `ls -1 .xtdesktop/*.hide 2>/dev/null`; do rm -f ${x%.*}; done  #  iconsnap.lua &>/dev/null &
 xtdesk.sh
fi
#dillo /usr/share/doc/dsl/getting_started.html &>/dev/null &
torsmo 2>/dev/null &
case $DESKTOP in
 fluxbox )
   fluxter &>/dev/null &
   wmswallow -geometry 70x80 docked  docked.lua &
   exec fluxbox 2>/dev/null
 ;;
 jwm )
   ./.background
   sleep 2
   /opt/gqview-1.2.2/gqview -f -s /mnt/hda3/home/mik/image/ &
   exec jwm 2>/dev/null
 ;;
 * )
   exec fluxbox 2>/dev/null
 ;;
esac


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





Group: Members
Posts: 706
Joined: April 2006
Posted: June 13 2006,23:45 QUOTE

But he want's the full desktop and setting it so you can use any desktop is much better. ???
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: June 14 2006,00:32 QUOTE

But it doesn't work.  There's something about gqview that causes it to screw up when certain applications are opened.  In fluxbox, the main window opens for some reason, and there's no way to configure it otherwise.  In jwm with icons, the toolbar pops up in front of the image window, most likely because jwm is refreshing itself.

I'll play around with it a bit more, but so far it seems as though the only way to be able to pick an arbitrary window manager to use is to go with something other than gqview.  Maybe xscreensaver would be more appropriate.


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





Group: Members
Posts: 706
Joined: April 2006
Posted: June 14 2006,00:56 QUOTE

Yeah, that's what i was thinking there might be someting else that works that way. I've got rest my eye's for now "Tag" your it. :D
Back to top
Profile PM 
23 replies since June 12 2006,15:06 < Next Oldest | Next Newest >

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

Pages: (5) </ 1 2 3 [4] 5 >/
reply to topic new topic new poll
Quick Reply: Using .xinitrc to launch programs at startup

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