Maddler's Rants 'n' Raves

Osso-Xterm and Bash

Feb 11
Osso-Xterm and Bash

I really missed the capability of executing .profile/.bashrc upon opening a new osso-xterm session. That’s not a bug nor, maybe, a real issue. But makes me feel more comfortable :)
By the way, after playing for a while a found a good hack: a slight modification to the default osso-xterm.desktop:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=X Terminal
Comment=Terminal Emulator
Exec=/usr/bin/osso-xterm /usr/bin/bash
Icon=terminal
Terminal=false
Type=Application
Categories=System;TerminalEmulator;
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

Download: osso-xterm-bash.desktop

It needs to be saved to /usr/share/applications/hildon

In order to have this to work, you also need bash-m package:
repository: http://www.math.ucla.edu/~jimc/nokia770
distribution: mistral
components: user

Comments, Pingbacks:

Comment from: Xyzo [Visitor] Email
Hi!
I was looking for such a solution for a while: thank you very much!
Something I've noticed: osso-xterm icon in the left panel has changed from the usual 'white/back' icon to the 4-quare generic icon ie. as if osso-xterm icon was missing.
Have you noticed the same thing? May this be due to the removing of "X-Osso-Service" line? TIA.
PermalinkPermalink 02/12/07 @ 14:16
Comment from: jay [Visitor] Email
Hi there maddler,

I was wondering if this would work on my N800? Do you uss it on the 770 or the 800? I would love to try it, but I just restored my n800 from an infinite reboot cycle and am not feeling very adventurous this week.
PermalinkPermalink 02/12/07 @ 15:32
Comment from: Maddler [Member] Email
The "X-Osso-Service=xterm" was removed because it prevented bash from being executed. I hadn't the time to investigate.

The hack has been tested on N800, should work fine on 700 as well, it won't in any way affect the boot process.
PermalinkPermalink 02/12/07 @ 16:30

This post has 4 feedbacks awaiting moderation...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Categories

Who's Online?

  • Guest Users: 5

XML Feeds

What is RSS?