Author Topic: libre office  (Read 2301 times)

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6377
  • I'm going South
Re: libre office
« Reply #30 on: July 13, 2011, 04:43:22 PM »
Yes. From that listing, sda1 & 2 are primary NTFS-formatted partitions. sda5 through 8 are extended NTFS-formatted partitions. Which ones are you wanting to mount?



You could mount all of them but that would probably be overdoing it. But where do you want to mount those that you want to mount?

We don't have the UUID numbers of your ntfs partitions but if you just tell us what you want the mountpoints to be I could nevertheless give you a suggestion as to how /etc/fstab should be edited -- if it weren't for two two things that slightly disturb me:

According to the output of your blkid command /dev/sda7 is an ext4 formatted Linux partition. According to the output of fdisk in your last post it is an ntfs formatted Windows partition. Perhaps you should rerun blkid as root too?

The other slightly disturbing thing is that sda5, sda6, sda7 and sda8 might be slightly overlapping. To be on the safe side I'd also like to see the output of fdisk -l without the "-u=cylinders" option.
« Last Edit: July 13, 2011, 04:49:08 PM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline ubi

  • Jr. Member
  • **
  • Posts: 19
Re: libre office
« Reply #31 on: July 13, 2011, 06:35:59 PM »
Quote

You could mount all of them but that would probably be overdoing it. But where do you want to mount those that you want to mount?

We don't have the UUID numbers of your ntfs partitions but if you just tell us what you want the mountpoints to be I could nevertheless give you a suggestion as to how /etc/fstab should be edited -- if it weren't for two two things that slightly disturb me:

According to the output of your blkid command /dev/sda7 is an ext4 formatted Linux partition. According to the output of fdisk in your last post it is an ntfs formatted Windows partition. Perhaps you should rerun blkid as root too?

The other slightly disturbing thing is that sda5, sda6, sda7 and sda8 might be slightly overlapping. To be on the safe side I'd also like to see the output of fdisk -l without the "-u=cylinders" option.



i want to mount automatically sda 6 and sda 7

and for blkid and also fdisk -l as root like this

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6377
  • I'm going South
Re: libre office
« Reply #32 on: July 13, 2011, 11:46:50 PM »

i want to mount automatically sda 6 and sda 7

and for blkid and also fdisk -l as root like this



Excellent. /dev/sda6 and /dev/sda7 are both labelled, so let's use the labels.

First you have to create the mountpoints. As your ordinary user, run this command in a terminal:
Code: [Select]
mkdir ~/DATA ~/HOBIIf either of the folders DATA and HOBI already exist in your home folder you'll get an error message and we have to change the names.

(You could have created the two folders from within Dolphin too.)

Then the editing of /etc/fstab has to be done as root, so:

  • navigate to the /etc folder in Dolphin;
  • right-click the icon of the file fstab;
  • click "Root menu";
  • click "Edit as root";
  • give root's password and hit enter;
  • and add the following two lines to the file:

LABEL=DATA /home/yourname/DATA ntfs-3g defaults 0 0
LABEL=HOBI /home/yourname/HOBI ntfs-3g defaults 0 0

But note that you have to replace yourname with your real username.

Save the file.

To be on the safe side check that the package ntfs-3g is installed in Synaptic.

Reboot, open Dolphin and click the icons of the newly created mountpoints.



You could have given the mountpoints other names and you could have located them elsewhere, but as you didn't express any preferences I named them after the partition labels and placed them in your home directory.

« Last Edit: July 14, 2011, 12:01:57 AM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3342
  • Satellite Station Africa
Re: libre office
« Reply #33 on: July 14, 2011, 12:23:58 AM »
That looks pretty neat - just need to use more colours ...  ;D ;D ;D
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6377
  • I'm going South
Re: libre office
« Reply #34 on: July 14, 2011, 01:02:34 AM »
 ;)
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline ubi

  • Jr. Member
  • **
  • Posts: 19
Re: libre office
« Reply #35 on: July 14, 2011, 01:12:38 AM »
hi longtom, don't make me so silly man :-[ :-[ :-[ ;D

Offline ubi

  • Jr. Member
  • **
  • Posts: 19
Re: libre office
« Reply #36 on: July 14, 2011, 01:55:16 AM »
Quote

To be on the safe side check that the package ntfs-3g is installed in Synaptic.

Reboot, open Dolphin and click the icons of the newly created mountpoints.


i have done all but clementine, libre and dekstop wallpaper changer can not automatically mount hobi and data drives so if i want to write something i still must open dolphin, open drive (e.g data), open document. After that libre can open all content in that drive. That is also happen to clementine, i must open drives, open music folder, open artist album folder, and then play playlist in clementine.

i have check synaptic, ntfs-3g has been installed

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6377
  • I'm going South
Re: libre office
« Reply #37 on: July 14, 2011, 02:33:16 AM »
Quote

To be on the safe side check that the package ntfs-3g is installed in Synaptic.

Reboot, open Dolphin and click the icons of the newly created mountpoints.


i have done all but clementine, libre and dekstop wallpaper changer can not automatically mount hobi and data drives so if i want to write something i still must open dolphin, open drive (e.g data), open document. After that libre can open all content in that drive. That is also happen to clementine, i must open drives, open music folder, open artist album folder, and then play playlist in clementine.

i have check synaptic, ntfs-3g has been installed

If you followed my instructions HOBI and DATA ought to be mounted at boot, i.e. long before you start LibreOffice or Clementine, or even KDE. So we have to figure out what went wrong.

Were the two subfolders HOBI and DATA successfully created in your home folder? Can you see them in Dolphin? (The output of the command "ls ~" in a terminal should also list them.)

What does your /etc/fstab look like now, after editing? Post the output of "cat /etc/fstab".

And finally, post the output of the command "df". (Or of the command "mount".)

Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline ubi

  • Jr. Member
  • **
  • Posts: 19
Re: libre office
« Reply #38 on: July 14, 2011, 03:08:44 AM »
this is home folder


this is etc/fstab


this is output of df and mount command


Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6377
  • I'm going South
Re: libre office
« Reply #39 on: July 14, 2011, 03:20:32 AM »
this is home folder


this is etc/fstab


this is output of df and mount command




I can see what went wrong.

The two lines in /etc/fstab are both missing a space.

LABEL=DATA/home/garadaiva/DATA ntfs-3g defaults 0 0
should be
LABEL=DATA  /home/garadaiva/DATA ntfs-3g defaults 0 0
with a space between "LABEL=DATA" and "/home/garadaiva/DATA".

And
LABEL=HOBI/home/garadaiva/HOBI ntfs-3g defaults 0 0
should be
LABEL=HOBI  /home/garadaiva/HOBI ntfs-3g defaults 0 0

(I added two spaces above instead of one to make it extra clear where the spaces should be.)
« Last Edit: July 14, 2011, 03:23:18 AM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline ubi

  • Jr. Member
  • **
  • Posts: 19
Re: libre office
« Reply #40 on: July 14, 2011, 08:49:18 AM »
great man  ;D
hobi and data folder and all it's contents move to home and libre, clementine and also wallpaper changer can detect all i want. Thanks dude.
first i worry about the influences to windows but after i enter to my windows, everything are allright.

and now i want to ask you about : why if i open a document that has been made by ms word and then i open in libre, the format is broken, like the format of table, image or something else

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6377
  • I'm going South
Re: libre office
« Reply #41 on: July 14, 2011, 09:07:38 AM »
great man  ;D
hobi and data folder and all it's contents move to home and libre, clementine and also wallpaper changer can detect all i want. Thanks dude.
first i worry about the influences to windows but after i enter to my windows, everything are allright.

and now i want to ask you about : why if i open a document that has been made by ms word and then i open in libre, the format is broken, like the format of table, image or something else


Most Microsoft docs aren't broken when opened in LibreOffice, but some are. pinoc's explanation in the thread at http://www.pclinuxos.com/forum/index.php/topic,94172.msg792127.html#msg792127 is probably correct:

Quote
Microsoft is not friendly (interested) with providing sufficient docx-info for LibreOffice to work properly
.

Over time LibreOffice will certainly handle today's Microsoft formats better. (And when it does, Microsoft will no doubt have introduced new incompatibilities.)

« Last Edit: July 14, 2011, 09:09:16 AM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline ubi

  • Jr. Member
  • **
  • Posts: 19
Re: libre office
« Reply #42 on: July 14, 2011, 10:31:06 AM »
ok bald brick thank you very much

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6377
  • I'm going South
Re: libre office
« Reply #43 on: July 14, 2011, 10:49:45 AM »
You are welcome. I'm glad we managed to solve some of your problems.
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D