Author Topic: Oops...xinitrc  (Read 8427 times)

T3_slider

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Oops...xinitrc
« on: February 10, 2007, 08:31:34 pm »
Well, I seem to have messed up Openbox by installing fluxbox. I installed the theme package in one of the threads and it felt the need to hijack my .xinitrc (I was going to have an xinitrc.fluxbox and a startfluxbox like I have for XFCE). Since I can't seem to find the default .xinitrc for openbox anywhere, could someone help me out and post theirs? It seems like a waste to reflash just when I got everything running perfectly when I could simply replace the .xinitrc (and although I could make a new .xinitrc and get it up and running, I'm not good enough to get it to the exact state it started in).

I would be eternally grateful if someone could help me out...(and I would make a backup of it in case this happened again!)
Conics SL-C3200 running pdaXrom beta3 and XFCE with a Planex WiFi CF card.

Slackware rules!

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Oops...xinitrc
« Reply #1 on: February 10, 2007, 08:47:16 pm »
I would help, but where is it located?
I have pdaxii13
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Oops...xinitrc
« Reply #2 on: February 10, 2007, 08:48:10 pm »
Quote
Well, I seem to have messed up Openbox by installing fluxbox. I installed the theme package in one of the threads and it felt the need to hijack my .xinitrc (I was going to have an xinitrc.fluxbox and a startfluxbox like I have for XFCE). Since I can't seem to find the default .xinitrc for openbox anywhere, could someone help me out and post theirs? It seems like a waste to reflash just when I got everything running perfectly when I could simply replace the .xinitrc (and although I could make a new .xinitrc and get it up and running, I'm not good enough to get it to the exact state it started in).

I would be eternally grateful if someone could help me out...(and I would make a backup of it in case this happened again!)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153761\"][{POST_SNAPBACK}][/a][/div]

the default matchbox .xinitrc is actually /usr/bin/mbsession
.xinitrc is just a symlink to it, so just symlink it back
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

T3_slider

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Oops...xinitrc
« Reply #3 on: February 10, 2007, 09:00:35 pm »
Thanks so much Meanie -- your infinite wisdom never ceases to amaze me. ;-)

And thank-you for offering your help, Jon_J.
Conics SL-C3200 running pdaXrom beta3 and XFCE with a Planex WiFi CF card.

Slackware rules!

radiochickenwax

  • Full Member
  • ***
  • Posts: 158
    • View Profile
Oops...xinitrc
« Reply #4 on: February 10, 2007, 09:24:38 pm »
Did you get fluxbox to run on the 3200?  How long did it take to load?

I'm having a similar problem in this thread:

https://www.oesf.org/forums/index.php?showtopic=23202

... fluxbox loads, but takes maybe 5 minutes or so... and only the older version (0.9.10) works for me.
ZAURII:    sl-6000 : (temporarily) bricked pdaxrom b1   ||   sl-c3200 : yonggun/Debian-EABI
OTHERS:  htc-excalibur,  axim x5,  ipaq 4355, (still trying to find useable linux setups)
thinking about gumstix to replace/augment zaurus

T3_slider

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Oops...xinitrc
« Reply #5 on: February 11, 2007, 01:18:11 pm »
Fluxbox does load, but it takes about 1 minute and 20 seconds (Not as long as you describe, but still quite long). I think I'm going to abandon fluxbox because there isn't really a speed increase compared to XFCE. IceWM, however, is blazingly fast, so I plan on using XFCE for normal use and IceWM for heavy-duty stuff that doesn't run smoothly or quickly on XFCE (and KDE occasionally when I have some free time).
Conics SL-C3200 running pdaXrom beta3 and XFCE with a Planex WiFi CF card.

Slackware rules!

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Oops...xinitrc
« Reply #6 on: February 11, 2007, 01:47:04 pm »
I compiled my own Fluxbox on r121, and it loads in ~15 seconds with Feh and Torsmo. You could try doing the same, it's really easy.

Alternatively, I could post my package, should anybody care to try it. No guarantees dor 2.4.x kernels, but it may work.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Oops...xinitrc
« Reply #7 on: February 11, 2007, 01:47:53 pm »
I forgot to say that changing the theme from Sn33z to some other theme I got seemed to make it load much faster.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

scheck.r

  • Sr. Member
  • ****
  • Posts: 320
    • View Profile
    • http://
Oops...xinitrc
« Reply #8 on: February 11, 2007, 02:13:30 pm »
Same here on beta3, it takes ~12 seconds to load and I am using Sn33z theme. So something must be wrong in your setup. I am using the latest package from here:
https://www.oesf.org/forums/index.php?showtopic=21726&st=30
I also tried IceWM and both have the same speed, I measured the time to load a bunch of software and it takes exactly the same amount of time.
« Last Edit: February 11, 2007, 02:15:37 pm by scheck.r »
SL-C1000 from PriceJapan(cheap and very fast shipping) with EA-70 power adapter, iRiver USB Host cable, PDAIR case, pentopia stylus, ultra clear screen-protector from shop.brando.com.hk only $3 for shipping worldwide
4GB Hitachi Microdrive, 1GB Kingston Elite Pro CF, 4GB Transcend 150x SD, Symbol Spectrum 4137 CF WiFi(low power)
PdaXrom pdaxii13 5.4.9 updated with Kkazakov13's feed. I owned a SL-6000L before

radiochickenwax

  • Full Member
  • ***
  • Posts: 158
    • View Profile
Oops...xinitrc
« Reply #9 on: February 11, 2007, 03:41:15 pm »
Quote
I compiled my own Fluxbox on r121, and it loads in ~15 seconds with Feh and Torsmo. You could try doing the same, it's really easy.

I did compile it.  No speed increase in beta3 or pdaxii13.  

Quote
Fluxbox does load, but it takes about 1 minute and 20 seconds (Not as long as you describe, but still quite long).

The only version that works for me is  9.10 as I mentioned in the other thread.  I think I probably had similar load times in beta3 on my 3200, but since I've been using pdaxii13, fluxbox is a lot slower, and everything else is a lot faster.

I had a lot of packages on CF and SD, and that would take about five minutes for "ipkg-link" to figure out on every card insert.

  After switching to pdaxii13,  where most packages are installed on the internal microdrive, the "ipkg-link" wait-time is reduced to nearly nothing.   But fluxbox is that much slower.  This is the only program that seems so much slower for me.  

It's really frustrating because I just can't bring myself to embrace openbox, which runs very smoothly.  It gets in my way for all kinds of things.

I'm an electrical engineering student in university, and I do almost all of my school work on my Zaurus. I spend a lot of time taking screenshots of my notes and books which are heavily ridden with diagrams and mathematical typography that just isn't possible to represent in ASCII without TeX formatting   So I spend a lot of time with LaTeX and DVIPNG compiling toolchains, and this is sometimes just too slow compared to just using:

Code: [Select]
import Equation098.png

Which lets me take screenshots of just tiny little rectangles in my display that I won't have to crop later on.

Openbox (or XFCE)  won't let me switch windows around very easily without displaying a lot of useless information such as which workspace I'm on and what the title of the window is that I just switched to, whereas "lighter" window managers such as blackbox, twm, or fluxbox  just stay out of my way.

I'm sure there are some configuration options to change this behavior in openbox, but I already spend what I feel is far too much time RTFMing when I have a lot of higher priority tasks, and fluxbox, used to just work for me, whereas as of beta3, it's a little annoying.

I used to use blackbox way back when... I used this for WinXP a lot too. Click here if you're interested.  But I've since grown really accustomed to fluxbox's tabs, and it's kinda difficult for me to go without them.

Besides, I can't find the "bbkeys" package anywhere, and it seems to refuse to build from source code for me right now, without recompiling the blackbox source code, which I spent awhile last night trying to do, but ultimately gave up on after a lot of errors on "iconv".

Quote
No guarantees dor 2.4.x kernels, but it may work.

I've been putting off upgrading to rc121 until it seems a little more stable. Looks like my best bets for now are just to switch back to standard beta3 or learn to deal with openbox.

Well, hopefully that's not too much ranting for you all.  Thank you for your input everyone, it does help a lot. Please keep me informed (on this thread) if you use pdaxii13 on a 3200 with fluxbox.
« Last Edit: February 11, 2007, 03:50:36 pm by radiochickenwax »
ZAURII:    sl-6000 : (temporarily) bricked pdaxrom b1   ||   sl-c3200 : yonggun/Debian-EABI
OTHERS:  htc-excalibur,  axim x5,  ipaq 4355, (still trying to find useable linux setups)
thinking about gumstix to replace/augment zaurus

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Oops...xinitrc
« Reply #10 on: February 11, 2007, 05:52:06 pm »
What about IceWM? It's pretty light, especially if you don't use the ROX desktop. I find it to be fairly similar to Fluxbox.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

radiochickenwax

  • Full Member
  • ***
  • Posts: 158
    • View Profile
Oops...xinitrc
« Reply #11 on: February 11, 2007, 07:00:29 pm »
Quote
What about IceWM? It's pretty light, especially if you don't use the ROX desktop. I find it to be fairly similar to Fluxbox.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

IceWM is fast, but it doesn't support tabbing.

See
[a href=\"http://fluxbox.sourceforge.net/docbook/en/html/x234.html]http://fluxbox.sourceforge.net/docbook/en/html/x234.html[/url]

and

http://en.wikipedia.org/wiki/Tabbed_document_interface

 Fluxbox is the probably best for this IMHO.  Can open lots of programs in a single window, and reconfigure their placements etc.  Also supports automatic resizing of overly large windows.

I've compiled devil's pie

http://www.burtonini.com/blog/computers/devilspie

which I'm trying to incoporate with blackbox, but this still isn't quite the same (yet).
Also, I'm fairly certain FVWM can do tabs as I've seen in this document

http://fvwm.lair.be/viewtopic.php?t=724&si...ba12f561cbf3a8e

...but that seems like a lot to setup, whereas in fluxbox it just works.  Also, I think FVWM is due for a rebuild on pdaxrom, and I'm not about to try that just yet.

I flashed back to beta3 by the way, and fluxbox does load up in about 1-2 minutes, but  like  T3_Slider said:

Quote
Fluxbox does load, but it takes about 1 minute and 20 seconds (Not as long as you describe, but still quite long).

I don't know what pdaxii13 does to make this take so much longer, but it does something.  However, the amount of things that pdaxii13 fixes for me outweighs the single thing it's broken so far... which is just fluxbox.  So I'm back to my original starting point, of trying to either find a different WM, or learning to deal with openbox.
« Last Edit: February 11, 2007, 07:04:11 pm by radiochickenwax »
ZAURII:    sl-6000 : (temporarily) bricked pdaxrom b1   ||   sl-c3200 : yonggun/Debian-EABI
OTHERS:  htc-excalibur,  axim x5,  ipaq 4355, (still trying to find useable linux setups)
thinking about gumstix to replace/augment zaurus

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Oops...xinitrc
« Reply #12 on: April 06, 2007, 09:10:02 pm »
Quote
Quote
Well, I seem to have messed up Openbox by installing fluxbox. I installed the theme package in one of the threads and it felt the need to hijack my .xinitrc (I was going to have an xinitrc.fluxbox and a startfluxbox like I have for XFCE). Since I can't seem to find the default .xinitrc for openbox anywhere, could someone help me out and post theirs? It seems like a waste to reflash just when I got everything running perfectly when I could simply replace the .xinitrc (and although I could make a new .xinitrc and get it up and running, I'm not good enough to get it to the exact state it started in).

I would be eternally grateful if someone could help me out...(and I would make a backup of it in case this happened again!)
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

the default matchbox .xinitrc is actually /usr/bin/mbsession
.xinitrc is just a symlink to it, so just symlink it back
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153769\"][{POST_SNAPBACK}][/a][/div]
I have pdaxii13-akita5.3.4 on NAND only.
I just installed iceWM_1.2.30 and iceWM-pdaxrom and dependencies and I couldn't get it to start.
It just tried starting X, then would drop back to the console.
I couldn't get it running and was now without a GUI.
I read this thread:
Icewm- How Do I Start It?
[a href=\"https://www.oesf.org/forums/index.php?showtopic=21044&hl=]https://www.oesf.org/forums/index.php?showtopic=21044&hl=[/url]

The advice there didn't help either, then I found this thread that I'm replying to now.
I decided to rename /home/root/.xinitrc to .xinitrc2, then made a new symlink as meanie suggested.
I am now able to get back into the matchbox/rox GUI.
At first I tried just creating the symlink as meanie suggested, but got a message that this symlink already existed.
This is why I renamed the original one, (which iceWM had symlinked to it's own file, "icewm-session")
I then uninstalled all iceWM related stuff and the one dependency that I needed for it.
I'll try iceWM later when I know more about changing window managers.
« Last Edit: April 06, 2007, 09:14:56 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Oops...xinitrc
« Reply #13 on: April 06, 2007, 09:34:58 pm »
Have you tried the .xinitrc files that I posted in the ultimate ICEWM configuration thread? icewm-session seems to not work...so avoid using theicewm-pdaxrom package.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Oops...xinitrc
« Reply #14 on: April 06, 2007, 09:49:16 pm »
I wasn't sure how or what to install, so I just installed icewm_1.2.30_armv5tel.ipk
It didn't seem to work, and I wasn't sure of it's dependencies, so I looked at the packages file in the feed (mail.pdaxrom.org-1.1.0beta1-C1000-C3100) and installed imlib and icewm-pdaxrom. Those were the only dependencies that I didn't already have installed.
It doesn't uninstall cleanly either. I found a file remaining in my /usr/bin folder called ice-session (not sure of the correct name now, it was created by icewm, but it is not in  either of the above 2 *.ipks)
It was causing some odd behavior in ROX. Every time I opened and closed my /mnt/cf folder it asked if I wanted to unmount it. This behavior never happened before.
I also wasn't able to retain my bold fonts settings in gtk-switch that controls the fonts in ROX folders and dialogs.
« Last Edit: April 06, 2007, 09:51:47 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers