Author Topic: X/qt Rootless Mode  (Read 35635 times)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
X/qt Rootless Mode
« on: April 27, 2006, 04:17:23 pm »
On the X/Qt site you can see this screenshot of running in rootless mode.

This might be a solution to running individual X apps in Qtopia, i.e. being able to switch just to the app, not to the whole X/Qt desktop.

Does anyone have any experience with this? How do you start an app in X/Qt in rootless mode?
« Last Edit: April 27, 2006, 04:24:33 pm by ShiroiKuma »
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
X/qt Rootless Mode
« Reply #1 on: April 27, 2006, 04:22:15 pm »
this sounds interesting....I like the idea!
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
X/qt Rootless Mode
« Reply #2 on: April 27, 2006, 04:32:47 pm »
That would be a great idea.    
1. would occupy less disc/card space
2. would occupy less RAM
3. seems like apps would launch quicker and be snappier because of using less resources
Quote
This might be a solution to running individual X apps in Qtopia, i.e. being able to switch just to the app, not to the whole X/Qt desktop.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124836\"][{POST_SNAPBACK}][/a][/div]
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/
X/qt Rootless Mode
« Reply #3 on: April 28, 2006, 03:45:20 am »
Quote
That would be a great idea.   
1. would occupy less disc/card space
2. would occupy less RAM
3. seems like apps would launch quicker and be snappier because of using less resources
Quote
This might be a solution to running individual X apps in Qtopia, i.e. being able to switch just to the app, not to the whole X/Qt desktop.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124836\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124842\"][{POST_SNAPBACK}][/a][/div]

the next update of pdaXqtrom will have a rootless option, ie invoked via xlauncher -embed appname
the qtopia icons will have the -embed flag added to the launch scripts
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

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
X/qt Rootless Mode
« Reply #4 on: April 28, 2006, 05:02:32 am »
yes! killer!
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
X/qt Rootless Mode
« Reply #5 on: April 30, 2006, 01:09:44 pm »
Quote
yes! killer!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124924\"][{POST_SNAPBACK}][/a][/div]

here's xmms in rootless mode

the new image will be ready soon. just compiling a few extra bits which takes a while on the Z
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

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
X/qt Rootless Mode
« Reply #6 on: April 30, 2006, 06:59:05 pm »
Quote
here's xmms in rootless mode

the new image will be ready soon. just compiling a few extra bits which takes a while on the Z
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125204\"][{POST_SNAPBACK}][/a][/div]
What happens when you run two apps in rootless mode? Do they each have an X/Qt icon in the taskbar? Still would be the same icon, but nevertheless... You could switch between them and other Qt tasks conveniently...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

jfv

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
X/qt Rootless Mode
« Reply #7 on: April 30, 2006, 07:25:51 pm »
Please tell me that the internet exploder icon on the taskbar is a joke.

Felipe
SL 5000 D  and C860 Sharp ROM
Too many accessories...

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
X/qt Rootless Mode
« Reply #8 on: April 30, 2006, 10:20:57 pm »
Quote
Please tell me that the internet exploder icon on the taskbar is a joke.

Felipe
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125237\"][{POST_SNAPBACK}][/a][/div]

It is  finally someone notices it
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

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
X/qt Rootless Mode
« Reply #9 on: April 30, 2006, 10:51:40 pm »
how soon? /me is impatient...this is cool.
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
X/qt Rootless Mode
« Reply #10 on: May 01, 2006, 11:36:07 am »
Quote
how soon? /me is impatient...this is cool.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125244\"][{POST_SNAPBACK}][/a][/div]

very soon. i was almost done today, but then decided to recompile gtk2 so abiword would have nice window sizes that fit the screen and then I am also compiling some plugins for abiword too which hopefully will allow pdf and openoffice document support in abiword.
got screen rotation working too and fixed the window sizes for 6000 models as well.
a day or two and it should be ready unless i find something else to add
« Last Edit: May 01, 2006, 12:04:13 pm by Meanie »
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

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
X/qt Rootless Mode
« Reply #11 on: May 03, 2006, 08:15:59 am »
From the other post, I tried your new version...

It seems that only one app can be run in rootless mode. When I start a second one it says one is already running. Can this be gotten around?

Also running rootless firefox-embedded doesn't seem to work on my 3200, it just starts the X, you see the icon, and then exits. From a command prompt though it gives no error...

How can I debug the start to see what's failing?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
X/qt Rootless Mode
« Reply #12 on: May 03, 2006, 11:44:23 pm »
Quote
From the other post, I tried your new version...

It seems that only one app can be run in rootless mode. When I start a second one it says one is already running. Can this be gotten around?

Also running rootless firefox-embedded doesn't seem to work on my 3200, it just starts the X, you see the icon, and then exits. From a command prompt though it gives no error...

How can I debug the start to see what's failing?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125556\"][{POST_SNAPBACK}][/a][/div]

xlauncher -debug -embed firefox-embedded
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

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
X/qt Rootless Mode
« Reply #13 on: May 04, 2006, 02:51:13 am »
Quote
xlauncher -debug -embed firefox-embedded
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125657\"][{POST_SNAPBACK}][/a][/div]
OK will do. And what about the one-app limit in rootless? Is there no way to run more apps in rootless mode?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
X/qt Rootless Mode
« Reply #14 on: May 04, 2006, 03:00:09 am »
Quote
Quote
xlauncher -debug -embed firefox-embedded
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125657\"][{POST_SNAPBACK}][/a][/div]
OK will do. And what about the one-app limit in rootless? Is there no way to run more apps in rootless mode?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125675\"][{POST_SNAPBACK}][/a][/div]

well you could open a terminal and

export DISPLAY=:0.0
appname

note that this rootless mode is experimental and has many limitations. it is also only available in xqt server 0.8 it was removed in 0.9
i might have a look into it further and recompile xqt server but no time for it right now.
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