LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2014, 03:12 PM   #1
gubbenpetson
LQ Newbie
 
Registered: Apr 2014
Posts: 3

Rep: Reputation: Disabled
Smile Automatic start Chrome in boot?


Hello world
I am running Bodhi-Linux, wants to get my Google Chrome to start automatically on boot, with specified webpage open, and maximized (F11). Cannot find how to make it.
Tnx for help!
 
Old 04-23-2014, 03:28 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,185

Rep: Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586
Code:
chrome --start-maximized --new-window http://www.google.com
Works on windows 7 and Arch.
 
Old 04-23-2014, 07:00 PM   #3
Automatic
Member
 
Registered: Mar 2013
Posts: 42

Rep: Reputation: Disabled
Quote:
Originally Posted by szboardstretcher View Post
Code:
chrome --start-maximized --new-window http://www.google.com
Works on windows 7 and Arch.
Unsure about Chrome, but, Chromium, that launches a window maximized, not fullscreen (Like F11 would, as per OP's comment). Apparently you can use --start-fullscreen, but, it didn't work for me (Arch x64, XFCE, Chromium), it just launched maximized (Although, running with just --new-window also starts maximized, so, unsure if it's even doing that).
 
Old 04-24-2014, 02:23 AM   #4
gubbenpetson
LQ Newbie
 
Registered: Apr 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Automatic View Post
Unsure about Chrome, but, Chromium, that launches a window maximized, not fullscreen (Like F11 would, as per OP's comment). Apparently you can use --start-fullscreen, but, it didn't work for me (Arch x64, XFCE, Chromium), it just launched maximized (Although, running with just --new-window also starts maximized, so, unsure if it's even doing that).
Thnx! Where do I save this command line so it automatically runs when the computer starts?
 
Old 04-24-2014, 02:29 AM   #5
Automatic
Member
 
Registered: Mar 2013
Posts: 42

Rep: Reputation: Disabled
Quote:
Originally Posted by gubbenpetson View Post
Thnx! Where do I save this command line so it automatically runs when the computer starts?
Really depends on your setup, what DM/Login screen are you using? If you're dropped right into the DM (I.E. no login after xinit/startx), something like xinit would do fine, if you're not, you'll have to work out if the DM/DW has a startup setup of it's own, as, there's no (real) way to correctly guess when the DM unlocks the UI for the user externally.
 
Old 04-24-2014, 09:04 AM   #6
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,185

Rep: Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586
Sorry i misunderstood the request.

(If you are interested) -- This also sounds like you are trying to do a locked down kiosk kind of thing for public users. If you are doing that, you can utilize one of the free kiosk solutions to save yourself time.

http://www.webconverger.com/
 
Old 04-24-2014, 09:08 AM   #7
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,106

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
Quote:
Originally Posted by gubbenpetson View Post
Thnx! Where do I save this command line so it automatically runs when the computer starts?
check out either ~/.profile or ~/.bash_profile.
 
Old 04-27-2014, 03:17 PM   #8
gubbenpetson
LQ Newbie
 
Registered: Apr 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by schneidz View Post
check out either ~/.profile or ~/.bash_profile.
Sorry, as a linux-beginner I don't really understand this advice. Is it a folder in the file system where I can place a startup file in, or do I edit a startup file called profile or bash_profile?
 
Old 04-28-2014, 07:17 AM   #9
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,106

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
Quote:
Originally Posted by gubbenpetson View Post
Sorry, as a linux-beginner I don't really understand this advice. Is it a folder in the file system where I can place a startup file in, or do I edit a startup file called profile or bash_profile?
hi, make a backup of ~/.bash_profile. open up a text editor and open ~/.bash_profile. then put whatever command you want to start up on the last line.
 
Old 04-28-2014, 08:07 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836
Bodhy is using the Enlightenment window manager, which has an autostart function in the menu under Menu -> Settings -> Settings panel-> Apps-> Startup Applications
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] : Automatic START of 3 daemons AT BOOT njb Slackware 8 05-18-2010 09:37 AM
Automatic software start on Mandriva boot? nesbitt9 Linux - Software 0 03-27-2006 04:07 PM
Automatic Start mohtasham1983 Linux - Newbie 2 05-14-2005 05:02 PM
start seticlient automatic at boot flosch Linux - Software 3 05-04-2004 09:41 AM
Automatic start of program VincentB Linux - Newbie 1 07-03-2003 03:21 PM


All times are GMT -5. The time now is 12:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration