Showing posts with label 10. Show all posts
Showing posts with label 10. Show all posts
Friday, April 29, 2016
Repairing frozen Dash in Ubuntu 12 10
Ubuntu 12.10 is the newest Ubuntu distribution of the Linux operating system. After you install or upgrade to Ubuntu 12.10, its Dash search window might not work correctly. Intermittently, Dash can freeze (hang up) after you type only a few characters into its search field. This document can probably help you repair Dash by installing a proprietary video driver.
Authors Note: I experienced this problem on my medium-powered (AMD dual-core, 2 GB memory), rebuilt PC, into which I had installed a new motherboard. I use this machine as my standby and experimental PC, on which I ran Ubuntu 12.04 with no Dash problems.
To repair frozen dash by installing a proprietary video driver, do the following:
- In the launcher, click System Settings to display its window, click Software Sourcesto display its window, and then click the Additional Drivers tab to display its page.
- Select an appropriate driver, such as the NVIDIA binary Xorg - - (proprietary, tested) driver shown below, and then click Apply Changes.
- When prompted, type your password, and then click Authenticate.
- Close the Software Sources window.
- Reboot your PC.

Tuesday, April 12, 2016
Let There Be Light 10 New Studies to Enlighten You About the Health Effects of Light Exposure on Health Physique
![]() |
No, the sun does not kill you. If you control your exposure it may extend your life and improve your life-quality significantly. |
But is that really all, bright light, or more specifically, the regular and well-timed exposure to bright light can do for you?
The effects on circadian rhythm could be behind the Suns anti-cancer effects

Sunlight, Bluelight, Backlight and Your Clock
Sunlight a La Carte: "Hack" Your Rhythm
Fasting (Re-)Sets the Peripheral Clock
Vitamin A & Caffeine Set the Clock

Pre-Workout Supps Could Ruin Your Sleep
As a SuppVersity reader you do yet know all about those negative effects from the circadian rhythm series, anyway. Reason enough for me, to focus primarily on all the good stuff, the well-timed exposure to bright light can do for you in todays Special of the SuppVersity Short News.
- If you cant let go off your mobile at night, use blue blocker glasses as a countermeasure for alerting effects of evening light-emitting diode screen exposure - According to researchers from the Psychiatric Hospital of the University of Basel, blue blocker glasses (BB) significantly attenuate LED-induced melatonin suppression in the evening and decrease vigilant attention and subjective alertness before bedtime.
Strangely, though, visually scored sleep stages and behavioral measures collected the morning after were not modified. Still, van der Lely et al. conclude: "BB glasses may be useful in adolescents as a countermeasure for alerting effects induced by light exposure through LED screens and therefore potentially impede the negative effects modern lighting imposes on circadian physiology in the evening "(van der Lely. 2014). - UV-light protects against "brainflammation" in MS model - Scientists from the University of Wisconsin-Madison report in their latest paper that UV light selectively inhibits spinal cord inflammation and demyelination in experimental autoimmune encephalomyelitis.
Previous studies have already shown that UV radiation (UVR) can suppress experimental autoimmune encephalomyelitis (EAE), an animal model of multiple-sclerosis (MS), independent of vitamin D production. The mechanism of this suppression did yet remain to be elucidated, until Wang et al. (2014) observed that UVR (10kJ/m²) does not just inhibit the inflammation and demyelination of the spinal cord, but will also dramatically and significantly reduce spinal cord chemokine CCL5 mRNA and protein levels.
In conjunction with an increased production of intereron-gamma (IFN-?) and IL-10, which are actually used to treat all sorts of autoimmune diseases, artificial and natural UV light can thus actually "prevent the migration of inflammatory cells into the CNS" (Wang. 2014).
Bright light in the AM and the consumption of a breakfast thats high in tryptophan can help you maintain a healthy circadian rhythm - In case you are asking yourself how you can grasp all the benefits that are associated with having an intact circadian rhythm, you may be intrigued to hear that researchers from the Fukuoka Womens University have been able to show that an increase in tryptophan intake at breakfast combined with daytime light exposure has beneficial effects on melatonin secretion and sleep quality. As you can see in the figure to the left it will significantly elevate the evening melatonin peak, which is critical for an optimal circadian rhythm.Melatonin conc. after 4 days w/ dim vs. bright light and tryptophan rich vs. poor breakfast (Fukushige. 2014).
If you are looking to optimize your internal clock bright light (either sunlight or a 10,000 Lux daylight lamp) + tryptophan (seeds, nuts, soy, cheese, chicken, turkey, fish, oats, beans and eggs are the TOP10 sources) are the way to go. If you want an extra "kick" add some coffee to the equation. This will increase the light responsiveness of the circadian pacemaker - well, at least in mice it does (Diepen. 2014).
![]() |
If you want to design your own "dawn simulator" thats the spectrum you need (Virginie. 2014). |
- Bright lights at work will keep you sane, happy and alert - If you are working in an insufficiently lit office without natural sunlight, you should be prepared to develop physiological, sleep and depressive symptoms.
Assuming you have a window in your office, you will get a significantly more pronounced total and peak exposure to bright light thats going to correlate with 33% reduced levels of the stress hormone cortisol, a more natural rhythm of melatonin and a reduced risk of minor psychiatric disorders and depressive symptoms (MA) in the evening.
Thats at least what the results of a recent study from the UFRGS in Porto Alegre indicates (Harb. 2014). A study the authors of which proudly say that their "study demonstrated that not only may light pollution affect human physiology but also lack of exposure to natural light is related to high levels of cortisol and lower levels of melatonin at night, and these, in turn, are related to depressive symptoms and poor quality of sleep" (Harb. 2014).
Staying away from nightly night exposure may also help to keep your arteries clean even in the old age - Studies indicate that even after adjustment for confounding factors, including age, gender, body mass index, current smoking status, hypertension, diabetes, dyslipidemia, sleep medication, estimated glomerular filtration rate, nocturia, bedtime, duration in bed (scotoperiod), day length (photoperiod), urinary 6-sulfatoxymelatonin excretion and daytime and nighttime physical activity, exposure to light at night is associated with carotid intima-media thickness (Obayashi. 2014).If you want to light up the darkness, when its actually time to sleep do it with green (555nm) or red, not blue light, which suppresses melatonin (Bonmati-Carrion. 2014).
If you dont want to develop subclinical carotid atherosclerosis, when you are old, it would thus be a good idea to adhere to the basic rules of sleep hygiene: a dark room and/or blindfolds will keep your arteries clean and may thus save your life ;-)- If you have kidney problems, get out in the sun if you want to survive - Scientists from the University of California Irvine Medical Center were able to show that dialysis patients residing in higher UV index regions have lower all-cause mortality compared to those living in moderate-high UV regions (Shapiro. 2014).
More specifically, the ~60year-old subjects residing in moderate-high UV index regions had a 16% reduced risk of all-cause mortality. Those living in very-high UV index regions had a 1% higher risk reduction (17%). Interestingly, there was a similar inverse association between UV index and mortality was observed across all subgroups, but it was more pronounced among whites vs. non-whites. - Wear those shades (or bluelight blocker glasses) before any important sport event - Why? Stupid question. If you dabble around with your smartphone "unprotected" the evening before an important sport event for only 30 minutes, this can influence exercise performance under hot conditions during the subsequent early morning (Thompson. 2014).
![]() |
Even brief light exposure, when your eyes are closed messes with your circadian rhythm. |
![]() |
Sleep disturbance and adaptive immunity. Following a night of sleep loss, or during a period of sleep disturbance, nerve fibers from the sympathetic nervous system (SNS) release the neurotransmitter norepinephrine into primary and secondary lymphoid organs and stimulate the adrenal gland to release stored epinephrine into systemic circulation. Both neuromediators stimulate leukocyte adrenergic receptors (e.g., ADRB2) and activate nuclear factor (NF)-?B-mediated inflammatory programs (Irwin. 2015). |
- If your grandparents have Alzheimers install a timer-based light system - This may not just increase their sleep quality, but it will also improve their behavior and mood as indicated by reduced depression scores on the Cornell Scale for Depression in Dementia and agitation scores from the Cohen-Mansfield Agitation Inventory (Figueiro. 2014).
I must warn you, though: The recent field study from the Rensselaer Polytechnic Institute is promising, but the results should be replicated using a larger sample size and perhaps using longer treatment duration. - If you have to work night shifts consider using 1-5mg melatonin 1h before you go to bed - Why? You have to counter the natural decline in melatonin production that occurs over consecutive days of night work (Dumont. 2014).
In a recent study from the Sacre-Coeur Hospital of Montreal the melatonin production of the healthy volunteers decreased progressively decreased over consecutive days of simulated night work, both during nighttime and over the 24?h. Interestingly, this decrease was larger in women using oral contraceptives and independent of bright light exposure. - Get out into the sun and cure your back pain - If your back hurts and neither you or your doctor have a clue why, try getting into the sun. A study from the UMIT in Austria shows that only three sessions in front of 5.000?lx lamp improved the depressive symptoms and reduced the pain intensity in CNBP adults with chronic nonspecific back pain (Leichtfried. 2014).
![]() |
One of the side effects of blue light LED exposure (open circles) in the PM is a sign., but practically prob. irrelevant reduction in energy exp. on the next morning (Kayaba. 2014). |
Against that background I would like to use the last lines to put another emphasis on the results of the recent study by Kayaba et al. (2014) which found that one of the negative consequences smartphone junkies have to suffer on the morning after using their devices before bed is a reduction in energy expenditure.
If you take a look at the data in the figure at the right (open circles = exposed; full circles = non-exposed), you will yet realize that this probably isnt the worst side effect of blue-LED light exposure in the evening. The reduction is significant in the AM, yes, but on its own its not practically relevant | Comment on Facebook!
- Bonmati-Carrion, Maria Angeles, et al. "Protecting the Melatonin Rhythm through Circadian Healthy Light Exposure." International Journal of Molecular Sciences 15.12 (2014): 23448-23500.
- Diepen, Hester C., et al. "Caffeine increases light responsiveness of the mouse circadian pacemaker." European Journal of Neuroscience 40.10 (2014): 3504-3511.
- Dumont, Marie, and Jean Paquet. "Progressive decrease of melatonin production over consecutive days of simulated night work." Chronobiology international 0 (2014): 1-8.
- Figueiro, Mariana G., et al. "Tailored lighting intervention improves measures of sleep, depression, and agitation in persons with Alzheimers disease and related dementia living in long-term care facilities." Clinical interventions in aging 9 (2014): 1527.
- Fukushige, Haruna, et al. "Effects of tryptophan-rich breakfast and light exposure during the daytime on melatonin secretion at night." breast cancer 4 (2014): 9.
- Harb, Francine, Maria Paz Hidalgo, and Betina Martau. "Lack of exposure to natural light in the workspace is associated with physiological, sleep and depressive symptoms." Chronobiology international 0 (2014): 1-8.
- Irwin Michael, R. "Why Sleep Is Important for Health: A Psychoneuroimmunology Perspective." Annual Review of Psychology 66 (2015): 143-172.
- Kayaba, Momoko, et al. "The effect of nocturnal blue light exposure from light-emitting diodes on wakefulness and energy metabolism the following morning." Environmental health and preventive medicine 19.5 (2014): 354-361.
- Leichtfried, Veronika, et al. "Short?Term Effects of Bright Light Therapy in Adults with Chronic Nonspecific Back Pain: A Randomized Controlled Trial." Pain Medicine 15.12 (2014): 2003-2012.
- Obayashi, Kenji, Keigo Saeki, and Norio Kurumatani. "Light exposure at night is associated with subclinical carotid atherosclerosis in the general elderly population: The HEIJO-KYO cohort." Chronobiology international 0 (2014): 1-8.
- Okamoto, Yosuke, and Seiji Nakagawa. "Effects of daytime light exposure on cognitive brain activity as measured by the ERP P300." Physiology & behavior 138 (2015): 313-318.
- Partonen, Timo. "Obesity= physical activity+ dietary intake+ sleep stages+ light exposure." Annals of medicine 46.5 (2014): 245-246.
- Shapiro, Bryan B., et al. "The Relationship Between Ultraviolet Light Exposure and Mortality in Dialysis Patients." American journal of nephrology 40.3 (2014): 224-232.
- Thompson, A., et al. "The Effects of Evening Bright Light Exposure on Subsequent Morning Exercise Performance." International journal of sports medicine EFirst (2014).
- van der Lely, Stéphanie, et al. "Blue blocker glasses as a countermeasure for alerting effects of evening light-emitting diode screen exposure in male teenagers." Journal of Adolescent Health (2014).
- Virginie, Gabel, et al. "Dawn simulation light impacts on different cognitive domains under sleep restriction." Behavioural Brain Research (2014).
- Wang, et al. "UV light selectively inhibits spinal cord inflammation and demyelination in experimental autoimmune encephalomyelitis." Arch Biochem Biophys. (2014). [Epub ahead of print]
- Zeitzer, Jamie M., et al. "Millisecond Flashes of Light Phase Delay the Human Circadian Clock during Sleep." Journal of biological rhythms (2014): 0748730414546532.
Friday, April 8, 2016
Bigger Triceps in 8 Weeks of Reduced Oxygen Training Bigger as in Bigger Than With Regular 10 RM Training
![]() |
Please, do me a favor and read the info in the red box. Hypoxia ? Kaatsu |
Against that background I can live with the minor downside that the subjects were 13 healthy men (mean age, 23 years; height 169 cm; body mass 60 kg) who were assigned to train either under normoxic or hypoxic training conditions were a little "too average" (=untrained) for my liking.
You can learn more about Hypoxia at the SuppVersity

EPO Effect of Low Oxygen
-11% Fat in Three Weeks!

Training & Living in Hyopoxia

Strength Up, Size Down W/ Kaatsu
Hypoxia vs. Occlusion
Blood Flow Restriction Update
Just to make sure you dont over-read this: Hypoxia in this case means "low oxygen supply" - This is in contrast to blood flow restriction training of which I suspect that some of you may have (until now) thought was applied in this study.
As the data in Figure 1 goes to show you, neither (a) nor (b) nor both was the case in the study at hand. The Elbow extensions the subjects performed at a workload of a 10 RM with the non dominant arm to exhaustion three times with 1-minute intervals 3 days each week for 8 weeks, did after all elicit significant strength and size gains in both groups - regardless of whether they were performed while the subjects were inspiring normoxic air (FiO2=20. 9%; at sea level) or hypoxic gas (FiO2=12 .7%; corresponding to 4000 m above sea level):![]() |
Figure 1: Thickness of triceps brachii (a and b) in both arms before and after training in the normoxic (N) and hypoxic (H) groups; ** denotes significant difference (Kurobe. 2014) |
The inter-group differences, i.e. the significantly greater increase in muscle thickness the hypoxia group, was significant, as well. And while the latter cannot be said of the increase in strength, I am pretty sure that the additional size gains alone would be reason enough for some of you to take a bottle with reduced oxygen air (Fi=2=12.7%; meaning only 12.7% of the air in the container would be oxygen to the gym).
As I already pointed out in the red box, this post is not about blood flow restriction (aka Kaatsu) its not about wearing a simple mask that hinders your breathing (see right), but its about wearing a mask with exogenous air supply - low oxygen air, obviously. |
In view of the non-existent effects on strength, its also not exactly an option for regular performance oriented athletes.
For a bodybuilder, on the other hand, it may in fact be worth trying. After years of training, its yet not realistic to see similar pronounced gains as a rookie, though - so dont be disappointed if the cycle you did last summer had more pronounced effects boys ;-)
- Kurobe et al. "Effects of resistance training under hypoxic conditions on muscle hypertrophy and strength." Clin Physiol Funct Imaging(2014) doi: 10.1111/cpf.12147
Friday, March 25, 2016
How to Change Measurement Unit of Office 2003 07 and 10
Couple of months ago, I wrote about how to show text boundaries in MS Office. If you need to know about text boundaries then read the following post:
- How to Show Text Boundaries in Microsoft Office: Applies for 2003, 07 and 10
Today Im gonna talk about changing the measurement unit of Microsoft Office. You know what is measurement unit. This is the unit by which you can set up your page size, margins etc. etc.. But sometimes it may be changed due the change in the language option. Or other program may lead the change. Whatever the reason you might be in trouble due to the change in the measurement scale.
Or sometimes the default settings might not be in your favor. For example, you would like to work in inches. But default setting is centimeters. And you may not know that 1 inch equals to 2.54 centimeters. And this is very irritating too.
Ok lets see how to customize the measurement scale. Im gonna discuss about all the running versions of Microsoft Office.
For Office 2003 Users:
Open MS Word > Tools Menu > Options > General > Measurement Units > There are 5 options: Inches, Centimeters, Millimeters, Points, Picas > Choose any of them that suits you > Hit OK.
For Office 2007 Users:
Open MS Word > Hit on the Office Button from top-left corner > Click Word Options Button > Choose Advanced from left pane > Now scroll down to the Display section > Show measurement in units of: choose any of the units from the drop down box > Hit OK.
For Office 2010 User:
Open MS Word > File > Options > Advanced > Scroll down to the Display Section > Choose your desired unit from the drop down box right to the Show measurement in units of > Hit OK
Stay with Marks PC Solution to get more interesting IT topics!
Thursday, March 24, 2016
Installing Chromium on Ubuntu 12 10
Chromium is the open-source browser on which Google bases its Chrome browser. Therefore, these browsers are nearly identical, and you can use Chromium in place of Chrome. In fact, you should do so on Ubuntu 12.10. If you try to install Chrome on a PC running Ubuntu 12.10, the installation halts and displays "The package is of bad quality" as shown in Figure 1 below.
![]() |
Figure 1 - A warning against installing Google Chrome on Ubuntu 12.10. You should instead install Chromium. |
This document explains how to remove Google Chrome (if installed), install Chromium, and then configure it.
Removing Google Chrome
In case you have installed Google Chrome on Ubuntu 12.10, you should remove it and then install Chromium according to the next section. To remove (uninstall) Google Chrome, do the following:
In case you have installed Google Chrome on Ubuntu 12.10, you should remove it and then install Chromium according to the next section. To remove (uninstall) Google Chrome, do the following:
- Open a terminal, type sudo apt-get install synaptic, type your password and then wait for Synaptic to install.
- Type sudo synaptic to display the Synaptic Package Manager window.
- Type google-chrome into the Quick filter search field.
- Right-click google-chrome-stable, click Mark for Complete Removal, click Apply to display a Summary window and then click Apply.
- Close both the Synaptic Package Manager window and the terminal.
Installing Chromium
To install Chromium on Ubuntu 12.10, do the following:
To install Chromium on Ubuntu 12.10, do the following:
- As shown in Figure 2 below; in the Unity launcher, click the Ubuntu Software Center icon to display its window.
- As shown in Figure 3 below, type chromium into the search field, select Chromium Web Browser and then click Install.
- Type your password and then click Authenticate to start the installation.
- After Chromium installs, close the Ubuntu Software Center.
- Configure Chromium according to the next section.
![]() |
Figure 2 - Opening the Ubuntu Software Center. |
![]() |
Figure 3 - Installing the Chromium Web Browser. |
Configuring Chromium
To configure Chromium on Ubuntu 12.10, do the following:
To configure Chromium on Ubuntu 12.10, do the following:
- Click Dash Home (at top of the launcher) and then click Chromium Web Browser as shown in Figure 4 below.
- Minimize the Chromium window; in the Unity launcher, right-click the Chromium icon; and then click Lock to Launcher as shown in Figure 5 below.
- Maximize the Chromium window, click sign in (at the upper right) to display the Sign in to Chromium window as shown in Figure 6 below.
- Type your email address, and then click either Sign in or Create a Google Account. If you already have a Google account, Chromium can synchronize your bookmarks, history, and settings.
- Click the three bars at the upper right, and then click Settings to display its window.
- Select Open a specific page or set of pages, click Set pages, select https//www.google.com/ and then click OK.
- As shown in Figure 7 below, scroll to Default browser, click Make Chromium my default browser and then close the Settings - Chromium window.
![]() |
Figure 4 - Opening Chromium through Dash. |
![]() |
Figure 5 - Locking the Chromium icon to the Unity launcher. |
![]() |
Figure 6 - Signing into Chromium, and syncing to your Google account. |
![]() |
Figure 7 - Making Chromium your default browser. |
Thursday, March 10, 2016
Installing Chromium on Xubuntu 12 10
Chromium is the open-source browser on which Google bases its Chrome browser. Therefore, these browsers are nearly identical, and you can use Chromium in place of Chrome. In fact, you should do so on Xubuntu 12.10 (a community-developed Linux distribution based on Ubuntu core components and Xfce Linux desktop environment). If you try to install Chrome on a PC running Xubuntu 12.10, the installation halts and displays "The package is of bad quality" as shown in Figure 1 below.
![]() |
Figure 1 - A warning against installing Google Chrome on Xubuntu 12.10. You should instead install Chromium. |
This document explains how to remove Google Chrome (if installed), install Chromium, and then configure it.
Removing Google Chrome
In case you have installed Google Chrome on Xubuntu 12.10, you should remove it and then install Chromium according to the next section. To remove (uninstall) Google Chrome, do the following:
In case you have installed Google Chrome on Xubuntu 12.10, you should remove it and then install Chromium according to the next section. To remove (uninstall) Google Chrome, do the following:
- Open a terminal, type sudo apt-get install synaptic, type your password and then wait for Synaptic to install.
- Type sudo synaptic to display the Synaptic Package Manager window.
- Type google-chromeinto the Quick filter search field.
- Right-click google-chrome-stable, click Mark for Complete Removal, click Apply to display a Summary window, and then click Apply.
- Close both the Synaptic Package Manager window and the terminal.
Installing Chromium
To install Chromium on Xubuntu 12.10, do the following:
To install Chromium on Xubuntu 12.10, do the following:
- As shown in Figure 2 below, click the Applications Menu (white mouse, upper left on screen) and then click Ubuntu Software Center to display its window.
- As shown in Figure 3 below, type chromium into the search field, select Chromium Web Browser and then click Install.
- After Chromium installs, close the Ubuntu Software Center.
- Configure Chromium according to the next section.
![]() |
Figure 2 - Opening the Ubuntu Software Center. |
![]() |
Figure 3 - Installing the Chromium Web Browser. |
Configuring Chromium
To configure Chromium on Xubuntu 12.10, do the following:
- Click the Applications Menu (white mouse), click Internet and then click Chromium Web Browser as shown in Figure 4 below.
- Click sign in (at the upper right of your first Chromium window) to display the Sign in to Chromium window as shown in Figure 5 below.
- Type your email address, and then click either Sign in or Create a Google Account. If you already have a Google account, Chromium can synchronize your bookmarks, history, and settings.
- Click the three bars at the upper right, click Settings to display its window.
- Select Open a specific page or set of pages, click Set pages, select https//www.google.com/ and then click OK.
- As shown in Figure 6 below, scroll to Default browser, click Make Chromium my default browser and then close the Settings - Chromium window.
![]() |
Figure 4 - Selecting and opening Chromium. |
![]() |
Figure 5 - Signing into Chromium, and syncing to your Google account. |
![]() |
Figure 6 - Making Chromium your default browser. |
Thursday, February 25, 2016
Networking Ubuntu 9 10 and Windows XP
This article explains how to share files and folders between your Ubuntu 9.10 computer and your Windows XP computer through your wired, ethernet home network. For background information and additional details, see Mount samba shares with utf8 encoding using cifs. Though this background information focuses on servers, it also applies to workstation computers. Therefore, procedures and examples in the article below focus on networking Ubuntu 9.10 and Windows XP computers.
To network Ubuntu 9.10 with Windows XP, you need to perform two procedures:
To set up Windows XP to share documents with Ubuntu through your wired, ethernet home network, do the following:
To set up Ubuntu to share documents with Windows XP through your home network, do the following:


Read more »
To network Ubuntu 9.10 with Windows XP, you need to perform two procedures:
- On your XP computer, use the Set Up Sharing on Windows XP procedure below to share your XP Shared Documents folder with all network users.
- On your Ubuntu computer, use the Set Up Sharing on Ubuntu procedure below to create a share point, which is a desktop icon through which you have read and write access to the Shared Documents folder on your XP computer.
To set up Windows XP to share documents with Ubuntu through your wired, ethernet home network, do the following:
- On your Windows XP computer, click My Computer to display its window.
- Right-click Shared Documents, click Properties to display its window, and then click Sharing to display its page.
- In the "Network sharing and security" frame:
- Select Share this folder on the network.
- Write down the Share name, which is "SharedDocs" in this example. You will need the Share name when you perform the Set Up Sharing on Ubuntu procedure below.
- Select Allow network users to change my files.
- Click Apply to set folder permissions, and then click OK to close the window.
- Click Start, click Settings, and then click Control Panel to display it.
- Double-click System to display its window, and then click Computer Name to display its page.
- Write down the contents of the Full-computer-name field, which is "alpha" in this example. You will need the Full computer name when you perform the Set Up Sharing on Ubuntu procedure below.
To set up Ubuntu to share documents with Windows XP through your home network, do the following:
- On your Ubuntu computer, click Applications, select Accessories, click Terminal to display its window, and then do the following:
- Type sudo aptitude install smbfs, press Enter, type your password, press Enter again, follow the prompts, and then to install the smbfs packages, which you need for sharing files on the network.
- Type sudo mkdir /media/ubuntusharename, and then press Enter to name the share icon that will be on the Ubuntu desktop. Use a meaningful name for the ubuntusharename. This example uses "betashare" because the Ubuntu computer name is beta.
- Type sudo nano /etc/nsswitch.conf, and then press Enter to display the nsswitch configuration file through the nano editor.
- On the Hosts line, use the arrow keys to move your cursor to the "d" in dns on the hosts line, type wins and a space immediately before dns so that the hosts line is
hosts: files mdns4_minimal [NOTFOUND=return] wins dns mdns4. - Press Ctrl+X, type y, and then press Enter to save your edits and close the nano editor.
- Type sudo aptitude install winbind, and then press Enter to install windbind.
- Close the terminal window, and then turn off your Ubuntu computer completely.
- Turn your Ubuntu computer back on, click Applications, select Accessories, click Terminal to display its window, and then do the following:
- Type sudo cp /etc/fstab /etc/fstab_old, and then press Enter to back up your fstab file. Do not skip this step because fstab is an important system file. In case you need to recover fstab, use the following command: sudo mv /etc/fstab_old /etc/fstab.
- Type sudo nano /root/.smbcredentials, and then press Enter to display your credentials file, which might be empty.
- Add two lines to your credentials file:
username=winusername
password=winpassword
Replace winusername with your user name on your Windows XP computer. Replace winpassword with your Windows XP password. - Press Ctrl+X, type y, and then press Enter to save your edits and close the nano editor.
- Type sudo chmod 700 /root/.smbcredentials, and then press Enter so that only root can access your credentials file.
- Type sudo nano /etc/fstab, and then press Enter to display your fstab file. At the bottom of the file, add the following line:
//wincomputername/winsharename /media/ubuntusharename cifs guest,rw,iocharset=utf8,file_mode=0777 0 0
Replace wincomputername with your Windows XP Full computer name, which is "alpha" in the Set Up Sharing on Windows XP procedure above. Replace winsharename with your Windows XP Share name, which is "SharedDocs" in the Set Up Sharing on Windows XP procedure above. Replace ubuntusharename with your Ubuntu share name, which is "betashare" in this example. Therefore, this line on the example Ubuntu computer is:
//alpha/SharedDocs /media/betashare cifs guest,rw,iocharset=utf8,file_mode=0777 0 0 - Press Ctrl+X, type y, and then press Enter to save your edits and close the nano editor.
- Type sudo mount -a, and then press Enter to display your Ubuntu-share icon on your Ubuntu desktop.
- Close the terminal window, and then double-click your Ubuntu-share icon to open it. It should contain the same folders and files as the Shared Documents folder on your Windows XP computer.
Subscribe to:
Posts (Atom)