OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: ShiroiKuma on May 12, 2006, 01:53:49 pm
-
This is strange. I cleanly reinstalled Opie, and then following the dual guide installed GPE.
Now from the command prompt I can switch between Opie and GPE.
In GPE I've made a gotoopie.sh script in /usr/bin
When I run it, I go to Opie. I've also made a desktop file placed it in applications folder and see the icon. The desktop file calls this script.
But when I tap it, I see the expanding box, indicating it was run, but I don't get switched to Opie. Why?
This has got to be something simple, but I can't figure it out. What have I done wrong?
-
Could I somehow debug this, i.e. launch the desktop file from console, as weird as this idea might seem.
The reason is I don't know what's happening and why it ain't working when the shell script works no prob.
Any ideas?
-
The reason is I don't know what's happening and why it ain't working when the shell script works no prob.
Have you made your script executable?chmod 766 script-name
-
Have you made your script executable?chmod 766 script-name
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126827\"][{POST_SNAPBACK}][/a][/div]
Yep, and the script runs. When I execute it in console, I get switched to Opie.
It's just that clicking on the icon that launches this script doesn't do anything... Weird.
It's gotta be something stupid I'm sure, since I had it working before I had to reflash. But now, nothing...
-
When I execute it in console, I get switched to Opie.
I meant to say 'chmod 755' for your scripts... sorry. The user in Opie has root privilege but not in GPE... if that makes any difference for your problem.
Greg
-
When I execute it in console, I get switched to Opie.
I meant to say 'chmod 755' for your scripts... sorry. The user in Opie has root privilege but not in GPE... if that makes any difference for your problem.
Greg
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126834\"][{POST_SNAPBACK}][/a][/div]
Yep, I even thought maybe it's got something to do with ordinary user not being able to switch terminals, so tried with sudo. But still the same. From the console I can run the script and switch. But the icon doesn't do it.
But a similar icon for suspend which I created and which calls a script too runs no prob from an icon...
-
Yep, I even thought maybe it's got something to do with ordinary user not being able to switch terminals, so tried with sudo. But still the same. From the console I can run the script and switch. But the icon doesn't do it.
But a similar icon for suspend which I created and which calls a script too runs no prob from an icon...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126844\"][{POST_SNAPBACK}][/a][/div]
I made a similar script to switch to Opie and it works fine. I'll send you my files when I am at home.
I am preparing a custon package to run X11 with Opie, while not installing the full Gpe environment, and only starting X11 when required (ie not on boot). Maybe we should share experience.
-
I made a similar script to switch to Opie and it works fine. I'll send you my files when I am at home.
I am preparing a custon package to run X11 with Opie, while not installing the full Gpe environment, and only starting X11 when required (ie not on boot). Maybe we should share experience.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127088\"][{POST_SNAPBACK}][/a][/div]
Yep, sounds interesting, the biggest problem when running it alongside is power-management. If you let Opie manage it, and have a display-turn-off time, then while you're in GPE it counts the time as idle, and after the limit it shuts the display off, and there's no way to turn it back on unless you get back to Opie, which without seeing is pretty hard... So you have to reset.
-
Yep, sounds interesting, the biggest problem when running it alongside is power-management. If you let Opie manage it, and have a display-turn-off time, then while you're in GPE it counts the time as idle, and after the limit it shuts the display off, and there's no way to turn it back on unless you get back to Opie, which without seeing is pretty hard... So you have to reset.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127092\"][{POST_SNAPBACK}][/a][/div]
Yep I noticed this! I haven't dug into this yet, but I am confident this can be fixed easily.
PS: instead of reseting just ctrl+alt+backspace, kill X11, then fn+(left|right) to go back to Opie! If fn+(left|right) could work in Opie / X11 that would be simpler.
-
Yep, sounds interesting, the biggest problem when running it alongside is power-management. If you let Opie manage it, and have a display-turn-off time, then while you're in GPE it counts the time as idle, and after the limit it shuts the display off, and there's no way to turn it back on unless you get back to Opie, which without seeing is pretty hard... So you have to reset.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127092\"][{POST_SNAPBACK}][/a][/div]
Yep I noticed this! I haven't dug into this yet, but I am confident this can be fixed easily.
PS: instead of reseting just ctrl+alt+backspace, kill X11, then fn+(left|right) to go back to Opie! If fn+(left|right) could work in Opie / X11 that would be simpler.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127105\"][{POST_SNAPBACK}][/a][/div]
This my post in Opie forum for files and howto.