Jump to content

Photo

Quick Fix Compilation


  • Please log in to reply
44 replies to this topic

#1 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 19 April 2012 - 02:42 PM

A Quick Introduction

I’m only typing what goes in my head so if I fail to credit anyone, please do notify me.

NOTES TO THE READER:
Finally finished testing all fixes. Generally all fixes included are applicable to 2.0 with a few exceptions. These exceptions have been marked. However, I still maintain that there is no guarantee as of now that these fixes are applicable to any other version other than 1.4 and 2.0.

* – unconfirmed
** – fixed in 2.0


TABLE OF CONTENTS
You may browse through by searching the assigned ID.

Network Manager Related [000]
I. **Network Manager After Suspending Laptop or Force Shutdown [001]
II. Kernel (3.2.0-19) Breaks Networking [002]
III. Re-Enable Networking [003]
IV. Slow Wifi When on Battery Power [004]
Application Failure [100]
I. Recover Screen After Playing Certain Games [101]
II. LXDM Auto-Login Loop [102]
III. Skype Misbehaving [103]
IV. Midori Crashes After Adding SpeedDial [104]
V. +Getting Transparency Back for Shelves After Turning Off Composite Module [105]
VI. Enlightenment Crashes and Wiping .E Doesn't Work [106]
VII. Autologin Causes Blank X Window Session [107]
VIII. Icons not Showing in Panels [108]
IX. Applications Not Showing After Install [109]
X. *Engage Not Hiding Due To Gadcon [110]
XI.Flash Apps and Sites Slow on Chrome [111]
XII. Black Screens VIA Chrome9 Video Chip [112]
XIII. WINE Crashes with riched20, ole32 [113]
Bodhi Customization [200]
I. Adjusting Screen Resolution [201]
II. Installing Mouse Cursor (.tar.gz) [202]
III. Changing Wallpaper [203]
IV. Running Bodhi (Ubuntu) in Browser-Mode [204]
V. Installing TrueType Fonts from Windows for Compatibility [205]
VI. Submenus Not Showing [206]
Quick Tips & Tricks [300]
I. Alternatives to IDM [301]
II. Apt-Fast and Apt-Proz as Alternative to Apt-Get [302]
III. P7Zip as Alternative to 7Zip [303]
IV. * Palimpsest Disk Utility to Format USB [304]
V. Use Iron/Chromium as PDF Viewer [305]
VI. Restart/Shutdown Using Oblogout [306]
VII. Launch Web Apps/Extensions from Menu [307]
VIII. Preload Firefox [308]
IX. Log Errors and Output into File [309]
X. Fun with Fortunes and Cowsay [310]
XI. Aliases [311]
XII. Limit Number of Processes [312]
XIII. Hide Your Secrets Better [313]
Optimization Related [400]
I. *Speed Up Linux Notebook with Preload and Prelink [401]
II. Dynamic SwapSpace Creation [402]
III. Task-Specific Virtual Desktops [403]
Miscellaneous [500]
I. Back-Up E [501]
II. "IOPL not enabled" Possible fix when installing MS Office (Wine) [502]
III. Clean Up Old Kernels [503]
IV. Enable Numlock at Boot [504]
V. Anti-Aliasing on WINE [505]


[000] NETWORK MANAGER RELATED

INTRO: This section covers nm-applet (Network Manager) errors and possible fixes. nm-applet has been given priority due to the nature of its functions and its relative necessity for other tasks.

[001] I. Network Manager After Suspending Laptop or Force Shutdown
Posted by hippytaff on 11/05/11 @ http://forums.bodhil...k-manager-fail/

...one line at a time in a terminal:

sudo killall nm-applet
sudo service network-manager stop
sudo rm /var/lib/NetworkManager/NetworkManager.state
sudo service network-manager start
sudo nohup nm-applet -9


If this is a regular issue, open leafpad/nano/gedit and type:

#!/bin/bash
gksudo killall nm-applet
sudo service network-manager stop
sudo rm /var/lib/NetworkManager/NetworkManager.state
sudo service network-manager start
sudo nohup nm-applet -9


Save the file as networkmanager_restart.sh in a convenient location. Make the file executable by right clicking it and clicking the permissions tab and checking the executable button. Double click the script to get NM back up and running.

Bodhi 2.0 Fix
Right-click nm-applet and disable then re-enable again Networking.

[002] II. Kernel (3.2.0-19) Breaks Networking
Posted by proverse on 03/23/12 @ http://forums.bodhilinux.com/index.php?/topic/4559-solved-kernel-320-19-breaks-networking/

Use synaptic to remove packages "apparmor" and "apparmor-utils" if you are going to install this kernel. Apparmor + this kernel = Network Manager / dhclient fail to function correctly.

Or command line:

sudo aptitude purge apparmor


[003] III. Re-Enable Networking
Posted by the waiter on 04/14/12 @ http://forums.bodhilinux.com/index.php?/topic/4860-solvedlost-net-wired-wireless/

Command in terminal:

sudo rm /var/lib/NetworkManager/NetworkManager.state

reboot
mark enable networking again 

[004] IV. Slow Wifi When on Battery Power
It's already been posted but it's rather obscure.

Typing 'sudo iwconfig wlan0 power off' was enough to fix this problem for me. This tutorial tells you how to make this change permanent in Ubuntu so I assume it would also apply in Bodhi:

http://itechscotland...ment-in-ubuntu/

[100] APPLICATION FAILURE

INTRO: This section covers workarounds and possible solutions to application-related errors.

[101] I. Recover Screen After Playing Certain Games
Suggested by Jeff on 04/16/12 @ http://forums.bodhilinux.com/index.php?/topic/4868-solved-screen-error-alien-arena/

Settings > All > Screen > Screen Resolution

[102] II. LXDM Auto-Login Loop
Posted by Tara on 03/24/12 @ http://forums.bodhilinux.com/index.php?/topic/4587-solved-lxdm-autologin-infinite-loop/page__p__42731#entry42731

LXDM does not support password with spaces. So remove any spaces in your password if you wish to use LXDM.

Hit CTRL-ALT-F1 to switch to a tty terminal (text mode). Log in there, and you can change your password using the "passwd" command. Then logout, and switch back to X (CTRL-ALT-F7 IIRC, but might be F6) and you should be able to log in. 

[103] III. Skype Misbehaving
Posted by janef on 05/06/12 @ http://community.skype.com/t5/Linux/Skype-silently-crashes-on-Ubuntu/td-p/1162/page/7
Though the fix is for silent crashes, it seems to work just the same for certain malfunctions in Skype. (Example here: http://forums.bodhil...phone-on-skype/)

sudo apt-get remove --purge skype
sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
sudo apt-get install skype


or

try renaming the shared.lck to shared.lck.old in the .Skype folder.(The brute method would be to delete the whole .Skype folder)

[104] IV. Midori Crashes After Adding SpeedDial
Posted by Eduadeje and Timmy on 12/20/11 @ http://forums.bodhilinux.com/index.php?/topic/3480-solved-midori-crash/

In terminal, type: 
sudo rm ~/.config/midori/speeddial

[105] V. Getting Transparency Back for Shelves After Turning Off Composite Module
04/20/12

Settings > All > Advanced > Engine > Uncheck Use ARGB instead of shaped windows.

[106] VI. Enlightenment Crashes and Wiping .E Doesn't Work
sudo apt-get update
sudo apt-get autoremove enlightenment bodhi-profiles
sudo reboot
sudo apt-get install enlightenment bodhi-profiles


Bodhi 2.0
Specific profiles break transparency. Try switching profiles. Full reinstall of profiles does not fix problem.

[107] VII. Autologin Causes Blank X Window Session
Posted by tbradbeer on 06/07/2012 @ http://forums.bodhil...n-after-reboot/

I think that commenting out the autologin lines in /etc/lxdm/default.conf and /etc/lxdm/lxdm.conf will disable the autologin and may restore your system.


[108] VIII. Icons not Showing in Panels
1. In a terminal:
lxappearance
2. Go to the "Other" tab and tick "show images in menus." Apply and close.
3. In the open terminal, type
sudo lxappearance
then repeat step 2.

[109] IX. Applications Not Showing After Install
Restart Enlightenment.

[110] X. Engange Not Hiding Due to Gadcon

move the gadcon to the left side of the bar. That can be done by right-clicking on the engage bar, clicking 'configure bar', clicking the 'Bar Items' tab, selecting 'gadcon' and clicking the up button until it hits the top of the list.


[111] XI. Flash Apps and Sites Slow on Chrome
1. Type about://plugins in the address bar and press enter.
2. Click on "Details" on the upper-right corner of the window.
3. In the Adobe Flash Player section, find
/opt/google/chrome/PepperFlash/libpepflashplayer.so
. It's usually the first one. Disable it.
4. Make sure adobe flash is installed. In a terminal, enter the following:
sudo apt-get update
sudo apt-get install adobe-flashplugin
5. Restart Chrome and enjoy a less gritty flash experience.

[112] XII. Black Screens VIA Chrome9 Video Chip

If anyone else is having a problem with the VIA Chrome9 video chip, one way to get the Bodhi live CD to display a desktop is to addat the end of a boot option. I used the normal boot option and added this. Black screens had been driving me mad for a few hours.

MOBO Via VE-900 Mini-ITX - with a replacement quiet fan, this is a very low powered quiet Mobo.


[113] XIII. WINE Crashes with riched20, ole32
http://forums.bodhil...riched20-ole32/

Start winecfg with
WINEDLLOVERRIDES="riched20,ole32=b" winecfg

then remove the overrides.

[200] BODHI CUSTOMIZATION

INTRO: This section covers instructions that directly impact the appearance of Bodhi Linux.

[201] I. Adjusting Screen Resolution
Posted by energichen on 11/05/11 @ http://forums.bodhilinux.com/index.php?/topic/2994-screen-resolution-1024x768/

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
gksudo gedit /etc/X11/xorg.conf

In that empty xorg.conf file you need to add these:

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
HorizSync 30-50
VertRefresh 50-120

EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection


then logout, to take the effects and then you can choose your resolution 

[202] II. Installing Mouse Cursor (.tar.gz)

1. Download the package.
2. Open terminal and enter
lxappearance
3. Go to Mouse Cursor and click Install.
4. Search for your .tar.gz
5. Select then apply. Repeat step 2-4 this time with sudo.

Alternative method posted by hcooh at 09/29/09 @ http://e17-stuff.org/content/show.php?content=112877

[203] III. Changing Wallpaper

A. Search and Select

1. Left click on any area on the desktop and select Settings.
2. Select Wallpaper.
3. Choose from the selection or click Picture to search for your preferred Wallpaper.

B. Select from given
1. Left click on any area on the desktop and select Settings
2. Select Wallpaper2 and browse on available (previously used) wallpapers.

C. Virtual Desktops
1. If you like switching wallpapers from time to time, use Virtual Desktops. Go to Settings > All > Screen > Virtual Desktops
2. To change the wallpaper of each desktop, click the particular desktop. A pop-up should appear.
3. Click Set and the Wallpaper settings should appear. Changing the wallpaper from here will not affect other desktops, and you may change each desktop by repeating steps 1-3.

[204] IV. Running Bodhi (Ubuntu) in Browser-Mode
Posted by Puneet Singh on 05/13/2011 @ http://tutafuta.com/2011/05/13/convert-your-ubuntu-into-chrome-os/

1. Enable LXDM Autologin. Make sure to change your password first if it contains any spaces (or see Article VIII if it's too late).

2. Install openbox, fbpanel, pcmanfm as well as the browser you would like to use (either firefox or chromium browser).

3. Run fbpanel via terminal (simply type in fbpanel)

4. Now download these: for chromium or for firefox

5. Extract and open the resulting folder in terminal. (If you're using pcmanfm, just click on Tools and select "Open Current Folder in Terminal" or press F4.)

6. Make the resulting install.sh file into an executable. You can do this in two ways:
a. Right Click then on Permissions, click "Make executable"
b. Via the open terminal chmod +x install.sh
Note to check first if the file is already an executable, because when I extracted mine, it already was an executable.

7. Now log-out and check to see if it works. 

Comments
1. Really fast start-up. I can get to work in seconds. Very lightweight install (considering you already have most of the needed apps installed as in my case).
2. Through fbpanel, you can still have access to programs and documents. PCManFM also works well here. Rather easy and fun to use.
3. Memory-consuming over time. Not really ideal for long-term heavy browsing since you have to log-in each time you exit the browser.
4. You can configure the scripts included with the package. Upon experimentation, I have created a desktop with total memory usage of only 18 MB (lxpanel, nm-applet, openbox, could be smaller, but i wanted some eyecandy, too ).

[205] V. Installing TrueType Fonts from Windows for Compatibility
This works best by copying the fonts from C:/Windows/Fonts
This allows for better compatibility between documents from MS Office to OpenOffice or its derivatives. Full compatibility however is improbable, nonetheless, most documents previously needing editing to maintain format, now opens consistent or at least in likeness to original format.

1. Obtain a copy of the windows fonts or get it from wine/playonlinux
2. From the file manager, go to /usr/share/fonts/truetype/ as root.
3. Create a subdirectory of any name and paste the fonts inside.
4. Now run the command
sudo fc-cache -f -v
to refresh the font cache.

[206] VI. Submenus Not Showing
Posted by AntCer on 04/24/2013 @ http://forums.bodhil...s-in-main-menu/

Main Menu>Settings>All>Menus>Menu Settings

Go to the Applications tab.

Select "Lxde(Applications)". Apply. Press CTRL+ALT+END. Now check. ;)

Most likely, you had Enlightenment menu template highlighted and in use for some reason. It doesn't contain a Preferences category. The default menu in Bodhi is the LXDE menu template, which does include a Preferences category.


[300] Quick Tips & Tricks

INTRO: This section covers a selection of applications that are viable alternatives to more popular applications and methods.

[301] I. Alternatives to IDM
04/15/12 @ http://forums.bodhilinux.com/index.php?/topic/4867-replacing-internet-download-manager-with-downthemall/page__p__45444#entry45444

Flareget
Install from http://flareget.com/. There had been reports of it being a tad bit buggy. So see below in case you encounter one and wants another alternative. Though browser support is only provided for in the paid version, Flashgot supports Flareget for Firefox and Simple Get for Chrome.

To use Simple Get,
1. Download it from http://www.chromeext...her/simple-get/
2. By default, chrome/chromium doesn't let you install extensions outside google web store, so open chrome://extensions in chrome/chromium and drag the .crx to the extensions page.
3. Open Simple Get's options and fill in the necessary fields. In the Path field, type
/usr/bin/flareget
4. In the Parameters field:
[SG_URL] -P [SG_DESTINATION]
5. To download files, right-click the link and choose Download link.

DTA!
1. Install the latest Firefox.
2. Go to Add-ons (you can use the Tool tab or the Firefox tab and then Add-ons, whichever you prefer).
3. Now search for the following extensions and install them:
3.1) DTA
3.2) Flashgot (Alternatives: Video Download Helper/Unplug)
3.3) Download Unlimited/dTa Anti-Container (optional)
3.4) Fasterfox Lite (optional, the last two is supposed to increase download speed, but it could be just placebo. It's debatable.)

4. Configure DTA. 
4.1) In the add-ons manager, click extensions and click on Preferences. The default on the first tab should be ok, but if you pause your downloads from time to time, you might like to check the dTa! manager under the tools menu in the Interface tab.
4.2) Under the Network tab, max out your Concurrent downloads and the downloads per server.
4.3) Under the Advanced tab in the Advanced download control, max out your Max. number of segments per download to 10. This set-up should be ok. Alternatively, type
about:config
in the address bar and press Enter.
4.3.1) Search for the entry
extensions.dta.maxchunks
and change the integer value from the default 10 to your preferred no. of file chunks. With a 1.98 MBps connection, 12 to 18 chunks are optimum values. 20-30 would clog traffic for some reason and reduce network speed to a meager 17-22 Kbps.

5. If you chose to install Fasterfox Lite, click Preferences and select Turbo Charged.

[302] II. Apt-Fast and Apt-Proz as Alternative to Apt-Get
Posted by Damar Riyadi on undated @ http://www.ubuntubuzz.com/2011/10/boost-apt-get-download-speed-using-apt.html

sudo add-apt-repository ppa:tldm217/tahutek.net
sudo apt-get update
sudo apt-get install axel
sudo apt-get install apt-fast

sudo add-apt-repository ppa:tldm217/tahutek.net
sudo apt-get update
sudo apt-get install prozilla
sudo apt-get install apt-proz


## Prozilla Helper GUI ##
## a script that provides a step-by-step GUI using zenity for Prozilla ##
## ProzGUI also a viable alternative. The main advantage of this script is a per-download configuration ##

#!/bin/bash

# Phrases
  WindowTitle="Prozilla Download Helper"
  MessageSegments="Enter Number of Segments, default=1"
  MessageDownloading="Downloading, please be patient..."
  MessageDone="Your download has completed!"

# Ask user for File URL
furl=$(zenity --entry --text "Please enter file URL:" --title "$WindowTitle" --width 500 --entry-text "$1");
if [ $? = 1 ];
then exit
fi

# Ask user for Number of Segments
Seg=$(zenity --entry --text "$MessageSegments" --title "$WindowTitle" --width 500 --entry-text "1");
if [ $? = 1 ];
then exit
fi

# Ask the user to select a download directory
Directory=$(zenity --file-selection --filename="$HOME/Downloads/" --directory --title "$WindowTitle" --width 500);
if [ $? = 1 ];
then exit
fi

# Launch terminal to view prozilla status
/usr/bin/terminology -T="$WindowTitle" -e "proz --no-curses -k=$Seg -P $Directory $furl"

# Show download success message
zenity --info --title "$WindowTitle" --text "$MessageDone"
exit

To use, replace apt-get with apt-fast. There is also apt-metalink which uses aria2, but could not find a “user-friendlier” help file.

[303] III. P7Zip as Alternative to 7Zip
Posted by Mark Zanborn on 02/16/09 @ http://www.nixtutor.com/linux/extracting-7z-files-in-linux/and Lonie Lee Best on undated @http://www.howtoadvice.com/7zipHelper

sudo apt-get update
sudo apt-get install p7zip


to extract:
7z x filename.7z
or
p7zip -d filename.7z

for split volumes, specify the lowest value, i.e.:
7z x FileName.7z.001

[304] IV. Using Palimpsest Disk Utility to Format USB (Alternative to Terminal and GParted)

1. Run terminal.
sudo apt-get update
sudo apt-get install gnome-disk-utility

2. Reboot is recommended although, in my case, is not required.
3. To run from terminal, type
sudo palimpsest &
(ampersand is a personal preference)
4. Select USB device from a list in the left column.
5. On the right column, in the Volumes section, select Format Volume. (Make sure that the device is not mounted. Does not seem to support FAT32 formatting.)

[305] V. Using Iron/Chromium as PDF Viewer

Iron is recommended as adding the needed plug-in in Chromium often produces incompatibility issues (see comments)
All extraction can be done via file-roller. Using the terminal is also possible.
1. Download the stable build of google chrome. You may install it and search for libpdf.so in /opt/google/chrome or extract the deb file to a folder.
2. If you've chosen to extract the .deb, extract the LZMA archive file.
3. Copy the libpdf.so file to the program installation folder. In Iron it's /usr/share/iron
4. Restart all instances of Iron

[306] VI. Restart/Shutdown Using Oblogout
There are three ways of doing this:
A. Editing oblogout.conf
1. Make sure you have policykit installed. Open a terminal and type
sudo gedit /etc/oblogout.conf
2. Under the settings option, set usehal to false.

B. Launching oblogout as root
1. Edit your launcher to
gksudo oblogout

C. Editing sudoers file
1. (This is not recommended) Follow the instructions in this link

[307] VII. Launch Web Apps/Extensions from Menu
Sometimes, we just don't want to go through the trouble of opening chromium, and waiting for the modules to load, and then clicking the app that we want from the extensions bar. So I tried to find a way to access them through a menu using desktop shortcuts. This way, it'll look as if it was a separate app and at the same time reduces the number of clicks and wait time. This works for Chrome/Chromium.
1. Install the web app or extension in Chrome.
2. Create a personal application launcher.
3. Fill in the necessary fields. The important field is the Command. For Chrome, it's
/opt/google/chrome/google-chrome
for Chromium, it's
chromium-browser
4. Append the appropriate commandline switch, depending on the nature of the application, whether if it's a web app or an extension. The switch is
--app=
what follows after = is dependent on whether it is a web app or an extension.
if it's a web app, the address would be in the address bar. For example:
/opt/google/chrome/google-chrome --app=http://www.webcamtoy.com
if it's an extension,
a. Click on the extension's button.
b. From the resulting pop-up window, right-click anywhere in it and select "Inspect element".
c. The Developer Toolbox window should appear along with the needed address. Copy that address up until popup.html. The code will look something like this:
--app=chrome-extension://gkkagmljmjdilndhenjikgdnebcpfkfo/popup.html
(this is the chikka messenger extension)

[308] VIII. Preload Firefox
Firefox isn't exactly the fastest and lightest browser around, and if you use a significant amount of addons, it'll bear heavy on its performance especially to its startup. There's a trick in Windows that significantly speeds up Firefox startup. It's a hack job, but it pretty much does the job well and unlike in Windows, it wouldn't bother Bodhi's startup at all. To preload Firefox:

1. Install the FireTray Addon by Foudil
2. In its Preferences under the Windows tab, tick “Start application to tray”
3. Add Firefox to the startup by going to Settings >> All >> Apps >> Startup Applications

[309] IX. Log Errors and Output into File
Tinkering around with manuals and I found a gem. Turns out its pretty well-known so I dug around for it. Oftentimes, it's difficult to copy all the output you see in the terminal when launching the file, and when you're asking for help in forums, or would like to use a graphical interface to find something in it, it can be a bit daunting. So what we want is to be able to log the errors and/or output into a file. There are three ways of doing this:
1. Redirect command
program > logfilename
or
program >> logfilename
to append to an existing logfile.

2. Tee command
This is probably the best way to do it:
program 2>&1 | tee logfilename
(click me for syntax explanation)

If there are a series of commands:

program1 && program2 && program3 | tee logfilename

3. Script command
If you have a series of interaction to make, and would like to have a hardcopy of everything displayed, then script would be a good option:

script filename
This will start the script session. If no filename is given, the typescript is saved in "typescript". After running the above command, just run the program and everything during the script session will be recorded. To end the session, press ctrl + D

[310] X. Fun with Fortunes and Cowsay
These two have been my favorite terminal toys, especially when I'm bored or trying to study:
1. First, install fortunes and cowsay
2. To make the cowsay fortunes,
fortune | cowsay
3. You can add quotes to fortunes and cow files (ASCII art that cowsay uses to change the image).
a. To add quotes, make a file where the quotes are saved. After every end of each quote, add
&
b. Then, after completing the whole file, launch the terminal and make a data file:
strfile quotefilename
c. Move the two files to /usr/share/games/fortunes/

To add cowfiles, simply search for an ASCII art, paste it over a copy of a cowfile and save it under a different name (remember to append .cow to the filename) in /usr/share/cowsay/cows/.

You can use them as a reviewer of sorts, too, by adding the questions to fortune and specifically asking for it:
fortune reviewer

[311] XI. Aliases
Ever used a command that needs a lot of arguments like, for example, mencoder? Or maybe you just want to fortune reviewmequick | cowsay -f stegosaurus after a long day working with/studying the terminal? You can use aliases to shorten those commands.
1. In your home directory, look for .bashrc
2. At the very end of the file, append your alias(es)
alias youralias='command'
For example,
alias norex='sudo apt-get install --no-install-recommends'
so that when i wish to install a program that install a lot of recommended software like for example gnome-tweak-tool,
i would only have to type in
norex gnome-tweak-tool

A word of caution though, don't be too dependent on aliases or you might end up having to relearn all your commands during a full reinstall.

[312] XII. Limit Number of Processes
A forkbomb isn't the only thing that can crash your linux. Running a lot of programs (Chromium for example with a lot of tabs open and a lot of ads opening it's only a whatif, please don't argue on a low-spec computer) can severely impact your system, too.

From http://www.cyberciti...er-process.html

Limiting user processes is important for running a stable system. To limit user process just add user name or group or all users to /etc/security/limits.conf file and impose process limitations...Each line describes a limit for a user in the form:
<domain> <type> <item> <value>


Login as root to edit /etc/security/limits.conf

[313] XIII. Hide Your Secrets Better
It's a trick I used to do back in Windows, and I wanted to use it in Linux, too. You can use
cat maskfile filetohide >> maskedfile
Essentially, the above command will append the "filetohide" to "maskfile" and create the output "maskedfile".

For example,
cat mask.jpg bigsecret.zip >> masked.jpg
The command will append the zip file to the jpg. You can extract the files by opening it with file-roller.

To detect if it's a steganographic image without any tools available other decryption tools, open the file in an editor such as Leafpad or use the tail command
tail masked.jpg
To improve your stealth, remember the following:
1. The filename will appear at the end of the tail command and/or leafpad. To avoid this, do not use any filename.
2. Don't use a file that's available for download online, file size can be used for comparison.
3. Hide the treasure box under a tree, then hide the tree in a forest.

[400] OPTIMIZATION RELATED

INTRO: This section covers tips that are rumored to speed up linux.

Note: The tips included herein are debatable in nature. I have found no significant and formal testing of these methods to prove and guarantee their effectiveness. They may or may not improve performance. To begin, it is always recommended to maintain the “cleanliness” so to speak of the system. It is advised to run BleachBit (or any other software of such likeness) on a regular basis.

[401] I. Speed Up Linux Notebook with Preload and Prelink
Posted by jonathan on 03/25/12 @ http://jonathansblog.co.uk/speed-up-your-linux-netbook

1) install prelink (sudo apt-get install prelink)
2) sudo vi /etc/default/prelink
Near the top of the file change the following line

PRELINKING=unknown

to

PRELINKING=yes

3) sudo /etc/cron.daily/prelink
it will run the prelink cron job.

4) install preload (sudo apt-get install preload)

5) restart your machine.

[402] II. Dynamic SwapSpace Creation
Posted by Gayan on 01/02/12 @ http://www.hecticgeek.com/2012/01/automatic-virtual-swap-space-creator-ubuntu-linux/

sudo apt-get install swapspace

[403] III. Task-Specific Virtual Desktops
Posted by fassil and CharlesBodhi on 01/24/2013 @ http://forums.bodhil...-task-oriented/

In the app you want to assign to, right-cick in title bar, windows -> remember, in the tab "identifiers" mark something (ie windows class) & in the tab properties "virtual desktop", all of that on the target/desired virtual desktop.


You can right click on a shelf and choose settings. To the far right there is a tab Desktop. There you can set on which desktop it should appear.
Further more you can create an ibar per desktop. Just rightclick on the ibar and click on settings. Here you can add a new instance of it that can be filled with task specific launchers.
Just play with options that please you.


[500] MISCELLANEOUS

INTRO: This section covers useful tips and fixes that does not fall under previous categories.

[501] I. Back-Up E
Posted by hippytaff on 01/16/12 @ http://forums.bodhilinux.com/index.php?/topic/3881-efixsh/

It's a script to backup ~/.e so that e is regenerated when updates kill e. If that makes sense :/

If you run the script with no arguments, it will automatically back ~/.e to ~/.e_bkup. To run it open a terminal in the diretory it is in 

./efix.sh

You can use the following flags for further options - 

./efix.sh -s

or

./efix.sh --suppress

to remove ~/.e and restart E without backing up first.

./efix.sh -b

or

./efix.sh --backup

To backup ~/.e without removing it.

As always see -h or --help for..well help (which will basically say what I just said)

#!/bin/bash

#################################################
# Fix .e post Enlightenment update .e death #
# License: WTFPL :see http://sam.zoy.org/wtfpl/ #
# Comes with absolutely no warranty yada yada #
# Hippytaff #
#################################################

function call_parse_cli
{
  if [ -z "$1" ]
  then
  call_backup
  call_fix

  elif [ "$1" == "-h" ]||[ "$1" == "--help" ]
  then
  call_help

  elif [ "$1" == "-s" ]||[ "$1" == "--supress" ]
  then
  call_fix

  elif [ "$1" == "-b" ]||[ "$1" == "--backup" ]
  then
  call_backup

  else

  echo "invalid argument."
  echo "see --help "
  fi
  exit 1
}

function call_help
{
echo
echo " ~/.e is backed up as ~/.e_bkup by default"
echo " regenerate e without backing up...-s or --supress"
echo " backup without regenerating .e....-b or --backup"
echo
}

function call_backup
{
  cp -r ~/.e ~/.e_bkup
  echo "Backing up ~/.e to ~/.e_bkup"
  echo

}

function call_fix
{
rm -r ~/.e
enlightenment_remote -restart 
}

call_parse_cli "$1" 


Copy and paste to a text editor and save as efix.sh (for the instructions and --help to make sense). Make the file executable.

[502] II. "IOPL not enabled" Possible Fix
The famous "IOPL not enabled" error message persists today. I encountered it when I installed MS Office 2010. Now there are various fixes available in the internet that are reported to work, though not applicable to all. This is a possible fix and I have found no user reports and testimonials to verify the effectiveness of this fix.

1. Run Play On Linux.
2. Select the application and click "Configure."
3. Click on the Wine tab and then click "Configure wine". winecfg should launch.
4. In the Applications tab, set Windows version to Windows 7, Vista or 98, apply, then revert back to XP (or experiment which version works).
5. Do a windows reboot in the wine tab on Play on linux configuration manager. IOPL not enabled should no longer be a problem.

Other possible fixes
I have tested these, but still received the "IOPL not enabled" error message. Included for reference.

A. Set wineprefix
Posted by eschuch on 10/15/2007 @ http://ubuntuforums....ad.php?t=453559
1. In a terminal:
sudo gedit /etc/environment
2. At the end of the file, add

WINEPREFIX="/home/~/.wine"

where ~ is your username. Save changes.

B. DCOM98
Posted by dembel91 on 05/05/2008 @ http://ubuntuforums....t=453559&page=2
1. Launch play on linux configuration manager.
2. In the "Install packages" tab, install dcom98 (it's a 1.2 mb package).
3. In the Libraries tab of winecfg, override rpcrt4 to builtin.

C. Native gdiplus
Posted by Jeremy Visser on 08/04/2008 @ https://jeremy.visse...o-2003-in-wine/
1. In winecfg, override gdiplus to Native.

[503] III. Clean Up Old Kernel
1. Go to the terminal and type
dpkg --list | grep linux-image
and note the kernel you want to remove.
2. Go to Synaptic Package Manager. In the bottom-left panel, click Status, and then on the upper-left, click Installed.
3. In the search box, type in the version number. Mark for complete removal the kernel. Your Grub should be cleaned automatically.

[504] IV. Enable NumLock at Boot
Posted by HakerDefo on 05/10/2013 @ http://forums.bodhil...startup-script/

open lxdm's default.conf file by running the followiong command,

gksudo leafpad /etc/lxdm/default.conf
In this file look for the section '[base]'
and just add the following line in the beginning of the '[base]' section
numlock=1
That's it! reboot and check!


[505] Anti-Aliasing on WINE
http://askubuntu.com...liasing-in-wine

winetricks settings fontsmooth=rgb
I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)



A big thank you to everyone who contributes to Bodhi Linux


#2 Timmy

Timmy

    Resident Know-It-All

  • Moderators
  • 1419 posts
  • LocationSkåne, Sweden

Posted 19 April 2012 - 07:13 PM

Great initiative! I'll add it to my signature. :)

``Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever.'' — Linus Torvalds
``Don’t argue with idiots because they will drag you down to their level and then beat you with experience.'' — Greg King
0DF7C09A

 


The Bodhi Linux Wiki


#3 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 20 April 2012 - 04:26 AM

EDITED/REMOVED REPLY TO TIMMY FOR NEW SECTION.

Links of Interest!
1. Fbpanel Configured to Look Like WBar
2. Linux Command Lists [1 Pixelbeat] [2 Oreillynet]
3. 10 Clever Ways to Fix Windows Using Linux
4. Some Beautiful Conky Configs
5. Wallpaper How-Tos
I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)

#4 Rohit

Rohit

    Member

  • Members
  • 662 posts
  • LocationDelhi, India

Posted 20 April 2012 - 05:00 AM

XII. Adjusting Screen Resolution
Posted by energichen at 11/05/11 @ http://forums.bodhil...ution-1024x768/

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
gksudo gedit /etc/X11/xorg.conf


In that empty xorg.conf file you need to add these:

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
HorizSync 30-50
VertRefresh 50-120

EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection


then logout, to take the effects and then you can choose your resolution

Hope you find this post useful. B)


how to include refresh rate in it ??

#5 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 20 April 2012 - 05:33 AM

how to include refresh rate in it ??


Posted by peter_irich at 04/15/11 @ http://forums.debian...hp?f=10&t=62881

This "option" is ModeLine. man xorg.conf, man gtf.


I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)

#6 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 20 April 2012 - 05:35 AM

Updated. Added Article XIII (setting transparency back to shelves).
I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)

#7 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 24 April 2012 - 01:19 PM

Currently working on Using Shockwave Player on Bodhi with Mozplugger and Installing and Using LXDE.

EDIT:
Lots of articles on LXDE that it really doesn't make sense to put another one here. And Mozplugging, well, though successful, wasn't really that much of any use either. I'll just describe it here as "a method of making shockwave player work in linux" (as schockwave player is not available in Linux. Take note that shockwave player is different from Flash player).
I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)

#8 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 26 April 2012 - 10:09 AM

Updated. Added Article XIV (changing mouse cursor).
I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)

#9 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 28 April 2012 - 01:17 AM

Updated Article XIV
I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)

#10 ottermaton

ottermaton

    Member

  • Members
  • 1175 posts
  • Locationlancaster, pa

Posted 28 April 2012 - 01:32 AM

Spainach,

I really think we need to "publish" this somewhere. What would you like to do with it? Add it to the wiki? Make an HTML doc out of it, something like the Quick Start Guide? Let me know, and I'll help as I can - but with finals looming and work, that won't be very much in the short term.

cheers
mark

#11 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 28 April 2012 - 11:04 AM

Spainach,

I really think we need to "publish" this somewhere. What would you like to do with it? Add it to the wiki? Make an HTML doc out of it, something like the Quick Start Guide? Let me know, and I'll help as I can - but with finals looming and work, that won't be very much in the short term.

cheers
mark



I guess so. But my initial thought was that if it were to ever be published somewhere, there might be no other way of editing it other than those who know how to edit it or are already comfortable with editing it in a wiki or something, but as a thread, we can leave it as it is and people can just add in what it is that they think should be in it. And if no one has the time to edit the first post, there're at least the posts beneath it. That and people's comments make it all the better for decision-making. Sticky it maybe or put up a copy some place, but I think that the best place is here. After all, this is the first place people go to when they run into trouble (and not the wiki, because, well, no one assists you in wikis). In here, it serves its purpose well: to help newcomers.

In any case, I am not against it having a wiki page or being published elsewhere. If you think that's the best, okay. I'd like to ask your help for that though (when you have the time of course). I'm not really very literate when it comes to computers, HTML and wikis. And maybe one more request is to leave the thread here alive.

Thank you for your appreciation and time. :) It really meant a lot.
I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)

#12 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 28 April 2012 - 12:03 PM

Added Article XV, changing wallpapers (because apparently, and well, something I was already aware of, people just don't read wikis anymore).
I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)

#13 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 15 May 2012 - 05:06 AM

Updated. Added Articles XVI and XII: skype silently crashing and using 7zip.
I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)

#14 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 15 May 2012 - 05:16 AM

Uhm... If there's anyone out there willing to give some help, if possible to make this guide an easier read to group them together as in Networking, Display, Applications, Misc. Tweaks...something like that. I'm having difficulty finding the time to sort them out.
I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)

#15 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 27 May 2012 - 11:51 PM

Current developments:
1. Recently having trouble with enlightenment. Will be adding this as soon as it is solved.
2. Also in LXDE, there is no help yet for running pcmanfm via terminal or via icons. In the meantime, do the following:
a. Install xfe.
b. Right click on the Application Launch Bar (the icons beside the start button) and select "Application Launch Bar" Settings.
c. Remove File Manager and replace it with Xfe which you can find on the right column, in the system tools.
*Note that this does not fix the pcmanfm issue (hence, it was not added) but provides a workaround and an alternative for it instead.
3. Currently testing this method of turning ubuntu into a pure internet browsing session. Will be added with comments on its capabilities, advantages and limitations.
I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)

#16 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 28 May 2012 - 12:39 AM

Updated. Added Article XVIII (Running in Full Browser-Mode)
I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)

#17 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 01 June 2012 - 01:02 AM

Article given a complete overhaul.

1. Now with a table of contents with Section ID's.
2. Grouped and sorted for better viewing.
3. Added alternative to gparted and terminal for formatting usb drives.
I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)

#18 aeonius

aeonius

    Lord of the Website

  • Administrators
  • 2644 posts
  • LocationThe Netherlands

Posted 06 June 2012 - 02:25 PM

No one stickied this yet?

Stuck!

Also, it might be a good idea to add what version the fix was meant for, as its possible the fix won't work for later versions of Bodhi. (Just a thought)

#19 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 06 June 2012 - 10:32 PM

No one stickied this yet?

Stuck!

Also, it might be a good idea to add what version the fix was meant for, as its possible the fix won't work for later versions of Bodhi. (Just a thought)


Thanks! :D I've implemented your suggestion. ;)
I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)

#20 spainach

spainach

    Member

  • Members
  • 196 posts

Posted 08 June 2012 - 05:55 AM

Added Section ID [107] (Autologin causes blank window x session) and expanded NOTES TO THE READER.
I do not know the Truth; I seek it.

The journey is long and harsh. Might as well start walking.

"It is the sea that pursues a habit of shores." ~Carlos Angeles, Gabu

Having trouble? See if your problem's here. (Bonus tweaks included)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users