Samsung Chromebook 2 – Peach Pi – Arch Arm Linux kernel plus some other bits
Find here https://github.com/gripped/XE503C32-arch-linux-kernel
Samsung Chromebook 2 – Peach Pi – Arch Arm Linux kernel plus some other bits
Find here https://github.com/gripped/XE503C32-arch-linux-kernel
I had problems returning from sleep with Nvidia as well. After googling for quite a while, I found a solution that worked for me. I created a file called “nvidia-power-mgmt.conf” in etc/modprob.d with this line in it:
options nvidia NVreg_PreserveVideoMemoryAllocations=1
And after a reboot, sleep/resume seems to be working fine now.
# Watch directories with customized download directories schedule2 = watch_directory_1,5,60,"load.start=/home/user/media/watch_series/*.torrent,d.directory.set=/home/user/media/series" schedule2 = watch_directory_2,5,5,"load.start=/home/wim/media/watch_music/*.torrent,d.directory.set=/home/user/media/music" schedule2 = watch_directory_3,5,300,"load.start=/home/user/media/watch_movies/*.torrent,d.directory.set=/home/user/media/movies"
Luckily, the fix for this bug is simple: launch the Firefox Profile Manager with an environment variable or use a runtime flag that overrides the default behavior, and allows the reuse of profiles. Indeed, there are several ways to achieve this. For example, on Linux, you can do this:
MOZ_ALLOW_DOWNGRADE=1 firefox -P
A Firefox profile stores all of your important data, such as your bookmarks, history, cookies, and passwords. This article explains how to copy the files to a new profile, lists important files in the profile and describes what information is stored in these files.
Note: Because your preferences and extensions often cause problems, this article does not explain how to copy these between profiles. If you follow the steps in this article, you will have to reinstall your extensions and reconfigure your Firefox preferences.
Before starting it is recommended that you make a complete backup of your existing Firefox profile in case something goes wrong. Please read the Back up and restore information in Firefox profiles article for instructions.
Note: This step is not needed if you already have a new Firefox profile, for example, a profile you previously created or a dedicated profile for another Firefox installation.For information on how to create a brand new Firefox profile, please read the Profile Manager – Create, remove or switch Firefox profiles article.
Important: Firefox must be closed down while copying files between profile folders. Also, Step 1 refers to your “old” profile folder – the profile containing data you want to copy to a new profile. If you can’t open a profile from within Firefox, see Finding your profile without opening Firefox.
Repeat steps 3-5 for each file you wish to transfer over to your new profile folder.
While copying your personal data from an old Firefox profile to a new Firefox profile, it is possible that you could copy over the file that is causing the problem you are trying to get rid of! The more files you copy over, the greater the chance of this happening. It is therefore recommended that:
Note: By default, Windows hides the AppData folder where Firefox stores your profile. To set Windows to show hidden files and folders, see Show hidden files – Windows Help.
This file contains all your Firefox bookmarks and lists of files you have downloaded and of websites you have previously visited. For more information, see Bookmarks in Firefox.
This file stores website favicon images. It’s best to also include this file when recovering the places.sqlite file.
Your passwords are stored in two different files, both of which are required:
This file stores your key database for your passwords. To transfer saved passwords, you must copy this file along with the following file.
Encrypted information about your saved usernames and passwords.
For more information see Password Manager – Remember, delete and edit logins and passwords in Firefox.
This file stores many of your Firefox permissions that are decided on a per-site basis. For example, it stores which sites are allowed to, or blocked from setting cookies, installing extensions, displaying popups, etc.
This file stores user-installed search engines. For more information, see Add or remove a search engine in Firefox.
This file stores any custom words you have added to Firefox’s dictionary. If you have never added a custom word to the Firefox dictionary, then you will not have this file. For more information see How do I use the Firefox spell checker?.
This file remembers what you have searched for in the Firefox search bar and what information you have entered into forms on websites. For more information see Control whether Firefox automatically fills in forms.
Cookies are used by websites for a variety of reasons, some of which include keeping you logged in to a website you have previously logged in to, remembering any preferences a website has allowed you to set, authenticating you as a person who has visited a specific website before, etc.
This file stores all your security certificate settings and any SSL certificates you have imported into Firefox.
This file stores your preferences with respect to what Firefox does when it comes across known file types, such as whether you want to save a file or open it with a specific application. For more information, see Manage file types and download actions in Firefox.
A Firefox profile stores all of your important data, such as your bookmarks, history, cookies, and passwords. This article explains how to copy the files to a new profile, lists important files in the profile and describes what information is stored in these files.
Note: Because your preferences and extensions often cause problems, this article does not explain how to copy these between profiles. If you follow the steps in this article, you will have to reinstall your extensions and reconfigure your Firefox preferences.
Before starting it is recommended that you make a complete backup of your existing Firefox profile in case something goes wrong. Please read the Back up and restore information in Firefox profiles article for instructions.
Note: This step is not needed if you already have a new Firefox profile, for example, a profile you previously created or a dedicated profile for another Firefox installation.For information on how to create a brand new Firefox profile, please read the Profile Manager – Create, remove or switch Firefox profiles article.
Important: Firefox must be closed down while copying files between profile folders. Also, Step 1 refers to your “old” profile folder – the profile containing data you want to copy to a new profile. If you can’t open a profile from within Firefox, see Finding your profile without opening Firefox.
Repeat steps 3-5 for each file you wish to transfer over to your new profile folder.
While copying your personal data from an old Firefox profile to a new Firefox profile, it is possible that you could copy over the file that is causing the problem you are trying to get rid of! The more files you copy over, the greater the chance of this happening. It is therefore recommended that:
Note: By default, Windows hides the AppData folder where Firefox stores your profile. To set Windows to show hidden files and folders, see Show hidden files – Windows Help.
This file contains all your Firefox bookmarks and lists of files you have downloaded and of websites you have previously visited. For more information, see Bookmarks in Firefox.
This file stores website favicon images. It’s best to also include this file when recovering the places.sqlite file.
Your passwords are stored in two different files, both of which are required:
This file stores your key database for your passwords. To transfer saved passwords, you must copy this file along with the following file.
Encrypted information about your saved usernames and passwords.
For more information see Password Manager – Remember, delete and edit logins and passwords in Firefox.
This file stores many of your Firefox permissions that are decided on a per-site basis. For example, it stores which sites are allowed to, or blocked from setting cookies, installing extensions, displaying popups, etc.
This file stores user-installed search engines. For more information, see Add or remove a search engine in Firefox.
This file stores any custom words you have added to Firefox’s dictionary. If you have never added a custom word to the Firefox dictionary, then you will not have this file. For more information see How do I use the Firefox spell checker?.
This file remembers what you have searched for in the Firefox search bar and what information you have entered into forms on websites. For more information see Control whether Firefox automatically fills in forms.
Cookies are used by websites for a variety of reasons, some of which include keeping you logged in to a website you have previously logged in to, remembering any preferences a website has allowed you to set, authenticating you as a person who has visited a specific website before, etc.
This file stores all your security certificate settings and any SSL certificates you have imported into Firefox.
This file stores your preferences with respect to what Firefox does when it comes across known file types, such as whether you want to save a file or open it with a specific application. For more information, see Manage file types and download actions in Firefox.
diff --git a/src/download/chunk_selector.cc b/src/download/chunk_selector.cc
index 850fec0f..248a29f9 100644
--- a/src/download/chunk_selector.cc
+++ b/src/download/chunk_selector.cc
@@ -82,7 +82,7 @@ ChunkSelector::update_priorities() {
m_sharedQueue.clear();
if (m_position == invalid_chunk)
- m_position = random() % size();
+ m_position = 0;
advance_position();
}
@@ -100,14 +100,6 @@ ChunkSelector::find(PeerChunks* pc, __UNUSED bool highPriority) {
// set.
rak::partial_queue* queue = pc->is_seeder() ? &m_sharedQueue : pc->download_cache();
- // Randomize position on average every 16 chunks to prevent
- // inefficient distribution with a slow seed and fast peers
- // all arriving at the same position.
- if ((random() & 63) == 0) {
- m_position = random() % size();
- queue->clear();
- }
-
if (queue->is_enabled()) {
// First check the cached queue.
(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.
(2) In the search box in the page, type or paste handoff and pause while the list is filtered
(3) Double-click the browser.newtabpage.activity-stream.improvesearch.handoffToAwesomebar preference to switch the value from true to false
strace -f -e trace=file dpkg-reconfigure >/tmp/dkms.log 2>&1