How to install on fedora 17?

Asked by Yogesh K

Hi,

Since i'm new to fedora 17, I dnt kw how to install this software. If u could help that would be wonderfull.

Thank you in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Onboard Edit question
Assignee:
No assignee Edit question
Solved by:
Yogesh K
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
marmuta (marmuta) said :
#1

We don't directly support RPM packages yet and Fedora 15 seems to be the last with Onboard in the repositories. The alien tool may be able to convert debian packages to RPM, but buillding Onboard from source may be the safest option.

To build Onboard from source either get the latest released tarball from here
https://launchpad.net/onboard/+download
or, if you are adventurous, get the development branch with the latest features:
bzr branch lp:onboard

The difficult part will be to install the dependencies Onboard needs to build and run. Unfortunately we don't have a list of package names for Fedora. The list of debian packages can be found in debian/control. If you can wait a couple more days, I'd try to figure out what exactly is needed for Fedora.

Once dependencies are installed you should be able to
python3 setup.py build
sudo python3 setup.py install

and Onboard should be installed.

Revision history for this message
Yogesh K (ypk2013) said :
#2

Thank you for your reply.I will try to work with source code .Could you please help me out installing on fedora 17 desktop edition.
Thank You once again.

Revision history for this message
Yogesh K (ypk2013) said :
#3

Hello
I am intern at Tata Institute of fundamental research ,we are developing an application which need virtual keyboard develop in python.
Onboard fits all are need but we are not able to run on fedora 17.
I was hoping you could me help me out running latest version of Onboard on Fedora 17 .
Thank You.

Revision history for this message
marmuta (marmuta) said :
#4

Yogesh, thanks for the reminder. I've been rather busy, but managed to set up a virtual machine with fedora 17. It took forever to install and the result is slow to the point of being unusable in VirtualBox. Before I can continue I'll have to figure out how to start into gnome fallback mode or any other desktop environment other than gnome-shell with llvmpipe. Your probably more familiar than me with fedora, any suggestions?

Revision history for this message
Yogesh K (ypk2013) said :
#5

Hi
I also tried installing on Virtual box but the result is the same as you faced.No matter how many resources you give fedora on virtual machine is terribly slow .Even i am new to linux and dual booting a fresh copy worked for me.
I have very little idea about starting gnome in fallback mode.
I consulted a senior he says that Gnome shell has a certain bug and suggested me to use KDE desktop for the same.
I just want onboard to run on federo 17.

Thank You.

Revision history for this message
Yogesh K (ypk2013) said :
#6

I just found that in System setting -> Details -> Graphics (Left Panel) , there is an option for starting Gnome in fallback mode.
Hope it helps.

Revision history for this message
marmuta (marmuta) said :
#7

Thank you, I found that switch yesterday too. Fallback mode is still slow, network access in particular, but I could work with it.

I made it pretty far, installation eventually was possible, but then I got stuck at a missing python3-dbus package. This exists in Ubuntu and Arch, but not in Fedora, unfortunately.
https://bugzilla.redhat.com/show_bug.cgi?id=538616#c15

There are couple of options.

1) I'll make dbus usage optional again in Onboard in trunk, which means single instance check, D-Bus service and access to mousetweaks won't work on Fedora 17.

2) Run Onboard trunk with python 2. Python 2 support isn't well tested anymore, however. I've committed some fixes yesterday, basic functionality is there, but most likely there are more hidden problems.

3) Run the last release that was well tested with python 2, which I believe was 0.97.1.

Option 3) is probably the safest way to get a fully functional (though outdated) Onboard. I'll give that a try tonight.

Revision history for this message
Yogesh K (ypk2013) said :
#8

Thank You.Even i will work on it.

Revision history for this message
marmuta (marmuta) said :
#9

Great, here are my notes from yesterday to get you started.

# Runnung with python2:

su -c "yum groupinstall development-libs development-tools gnome-software-development x-software-development"
su -c "yum install python-distutils-extra python-devel dconf-devel python-cairo python-dbus bzr"

bzr branch lp:virtkey
cd virtkey
python setup.py build
su -c "python setup.py install"
cd ..

bzr branch lp:onboard
cd onboard
debian/rules python2
python setup.py build
su -c "python setup.py install"

su -c "glib-compile-schemas /usr/share/glib-2.0/schemas"

Revision history for this message
marmuta (marmuta) said :
#10

# Running with Python 3 (default)

su -c "yum groupinstall development-libs development-tools gnome-software-development x-software-development"

su -c "yum install python3-setuptools"
bzr branch lp:python-distutils-extra
cd python-distutils-extra
python3 setup.py build
su -c "python3 setup.py install"
cd ..

su -c "yum install python3-devel dconf-devel python3-gobject python3-cairo python3-dbus bzr"
bzr branch lp:onboard
cd onboard
python3 setup.py build
su -c "python3 setup.py install"

su -c "glib-compile-schemas /usr/share/glib-2.0/schemas"

Revision history for this message
marmuta (marmuta) said :
#11

# Running with python 3, addendum

bzr branch lp:virtkey
cd virtkey
python3 setup.py build
su -c "python3 setup.py install"
cd ..

Revision history for this message
Yogesh K (ypk2013) said :
#12

Thanks a lot. I tried installing step by step your instruction for python2 , 0.97 installed successfully.
I was hoping you could help me out with 0.99 as well.
Also part of my project is navigating the keyboard with just a single tab button probably using a TAB cycle.
Could you help me out this as well?
Thanks a ton,you really came through when i was stuck with onboard. :D

Revision history for this message
Yogesh K (ypk2013) said :
#13

Hiii
I just found out that we can navigate TAB cycle using 0.97 itself.
Thank You So much for your help.
I request you to lend the support in the near future.

Thank You Once Again.

Revision history for this message
Yogesh K (ypk2013) said :
#14

Hi
This my first time working on Linux,i am accustomed to windows.
Could you suggest me a SDK like Netbeans or Eclipse so that i could work on source code of onboard.
Thank You.

Revision history for this message
marmuta (marmuta) said :
#15

I can try. Most documentation for the "SDK"s is available in devhelp.
sudo apt-get install devhelp python3-doc libgtk-3-doc python3-cairo-doc
Then run devhelp for some windowsy help browser.

There is no shortage of python specific and more general IDEs, Eclipse is in the repositories too, Netbeans should work too, but I personally use "vim" with a couple of extensions. For example, I have it jump to devhelp on press of F1 for easy access to documentation. It takes some effort to get into, but to me it's worth it.
sudo apt-get install vim-gtk

Revision history for this message
Yogesh K (ypk2013) said :
#16

Thank You