![]() |
Re: Keep or Send Back?
Quote:
Should i go to leafpad and start over? so i can't just email myself the string (code) and copy it from the email and paste it in the chrome directory? |
Re: Keep or Send Back?
Okay, so open leafpad and paste in the css code,
Then save the file to the "Documents" folder as "userContent.css" Then, type the following command in xterm: Code:
mv /home/user/MyDocs/.documents/userContent.css /home/user/.mozilla/microb/userContent.css Feel free to PM me or post back here if you've got more questions :) |
Re: Keep or Send Back?
ok, havent tried the leafpad thing yet, could find it. but now im in mozilla/microb/chrome/userContent.css and i have copied the string Benson made for me to the clipboard.. how do i paste it? i dont know the command to paste and save.. thanks.
|
Re: Keep or Send Back?
Quote:
|
Re: Keep or Send Back?
[QUOTE=Benson;207126]Open up osso-xterm (Last entry under Utilities) to get to a command line, and then I think you'll need to make that directory...
Code:
cd .mozilla/microb/ The simplest thing, if you can copy that to the clipboard exactly on your tablet, is to type Code:
vi userContent.css QUOTE] well.. i was in the chrome directory and pasted the code.. then hit the back button and typed ZZ but nothing happend.. so i exited and opend the web went to t-nation and it looked the same as before.. is ZZ to save supposed to confirm SAVED in anyway.. i might have typed zz not ZZ.. does that make a difference? did it again and type capital ZZ and exited.. do i need to reboot or something.. still not working. it did seem to save the code when the ZZ command was given cause it moved the cursor down to the next line.. |
Re: Keep or Send Back?
question.. when i pasted the code i realized i didnt copy it all in the first place.. how do i delete the code once it's pasted so i can recopy and paste.. sounds simple but i can't find a "cut" or "delete" .
|
Re: Keep or Send Back?
In normal mode (not insert/replace) press dd to delete the current line.
|
Re: Keep or Send Back?
it would be easiest to forget about vi at the moment because it can be frustrating if you do not know how to use it.
The best thing to do would be: - open xterm - type: cat >> /home/user/.mozilla/microb/chrome/userContent.css (only works if the chrome dir exists, if not you'll have to create it) - paste in the css code - press Ctrl in the xterm toolbar followed by the z key you should now see something like: [1] + Stopped cat 1>>.mozilla/microb/chrome/userContent.css - you might have to restart your browser look up the 'cat' command on the web, it is useful to view, create or append to files. |
Re: Keep or Send Back?
I think that hint is great for small stuff, BUT
- Change the >> to > (otherwise you append which is not what you want probably) - Press CTRL + D, not CTRL + Z. The latter backgrounds the program/job. The former sends an end of text and cat exits normally. |
Re: Keep or Send Back?
Got your PM, bd7.
Yeah, Bousch is right; that cat stuff is actually the easy way; sorry for not thinking of it... (and darklajid is right... ^Z is used as EOF marker on DOS (inherited from CP/M, which I think inherited it straight from VMS?), ^D in UNIX). From some of what you've said, I'm not quite sure you got it right. /home/user/.mozilla/microb/chrome should be a directory, and it should have a file in it named userChrome.css, with the contents as I posted, and with UNIX style newlines (^J). I'm not sure that MS-DOS style (^M^J) is a problem, but should be avoided anyway. So a couple of checks; can you post the results of: Code:
ls -l /home/user/.mozilla/microb/chrome/ (Actually, better way: Code:
ls -l /home/user/.mozilla/microb/chrome/ > /home/user/MyDocs/results.txt And you will have to restart your browser after applying any CSS changes; the only easy way to ensure this is to reboot. (Forgot that too. :o) But if your browser isn't rendering things the same, except for the font being two-thirds the size, the CSS isn't going to help. It seems you've got some strange setting in your browser, which is just weird. To try checking for that, can you also post your prefs.js? That'd be: Code:
cp .mozilla/microb/prefs.js MyDocs/prefs.js.txt |
All times are GMT. The time now is 06:16. |
vBulletin® Version 3.8.8