Copy a pictures into bmp for MS Office, using xclip?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
1: You don't cat image files, that just pours a bunch of gibberish across the screen.
2: If you want to convert a bitmap to a ping, take a look at imagemagic -mogrify which I'm told (by Mr Googles) does a splendid job of doing just that.
3: If piping the output of something to xclip works then you're looking at...
From Iceweasel, I can copy the picture into clipboard and it works.
I can paste it into Office.
However I would like to run a bash script to do convert a png and store it for the xclip/x11 clipboard, this to paste it later into Office.
Code:
cat image.bmp | xclip -i
<--- not working
Any ideas?
question, why are you running MS Office in Linux? just use OpenOffice.org or its fork LibreOffice, then you can click n drag the .png directly into OO without any fuss. also the newer versions of MS Office now can use .png files as of win7 their screen shots are now saved as .png not .jpg and MS Windows can read .pgn files without 3rd party applications being installed.
question, why are you running MS Office in Linux? just use OpenOffice.org or its fork LibreOffice, then you can click n drag the .png directly into OO without any fuss. also the newer versions of MS Office now can use .png files as of win7 their screen shots are now saved as .png not .jpg and MS Windows can read .pgn files without 3rd party applications being installed.
I have a very slow cpu.
So I have to use lightweight applications.
Abiword is okay, but wine ms office is fast and works well
Openoffice is bloated, slow, and awful on my pc.
MS rocks, really.
i have never seen a case were OOo runs slower natively then wine MS Office and ive been using both since 2000, but what ever floats your boat.
again if you are using a modern enough version of MS Office (2012 or newer) you should be able to just click n drag the .png file directly into the document. no need to convert to .jpg.
i have never seen a case were OOo runs slower natively then wine MS Office and ive been using both since 2000, but what ever floats your boat.
.
I was not talking about MS Office 2013 or recent ones.
All my respect, sorry but you are lying. OOo is not particularly lightweight. It is like telling me that Inkscape is lightweight, which is not true. Inkscape and OOo are both heavy and slow/bloated.
By the way, such dev of OOo is not coming from Linux. Before OOo was a closed source. http://en.wikipedia.org/wiki/Staroffice
It should be rewriten one in C++ by Linux, and cross-platform with limited dependencies, offering a better compatibility with docx or doc (so does LibreOffice).
Best office applications are on Windows or Mac. Nothing to say about it. However they might be ressource demanding (new expensive pc?) which is the big/huge drawback.
Btw, today, the world (> 90% of users, worldwide) uses Microsoft Office. There is nothing wrong about using MS Products.MS Office remains the best of the best for Office for general purposes. DOC/DOCX are formats to use, which are important if you have co-workers. http://office.microsoft.com/
wow such FUD and false accusations from Xeratul. sorry mate i made zero false statements unlike yourself. there are plenty of issues with running MS office, primarily the #1 fact that MS is the very first to break their own SoP for best practice security by mandating that the administrator be used to install and in many cases even access fully the functionality of MS Office.
2nd with every new release of MS Office they break backwards compatibility of their own "standards" for all file types generated via MS Office. try opening a .doc/.docx file created today in MS Office 2013 in MS Office 2008, good luck, it will not happen, but I can open a .odt file created in OOo v 4.x in OOo v 3.x with zero issues.
need i really continue? just because fools use a tool does not make it the best out there. so by your logic because MS Windows is the most used OS in the world for office desktops it is therefore the best OS in the world. im sorry by im crying foul on that claim and logic mate, you are flat out off your rocker.
wow such FUD and false accusations from Xeratul. sorry mate i made zero false statements unlike yourself. there are plenty of issues with running MS office, primarily the #1 fact that MS is the very first to break their own SoP for best practice security by mandating that the administrator be used to install and in many cases even access fully the functionality of MS Office.
2nd with every new release of MS Office they break backwards compatibility of their own "standards" for all file types generated via MS Office. try opening a .doc/.docx file created today in MS Office 2013 in MS Office 2008, good luck, it will not happen, but I can open a .odt file created in OOo v 4.x in OOo v 3.x with zero issues.
need i really continue? just because fools use a tool does not make it the best out there. so by your logic because MS Windows is the most used OS in the world for office desktops it is therefore the best OS in the world. im sorry by im crying foul on that claim and logic mate, you are flat out off your rocker.
Discussing about tastes or software preferences is without any end. It is like customizing a desktop (our C guru mentioned about it).
Many may think and believe that there is ONLY MS Office. The world is believing in MS products (which does not mean that they are perfect).
I am from the side of MS Office softwares. They run well and very fast (up to year 2003/2010). I may have doubts about the 365 as well.
Some other might prefer OOo or Libreoffice, and believe that there is nothing else than OOo.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.