Yes you read it right!! This tutorial will tell you that how you can convert your Ubuntu machine into Browser only desktop. You may have heard the latest news that first NetTop (Chrome Netbooks) by Acer and Samsung are being launched in June.
But If you could make your own system behave exactly the way Chrome OS behaves, wouldn't that be amazing? I was also intrigued by the same fact. After all Chrome OS is just a browser on top of Gentoo or Ubuntu [wiki:Talk] (I am sorry Chrome OS developers I know you have worked hard a lot to make Chrome OS complete OS and is very different from Google chrome/Chromium but for a laymen it is just a browser on top of a Linux).
Now my basic idea was, if we could run Google Chrome just at the starting of computer and nothing else is started we could save a lots of ram and can have access to Internet within seconds. So without any further delay lets see how we can configure Linux to achieve this.
| Step 1: Start Autologin You have to auto login to system so that you can access browser as fast as you can. To start auto login: Go to:System->Administration ->Login ScreenUnlock: unlock the system by typing in your password. Select: Click on radio box where it is written "Login as ******** Automatically" Close it |
| Step 2: Install Openbox Search and install "Openbox" from Ubuntu Software Center.Or simply type in terminal sudo apt-get install openbox openbox-themes |
| Step 3: Install fbpanel and PCManFM Fbpanelis one of the lightest panel yet it is enough powerful to let you work in peace.To install fbpanel in Ubuntu Search and install "fbpanel" and "PCManFM" from Ubuntu Software Center. Or simply type in terminal sudo apt-get install fbpanel pcmanfm |
| Step 4: Install Chromium Search and install "chromium-browser" from Ubuntu Software Center.Or simply type in terminal sudo apt-get install chromium-browser |
| Step 5: Leave rest on me Download this file : chrome-session.tar.gzmake this install.sh file executable using chmod +x install.sh and install chrome-session by typing ./install.sh in terminal |
Thats it now you can logout the computer and choose chrome-session at login (you can find it at the bottom of login screen). You should see chromium running with fbpanel at the top hidden until you move your mouse at top screen.
I will try to experiment more on this, meanwhile you can try to run a pure Firefox session. If you find any bug please report me as a comment here.
Here are some cool things I observed about this chrome session:
- Access your Internet using the same nm-applet which power gnome desktop
- Access Folders just like you open it in any other windows environment, as easy as that
- You will find chrome market more useful in this case. Because you will have to find a web app for what you can do otherwise on your desktop.
- Change many windows using the same old alt + tab
Edit:
1. To revert back just close the browser. It will automatically log you out. You may then select Unity/Ubuntu classic again, just as you had selected chrome-session.
2. Here is the file if you want to enjoy firefox-session use this file firefox-session.[UPDATED]
3. If the script throws an error please post your queries in the comments. Before posting please try to start fbpanel by typing command "fbpanel", it may not run by showing some error but then you can re run the script and every thing would work perfectly.
PS: I updated firefox session file. You can use this new one. Please make sure that you have decompressed the downloaded file (you can do this by right click on the file and select extract here). Once decompressed a folder named firefox-session would appear. using terminal go to the firefox-session folder and follow the above mentioned 5 th step.
very good technique!
ReplyDeleteAwesome Post !
ReplyDelete[...] - which my mind insists on reading as tooty-fruity for some insane reason – have put together a neat how-to on transforming Ubuntu into a ChromeOS-style [...]
ReplyDeletehow to revert back to ubuntu version again
ReplyDeleteI dont get the 5th step? what do i do after downloading...? whenever I type chmod +x install.sh in the terminal i get this: chmod: cannot access `install.sh': No such file or directory
ReplyDeleteCan anybody help????????
hey and if I would like to do the same with firefox? could you tell me if it is possible and which changes are required in your wonderful guide?
ReplyDeletejust close the browser and select any other desktop environment
ReplyDeleteYes I will upload another file to do the same for Firefox session
ReplyDelete[...] ΔΕΙΤΕ ΑΝΑΛΥΤΙΚΟΤΕΡΑ ΣΤΟ TATAFUTA BLOG (φοβερό όνομα!) [...]
ReplyDeleteMake sure that you're in the correct directory with the terminal. I presume you downloaded the file to your Downloads folder so simply typing cd ~/Downloads and then trying the chmod command should work. If not you can always find "install.sh" in the file browser. right click it and select properties and then selecting permissions and then make sure it's marked as executable. Once you've done that you can just double click it in the file browser and select Run in Terminal. Good luck :P
ReplyDelete[...] - which my mind insists on reading as tooty-fruity for some insane reason – have put together a neat how-to on transforming Ubuntu into a ChromeOS-style [...]
ReplyDeletehi, using your trick, very nice, expecially using jolicloud. it would be nice to add an icon in fbpanel for pcmanfm, so one can browse his files.
ReplyDeletealso, i'd like to understand more about the way you arranged everything. i gave a look to the scripts, and they seem quite simple, so i don't get how you make it quit the session when you close chromium, and how you keep the alt+tab thing. Is it something done by openbox-session?
same here... "no such file or directory"
ReplyDeleteAnd if you uses lxpanel? it's lightweight then fbpanel (it's more customizable)
ReplyDeleteI tested with lxpanel it's very nice, it's much better than fbpanel.
And the associate downloaded files with pcmanfm/file roller/otherwise?
Thanks e sorry my bad english!
Thanks for the suggestion. I would add it, in an updated version experimentation is on.
ReplyDeleteA session is automatically logged out when the script invoking the session is exited.
Yes that is the feature of openbox.
firefox-session doesn't work. it contains an error, chrome instead of firefox at the beginning, but also once u fix it it keep saying "cp: cannot create regular file `/home/myaccountname/.config/fbpanel/default': No such file or directory
ReplyDeletecp: cannot stat `./firefox-Session.desktop': No such file or directory"
I updated firefox session file. You can use this new one. Please make sure that you have decompressed the downloaded file (you can do this by right click on the file and select extract here). Once decompressed a folder named firefox-session would appear. using terminal go to the firefox-session folder and follow the above mentioned 5 the step
ReplyDeletesame here im getting
ReplyDeletecp: cannot create regular file `/home/me/.config/fbpanel/default': No such file or directory
fbpanel or lxpanel or any panel can be used. But main point is I focused on browser only desktop. I may remove anytype of panel in next update of chrome session .
ReplyDeletejust like my computer tweaking... openbox, fbpanel, but i use wicd instead of nm-applet
ReplyDeleteHow can I stop the pannel auto-hiding?
ReplyDeletein your home folder allow seeing hidden files using ctrl + h. then find this folder structure
ReplyDelete.config > fbpanel
there you will find default file. open it with gedit.
findautohide = true
change it to
autohide = false
but why you want to do that ?
[...] - which my mind insists on reading as tooty-fruity for some insane reason – have put together a neat how-to on transforming Ubuntu into a ChromeOS-style [...]
ReplyDelete[...] (you can find it at the bottom of login screen). At last, thanks to Tutafuta.com for such useful tutorial. Tags: chrome, How to, transform, [...]
ReplyDeletecp: cannot stat `./default': No such file or directory
ReplyDeleteI get this now.. what shud i do??? :(
Gahhhh.. i got that... i opened it.. and it sucks..! maybe some problem with my computer... but it is nothing more than the browser... : i would still recommend ... But could anyone tell me how to delete those.. i mean ... uninstall all these things, the openbox fbpanel.. etcetera etcetera ?
ReplyDeleteI think we need to set via terminal /home/user/.config/fbpanel/default I set top, transparent and center but it still stand at the bottom and not transparent or center.
ReplyDeleteHumm, I see.
ReplyDeleteBut, and usb disks? network-manager? or the file manager? I don't see a way remove the panel =(I modified you script, and the results: http://i52.tinypic.com/1zd2fxh.pngI used the fbpanel, ejecter (for the usb-disks), pcmanfm -d (usb disk window notifier) and um fix to associate the pcmanfm for the "open with" of Chromium: http://ubuntuforums.org/archive/index.php/t-1499046.html
And used a ambiance theme for the openbox
you need to go to /home/youtusername/path-to-where-you-extracted-chrome-session. cd to that folder and run the operation there
ReplyDeleteHey that is nice configuration. How do you managed to get notification area with minimize:maximize:close panel??. This is exactly what we need to move this an inch closer to Chrome OS. Can you share how you did that?
ReplyDeleteYeah! it sucks big time. But it sucks only for the users who want to do other tasks like watching movie, listening songs, playing games etc. It may be of great help for those who don't want these things or have very low configuration of desktop. It may be of great help to someones granny who knows how to run Facebook profile but gets hard time searching for things on desktop.
ReplyDeletehave you copied the default file given by me to fbpanel folder? if yes then there is some problem with fbpanel(please explain it exactly what happens).
ReplyDeleteOuch, I used lxpanel, not fbpanel *facepalm*
ReplyDeleteAh, unfortunately I just let the lxpanel very close to minimize: maximize: close panel, they are not really integrated =(. It's only that impression because the color of lxpanel is the same of ambience theme.
I'm sorry for the mistake
You want to go into the directory where install.sh is downloaded. You can do that in the terminal simply by using the "cd" command. Not "cp"
ReplyDeleteyou can use Lubuntu and get there faster.
ReplyDelete[...] OMG! Ubuntu posted one of the tutorials posted by us few days back. And the effects were amazing. Within few hours the received 1000+ [...]
ReplyDelete[...] i.e. create a os that boots asap into a browser. If that's the case there is a tutorial at: < http://tutafuta.com/2011/05/13/conve...nto-chrome-os/ > that may be a better way to go. ,at least until the real thing comes along. Believe it or [...]
ReplyDelete[...] 参考消息来源 PS,Firefox 5 [...]
ReplyDeleteCool! I'll have a try!
ReplyDelete[...] 原文地址 [...]
ReplyDelete[...] here 总体效果如下图所示: 参考消息来源 [...]
ReplyDeleteTHAT IS NOT THE PROBLEM. We're in the right directory. It simply does not work.
ReplyDeleteGot the SH to work. Now there's no Chrome session option in GDM. Thanks for nothing.
ReplyDeleteDear Eric
ReplyDeletecan you explain your problem?
can you type this in terminal:
whereis chrome-session
if this is your output chrome-session:
/usr/bin/chrome-session
then check by typing this in terminal:
ls /usr/share/xsessions/Chrome-Session.desktop
if you get the same path in result then every thing is alrightthere might be some other problem otherwise try to re-run the script
I run the install.sh file in terminal after extracting and I get the message
ReplyDeletecp: cannot create regular file `/home/lawrence/.config/fbpanel/default': No such file or directory
this is doing all the above steps in ubuntu 11.04 - any hints?
i had a similar problem, it couldn't find ~/.config/fbpanel , where the "default" file should be copied.
ReplyDeleteI solved manually, creating the directory before launching the script.
[...] Para sair do chrome-session, basta clicar no botão fechar do Chromium que automaticamente aparece a tela de login novamente. Depois, só voltar a usar o Unity ou o Gnome. Fontes: Dicas Browser e Tutafuta [...]
ReplyDelete[...] a tela de login novamente. Depois, só voltar a usar o Unity ou o Gnome. Fontes: Dicas Browser e Tutafuta window.fbAsyncInit = function() { FB.init({appId: "105225702901403", xfbml: true}); [...]
ReplyDelete[...] 参考消息来源 分类: 美化 标签: Chrome OS 评论 (RSS) | 引用 | Permalink [...]
ReplyDelete[...] script di tutafuta che farà il “lavoro sporco” per [...]
ReplyDelete[...] lo script di tutafuta [...]
ReplyDelete[...] lo script di tutafuta [...]
ReplyDeleteThat's joli os, not chrome os.
ReplyDeleteYou can but this was a nice attempt and I personally actually liked it. I prefer firefox though so tend to use that if I want a web only session. ie idea for short bursts needing web access, bit of music and some email access and a little social networks...ideal
ReplyDelete[...] lo script di tutafuta [...]
ReplyDeletesame problem as eric...checked everything you mentioned, getting the same path too but no chrome session option to log into...any suggestions?
ReplyDeleteBloomin' marvellous post. I've been trying to get an old Webbook up and running again for the kids using JoliOS or ChromeOS to no avail. However, I CAN get ubuntu up and running. This is the answer I've been looking for :-D
ReplyDeleteThanks, very useful post. I just tried with a fresh Ubuntu 11.10 install and I could not get the Chrome session to stick (I had to keep manually switching from Unity to Chrome) until I ran this command:
ReplyDeletesudo /usr/lib/lightdm/lightdm-set-defaults --session Chrome-Session
After that it worked.
The startup speed improvement is nice. I'm curious if the "Startup Applications" are only run when the Unity shell is started. If startups also occur with the Chrome/Firefox shells suggested here, then it's worth removing unnecessary startup apps to improve performance even further.
anybody know how to make it default to chrome-session at automatic login?
ReplyDeleteHello. I would like to copy this in a forum for education purposes. :) will give due credit and will remove if asked.
ReplyDeleteHi! No probs as far as you give alink back
ReplyDeleteIs it possible to create a live image of Chromium and the profile it's using in its virgin state?
ReplyDeleteI'm trying to find a way to ditch all the synced data stored in the profile and google profiles, etc on logoff. If I can get it to work, then I can use this as a Google cloud computer lab workstation.
Does this still work? I would love to use it, but can't get it to work in bodhi. When I try to run install.sh, I get error message "command not found"
ReplyDeleteHas anybody figured out step 5?
ReplyDeleteIf we install freenx on top of this - can this be used as remote web browser desktop so that multiple users can connect and browse the internet ?
ReplyDelete