Tips and tricks

From MEPIS Documentation Wiki

(Difference between revisions)
Jump to: navigation, search
(Useful bash commands: add more commands)
(Firefox)
Line 1: Line 1:
==Browsers==
==Browsers==
===Firefox===
===Firefox===
-
'''General'''
+
====General====
*[http://www.ubuntugeek.com/speed-up-firefox-web-browser.html Speed Up Tips]
*[http://www.ubuntugeek.com/speed-up-firefox-web-browser.html Speed Up Tips]
*[[Disable_IPv6]]
*[[Disable_IPv6]]
-
 
+
====Updates====
-
'''Fonts'''
+
====Fonts====
:Click on Edit > Preferences > Content and play with the Fonts & Colors. Use the "Advanced ..." button. Try using "Allow pages to choose their own fonts, instead of my selections above" checked.  
:Click on Edit > Preferences > Content and play with the Fonts & Colors. Use the "Advanced ..." button. Try using "Allow pages to choose their own fonts, instead of my selections above" checked.  
-
'''Spellcheck'''
+
====Spellcheck====
:A dictionary add-on must be installed for spellchecking to work. <br>
:A dictionary add-on must be installed for spellchecking to work. <br>
:Goto https://addons.mozilla.org/en-US/firefox/browse/type:3 and install the add-on dictionary of your choice.
:Goto https://addons.mozilla.org/en-US/firefox/browse/type:3 and install the add-on dictionary of your choice.
-
'''Mailto'''
+
====Mailto====
:Depending on your version, Firefox may not assign an application to handle <nowiki>"mailto"</nowiki> links.  To change that behavior:  
:Depending on your version, Firefox may not assign an application to handle <nowiki>"mailto"</nowiki> links.  To change that behavior:  
1) Click Edit --> Preferences --> Applications, then type "mailto" in the search box, and click the entry in the right-hand column to select the action you want.
1) Click Edit --> Preferences --> Applications, then type "mailto" in the search box, and click the entry in the right-hand column to select the action you want.
Line 21: Line 21:
or for kmail, enter
or for kmail, enter
  kmailservice
  kmailservice
-
'''Transferring profiles'''
+
====Transferring profiles====
-
:When transferring a Firefox profile, whether in migrating from Windows, another Linux version, or from one MEPIS installation to another, you will need to change the file ''profiles.ini'' following [[Migrating_Windows_profiles#Firefox|these directions]] in order to access your bookmarks, cookies and preferences.
+
When transferring a Firefox profile, whether in migrating from Windows, another Linux version, or from one MEPIS installation to another, you will need to change the file ''profiles.ini'' following [[Migrating_Windows_profiles#Firefox|these directions]] in order to access your bookmarks, cookies and preferences.
-
'''IPv6'''<br>
+
====IPv6====
:If you have web access in Konqueror but not in Firefox, you may have to change the way addresses are being handled by disabling [http://en.wikipedia.org/wiki/IPv6 IPv6].  See [[Disable_IPv6|this page]] on how to disable it, and [http://en.wikipedia.org/wiki/Comparison_of_IPv6_application_support here] for an overview of how different applications handle this protocol.
:If you have web access in Konqueror but not in Firefox, you may have to change the way addresses are being handled by disabling [http://en.wikipedia.org/wiki/IPv6 IPv6].  See [[Disable_IPv6|this page]] on how to disable it, and [http://en.wikipedia.org/wiki/Comparison_of_IPv6_application_support here] for an overview of how different applications handle this protocol.
'''Laptop scroll button navigation'''<br>
'''Laptop scroll button navigation'''<br>

Revision as of 17:56, 1 September 2011

Contents

Browsers

Firefox

General

Updates

Fonts

Click on Edit > Preferences > Content and play with the Fonts & Colors. Use the "Advanced ..." button. Try using "Allow pages to choose their own fonts, instead of my selections above" checked.

Spellcheck

A dictionary add-on must be installed for spellchecking to work.
Goto https://addons.mozilla.org/en-US/firefox/browse/type:3 and install the add-on dictionary of your choice.

Mailto

Depending on your version, Firefox may not assign an application to handle "mailto" links. To change that behavior:

1) Click Edit --> Preferences --> Applications, then type "mailto" in the search box, and click the entry in the right-hand column to select the action you want.
2) Alternately: type "about:config" into the address bar, then right-click the page containing a long list of preference names. Select New --> String, then enter for preference name:

network.protocol-handler.app.mailto

and for preference value the path to the email client you want to use, for instance,

/usr/bin/thunderbird

or for kmail, enter

kmailservice

Transferring profiles

When transferring a Firefox profile, whether in migrating from Windows, another Linux version, or from one MEPIS installation to another, you will need to change the file profiles.ini following these directions in order to access your bookmarks, cookies and preferences.

IPv6

If you have web access in Konqueror but not in Firefox, you may have to change the way addresses are being handled by disabling IPv6. See this page on how to disable it, and here for an overview of how different applications handle this protocol.

Laptop scroll button navigation

If your laptop has a 4 way scroll button (older models often had these) you will find that the up/down button scrolls the page up and down, but to get the page back/forward mappings working for the left/right click on the button, you need to make the following adjustment in the Firefox/Iceweasel config:
  • Enter about:config in the url bar, hit return and dismiss the warning message,
  • Paste mousewheel.horizscroll.withaltkey into the filter bar and hit return,
  • Edit values (double click on config, for pop up window or toggle True,False values), so that the values are set to:
 mousewheel.horizscroll.withnokey.action       user set  integer   2
 mousewheel.horizscroll.withnokey.numlines     user set  integer  -1
 mousewheel.horizscroll.withnokey.sysnumlines  user set  boolean  false

Firefox on KDE4 See this page

Opera

  • Notes feature:
Select text in a web page -> rightclick and choose "copy to note" or use the shortcut Ctrl-Shift-C. To access your notes press Ctrl-6 or press F4 to see the sidebar and select Notes from there. When you double click on the note it will open the site from where you copied the note. It is very useful when you do research and need to copy things from many separate pages and then still be able to go back to those pages.
  • Search feature:
To add a search engine from any webpage, right-click the search box, select "Create search," fill in a name and a keyword (optional), and click OK. The site will be added to the pull-down search menu.
  • Tray icon
By default, Opera puts an icon into the system tray when it opens. To stop that behavior -- useful if kicker space is limited, for instance--add -notrayicon (include the single dash) to the command space in the KMenu entry and on the Application tab of any kicker or desktop icon. Note: not valid for Opera 10.
  • Java and Java Script
You can test your current capability on the Java Tester website. If you encounter problems, be sure to consult the troubleshooting section of the Opera page on how to make a soft link to the Firefox plugins directory.
  • Default screen size
To set a default screen size other than 100%, open up the file
/home/UserName/.opera/operaprefs.ini

At the end of the first section "[User Prefs]" add

Scale=120

or whatever zoom factor you would like.

Chrome

Custom search

See Custom search.

Email clients

Thunderbird

  • External links
To get Thunderbird to open hyperlinks in Firefox (alter as needed for another browser):
  1. Open preferences --> advanced --> config editor
  2. Right-click and create a new entry ("string") with name:
network.protocol-handler.app.http

and value:

/usr/bin/firefox

Do the same for https and ftp.
NOTE: If the config editor is not there, go here: https://addons.mozilla.org/en-US/thunderbird/addon/423 and download about:config, save it, install it (Tools-> Addons-> Install).

  • Transferring profiles
When transferring a Thunderbird profile, whether in migrating from Windows, another Linux version, or from one MEPIS installation to another, you will need to change the file profiles.ini following these directions in order to access your mail and preferences.
  • Changing the font

First go to the Thunderbird chrome folder. You do this by opening Konqueror and going to the menu option VIEW and select SHOW HIDDEN FILES. Now go to the following chrome folder.

/home/UserName/.mozilla-thunderbird/XXXXXXX.default/chrome/

where the XXX's will be some random numbers and letters that represent your profile. The key is to select the folder with the .default extension.

If there is no userChrome.css file in this folder, create a new text file with that name and enter the following text. If the file exists, then you either need to add the following two preferences or modify these preferences if they already exist in the file, choosing a font size such as 12 or 14:

/* Global UI font */
* { font-size: 14pt !important;
font-family: Verdana !important; 
} 
/* Menu font */
menu, menulist, menuitem { 
font-family: Times New Roman !important; 
font-size: 14pt !important;
}

In KDE 4.3, this should read (again, choose font size):

/* Global UI font */
* { font-size: 14pt !important;
font-family: DejaVu Sans !important; 
} 
/* Menu font */
menu, menulist, menuitem { 
font-family: DejaVu Sans !important; 
font-size: 14pt !important;
}

Save the file and restart Thunderbird.

Kmail

  • External links
To get Kmail to open hyperlinks in Firefox, you can set firefox as your default browser in KDE Component Chooser. In particular, see steps 1 & 2.

Console

  • drag&drop -- you can drag a file or folder to Konsole. You'll get a short menu with choices to move the file, copy the file or cd to that folder.

Desktop

  • Wallpaper: Right-click on the Desktop -> Configure Desktop -> Background -> Press "Get New Wallpapers" to get wallpapers from KDE-look.org

Useful bash commands

Finding largest files

find . -type f -printf "%k %p\n" | sort -rn | head

Turn off window scaling for faster surfing

echo 0 > /proc/sys/net/ipv4/tcp_window_scaling

Find memory type and speed

lshw -short -C memory
Personal tools
In other languages