Advertisement
mattkimura

How to update/Use crouton

Mar 4th, 2014 (edited)
5,820
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.95 KB | None | 0 0
  1. Download the crouton file:
  2. https://github.com/dnschneid/crouton
  3.  
  4. How to update:
  5. sudo install -Dt /usr/local/bin -m 755 ~/Downloads/crouton
  6. sudo crouton -u -n xenial
  7. NOTE: Add '-t xorg' to add xorg. Then update again with '-t xiwi' to have xiwi as default.
  8.  
  9. How to fresh install:
  10. sudo install -Dt /usr/local/bin -m 755 ~/Downloads/crouton
  11. sudo crouton -r xenial -t xfce,keyboard,touch,extension
  12.  
  13. Install the "Crouton integration" extension (If using xiwi): https://chrome.google.com/webstore/detail/crouton-integration/gcpneefbbnfalgjniomfjknbcgkbijom
  14.  
  15.  
  16. How to launch crouton 2023:
  17. ctrl alt forward arrow
  18. login is chronos and password is same as crouton's
  19. sudo enter-chroot
  20. sudo apt install ssh (Only needed once to install ssh)
  21. sudo /etc/init.d/ssh start (Must type manually, cannot copy/paste)
  22. ctrl alt back arrow
  23.  
  24. ctrl alt T
  25. Type shell
  26. ssh matt@localhost
  27. startxfce4
  28. (Keep the Crosh window opened to keep the chroot running)
  29.  
  30. -------------------
  31.  
  32.  
  33. How to unmount chroot:
  34. sudo unmount-chroot -f xenia
  35.  
  36. How to delete chroot:
  37. sudo delete-chroot trusty
  38.  
  39. How to backup chroot:
  40. sudo edit-chroot -b trusty (-r for restore)
  41.  
  42. How to retore backup chroot on fresh ChromeOS install:
  43. sudo sh ~/Downloads/crouton -f mybackup.tar.gz
  44.  
  45. How to cycle between chromeOS and crouton via command:
  46. croutoncycle cros (Can also run in Crouton's terminal)
  47.  
  48. How to launch terminal from shortcut (Ctrl alt T):
  49. Go to settings>keyboard>application shortcuts, then choose "New". Browse for the XFCE terminal emulator wrapper. Now set your shortcut to ctrl alt T. You can also now close a terminal with ctrl D.
  50.  
  51. How to fix "sudo add-apt-repository command not found"
  52. sudo apt-get install software-properties-common
  53.  
  54. How to change python's default version of python3 from 3.5 to 3.6:
  55. https://tech.serhatteker.com/post/2019-12/upgrade-python38-on-ubuntu/
  56.  
  57. How to resize images in terminal using ImageMagick:
  58. (Open terminal in folder)
  59. convert '*.png' -resize 1366x768! output.png
  60.  
  61. How to fix xorg graphic glitch by flipping screen
  62. Go to start menu > keyboard, keyboard shortcuts: enter the command
  63. xrandr -o left
  64. Then enter any key. Do the same but with command
  65. xrandr -o normal
  66. Alternate between these two shortcuts to fix the graphic glitch.
  67.  
  68. ------------------
  69. Things to install on fresh install:
  70.  
  71. sudo apt-get update && sudo apt-get upgrade
  72.  
  73. sudo apt-get install synaptic
  74.  
  75.  
  76. Apps to get:
  77. gdebi (.deb package installer)
  78. Ubuntu-restricted-extras (Get in Synaptic)*
  79. file-roller
  80. gedit
  81. ttf-ubuntu-font-family
  82. bleachbit
  83. VLC
  84. Gimp
  85. redshift-gtk
  86. Gwenview*
  87. Openshot*
  88.  
  89. ===WINE===
  90. sudo dpkg --add-architecture i386
  91. wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
  92. sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
  93. sudo apt-get update
  94. sudo apt-get install --install-recommends winehq-stable
  95.  
  96.  
  97. sudo add-apt-repository ppa:webupd8team/java (sudo apt-get install oracle-java8-installer)
  98. sudo add-apt-repository ppa:fkrull/deadsnakes (for Python 3.6 (3.8 is broken) )
  99.  
  100.  
  101. - Xnview.deb (Get latest 64 bit version)
  102. - WinRAR
  103. - Winscp
  104.  
  105. -------------------------------------------------------------------------------
  106.  
  107. ==Steps for fresh crouton setup==
  108.  
  109. (Hide extra desktop icons)
  110. - right click > desktop settings > style: None > change color to black
  111. - Icons > Removable Devices > uncheck all options
  112. - Uncheck filesystem
  113.  
  114. (Fixing up the task bar)
  115. - Right click task bar > panel > panel preferences...
  116. - uncheck "Lock panel"
  117. - Select panel 2 > remove it
  118. - Select panel 1 > click and drag panel to the bottom from the right side of bar
  119. - Go to items > add new items to panel > Pulse Audio, Battery Monitor, screenshot, separator
  120. - Move both separators near "windows buttons" > move screenshot between separators > move workspace switcher to bottom
  121. - Go to separator's settings and choose expand
  122. - Go to clock's settings > Layout: LCD > uncheck 24 hour clock
  123. - Go to workspace switcher's settings > workspace settings > Change number of workspaces to 2
  124. - Go to applications menu > system > drag xfce terminal to desktop > drag it to the task bar and add to panel
  125.  
  126. (Disabling screensavor)
  127. - applications menu > settings > screen saver > mode: disable screen saver
  128. - applications menu > settings > session and startup > application autostart > uncheck screensaver
  129. - uncheck power manager
  130.  
  131. (Changing appearance to dark theme)
  132. - applications menu > settings > appearance > xfce-dusk
  133.  
  134. (Fixing thunar file manager)
  135. - open home folder > hold ctrl and scroll down to fix icon size
  136. - right click > arrange items > sort by modification date > descending
  137. - right click downloads folder > send to desktop > send to side pane
  138. - right click the side pane > Devices: uncheck the extra drives, Places: uncheck trash and desktop, Network: uncheck network (add more shortcuts from USB drive)
  139.  
  140. (Disabling battery notification popups)
  141. - Go to settings > power manager
  142. - Uncheck "show notifications to notify about battery state"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement