![]() |
![]() |
![]()
Post
#1
|
|
![]() Group: Members Posts: 900 Joined: 22-May 04 Member No.: 3,385 ![]() |
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? |
|
|
![]() |
![]()
Post
#2
|
|
![]() Group: Members Posts: 1,213 Joined: 9-June 05 From: Gobi Desert, Mongolia Member No.: 7,306 ![]() |
how soon? /me is impatient...this is cool.
|
|
|
![]()
Post
#3
|
|
![]() Group: Members Posts: 2,803 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 ![]() |
QUOTE(bam @ May 1 2006, 12:51 PM) 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 ![]() |
|
|
![]()
Post
#4
|
|
![]() Group: Members Posts: 900 Joined: 22-May 04 Member No.: 3,385 ![]() |
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? |
|
|
![]()
Post
#5
|
|
![]() Group: Members Posts: 2,803 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 ![]() |
QUOTE(ShiroiKuma @ May 3 2006, 10:15 PM) 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? xlauncher -debug -embed firefox-embedded |
|
|
![]()
Post
#6
|
|
![]() Group: Members Posts: 900 Joined: 22-May 04 Member No.: 3,385 ![]() |
|
|
|
![]()
Post
#7
|
|
![]() Group: Members Posts: 2,803 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 ![]() |
QUOTE(ShiroiKuma @ May 4 2006, 04:51 PM) QUOTE(Meanie @ May 4 2006, 04:44 AM) OK will do. And what about the one-app limit in rootless? Is there no way to run more apps in rootless mode? 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. |
|
|
![]()
Post
#8
|
|
![]() Group: Members Posts: 900 Joined: 22-May 04 Member No.: 3,385 ![]() |
QUOTE(Meanie @ May 4 2006, 08:00 AM) well you could open a terminal and export DISPLAY=:0.0 appname I did this and it works, the only problem is it launches the second app in the first apps window - obviously. But the second one is on top and there is no way to switch them. I'd like to just run two rootless instances of X/Qt to open two apps individually. When I just try runx then the X/Qt server gives an error. That's probably why you put it in the launch script to not allow running a second app rootless. But surely there must be a way to launch a second instance of any program under Linux independently. How can I do this with X/Qt. QUOTE 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. Yeah, that's what it says on the X/Qt site about it being experimental etc. I like it though. The way it runs the apps as you have done it in your image is really good. That's why I want to run more than one app in the rootless mode. |
|
|
![]()
Post
#9
|
|
![]() Group: Members Posts: 2,803 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 ![]() |
QUOTE(ShiroiKuma @ May 6 2006, 12:59 AM) QUOTE(Meanie @ May 4 2006, 08:00 AM) well you could open a terminal and export DISPLAY=:0.0 appname I did this and it works, the only problem is it launches the second app in the first apps window - obviously. But the second one is on top and there is no way to switch them. I'd like to just run two rootless instances of X/Qt to open two apps individually. When I just try runx then the X/Qt server gives an error. That's probably why you put it in the launch script to not allow running a second app rootless. But surely there must be a way to launch a second instance of any program under Linux independently. How can I do this with X/Qt. QUOTE 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. Yeah, that's what it says on the X/Qt site about it being experimental etc. I like it though. The way it runs the apps as you have done it in your image is really good. That's why I want to run more than one app in the rootless mode. its possible to have multiple apps in their own rootless window with their own icon by running multiple instances of xqt. each xqt instance needs to run on a different display. i havent written a script for it yet to allocate and deallocate the displays. the next version, 0.7.7 will have this ![]() |
|
|
![]()
Post
#10
|
|
![]() Group: Members Posts: 900 Joined: 22-May 04 Member No.: 3,385 ![]() |
QUOTE(Meanie @ May 5 2006, 05:32 PM) its possible to have multiple apps in their own rootless window with their own icon by running multiple instances of xqt. each xqt instance needs to run on a different display. i havent written a script for it yet to allocate and deallocate the displays. I copied your xlauncher script to play with it and just see if it'd work, to xlauncher2. In xlauncher2 I modified the part where when running an embedded app it checks if X="" and if it does it says that you're running an embedded app already. Changed it to export the DISPLAY=:1.0 (also :0.1, tried two versions, since couldn't remember the right form). Now, I run for instance dillo rootless first. Then when I try xlauncher2 -embed xmms, the X/Qt pops an X/Qt Server box, saying Fatal error. What am I doing wrong? |
|
|
![]()
Post
#11
|
|
![]() Group: Members Posts: 2,803 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 ![]() |
QUOTE(ShiroiKuma @ May 6 2006, 03:24 AM) QUOTE(Meanie @ May 5 2006, 05:32 PM) its possible to have multiple apps in their own rootless window with their own icon by running multiple instances of xqt. each xqt instance needs to run on a different display. i havent written a script for it yet to allocate and deallocate the displays. I copied your xlauncher script to play with it and just see if it'd work, to xlauncher2. In xlauncher2 I modified the part where when running an embedded app it checks if X="" and if it does it says that you're running an embedded app already. Changed it to export the DISPLAY=:1.0 (also :0.1, tried two versions, since couldn't remember the right form). Now, I run for instance dillo rootless first. Then when I try xlauncher2 -embed xmms, the X/Qt pops an X/Qt Server box, saying Fatal error. What am I doing wrong? in addition to setting the display for the client, the server needs to be started on a different display as well so you have matching pairs of client and servers on different displays. in addition, you also need to allocate xauthority cookies to each display |
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 21st April 2018 - 02:09 AM |