I upgraded to Ubuntu 13.10 "Saucy Salamander". After upgrading, whenever I open the Unity Dash to search for an application, it takes at least a minute before it starts to show some result. The new scopes addition has made Dash painfully slow. Is it possible to speed up the Dash's response time?
I have already turned off the "include online search results" option.
I can live without internet information on Dash, but cannot stand a slow application menu (which is supposed to be its primary feature)
Ubuntuser's questions
Someone brought to my attention that if an application is using swap file (when system RAM is very low) it increases the disk I/0 and as a result of that, CPU use % and CPU Load increases.
Is this true or was that guy completely off-track?
I have a script which searches all files in multiple subfolders and archives to tar. My script is
for FILE in `find . -type f -name '*.*'`
do
if [[ ! -f archive.tar ]]; then
tar -cpf archive.tar $FILE
else
tar -upf archive.tar $FILE
fi
done
The find command gives me the following output
find . -type f -iname '*.*'
./F1/F1-2013-03-19 160413.csv
./F1/F1-2013-03-19 164411.csv
./F1-FAILED/F2/F1-2013-03-19 154412.csv
./F1-FAILED/F3/F1-2011-10-02 212910.csv
./F1-ARCHIVE/F1-2012-06-30 004408.csv
./F1-ARCHIVE/F1-2012-05-08 190408.csv
But the FILE variable only stores first part of the path ./F1/F1-2013-03-19 and then the next part 160413.csv.
I tried using read
with a while loop,
while read `find . -type f -iname '*.*'`; do ls $REPLY; done
but I get the following error
bash: read: `./F1/F1-2013-03-19': not a valid identifier
Can anyone suggest an alternative way?
Update
As suggested in the answers below I updated the scripts
#!/bin/bash
INPUT_DIR=/usr/local/F1
cd $INPUT_DIR
for FILE in "$(find . -type f -iname '*.*')"
do
archive=archive.tar
if [ -f $archive ]; then
tar uvf $archive "$FILE"
else
tar -cvf $archive "$FILE"
fi
done
The output that i get is
./test.sh
tar: ./F1/F1-2013-03-19 160413.csv\n./F1/F1-2013-03-19 164411.csv\n./F1/F1-2013-03-19 153413.csv\n./F1/F1-2013-03-19 154412.csv\n./F1/F1-2012-09-10 113409.csv\n./F1/F1-2013-03-19 152411.csv\n./.tar\n./F1-FAILED/F3/F1-2013-03-19 154412.csv\n./F1-FAILED/F3/F1-2013-03-19 170411.csv\n./F1-FAILED/F3/F1-2012-09-10 113409.csv\n./F1-FAILED/F2/F1-2011-10-03 113911.csv\n./F1-FAILED/F2/F1-2011-10-02 165908.csv\n./F1-FAILED/F2/F1-2011-10-02 212910.csv\n./F1-ARCHIVE/F1-2012-06-30 004408.csv\n./F1-ARCHIVE/F1-2011-08-17 133905.csv\n./F1-ARCHIVE/F1-2012-10-21 154410.csv\n./F1-ARCHIVE/F1-2012-05-08 190408.csv: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
After installing evolution-mapi in Ubuntu 13.04, I am getting this error
(evolution:8018): camel-CRITICAL **: camel_provider_list:
Could not load /usr/lib/evolution-data-server/camel-providers/libcamelmapi.so:
libdbwrap.so: cannot open shared object file: No such file or directory
And Evolution Mapi does not show up in the list of providers when setting up emails. How do I resolve this?
my list of installed evolution packages are :
$ sudo dpkg-query -l | grep evolution
ii evolution 3.6.4-0ubuntu1
ii evolution-common 3.6.4-0ubuntu1
ii evolution-data-server 3.6.4-0ubuntu1
ii evolution-data-server-common 3.6.4-0ubuntu1
ii evolution-indicator 0.2.20-0ubuntu10
ii evolution-mapi 3.6.2-0ubuntu1
ii evolution-plugins 3.6.4-0ubuntu1
I was trying KDE (kubuntu-desktop) on top of an Ubuntu Unity install. Now I have uninstalled KDE. However, I see that any non-GTK based application still showing the KDE theme.
For example, below is a screenshot of the right-click menu of Nautilus:
Below is a the right-click menu of the Chromium browser, which looks like it is still retaining the KDE theme:
How do I get rid of that KDE theme?
I have already removed the .kde
folder, and .fonts.conf
file and purged all KDE packages.
Procedure of Kubuntu removal
sudo apt-get remove --purge plasma? kubuntu?
sudo apt-get autoremove --purge
Now, that Adobe has stopped issuing new releases for Linux desktops, the only option for users is to use Google Chrome, for those who want to use the latest Flash updates. I use Chromium. Is there any way to get Chromium use the Flash from Google Chrome? The reason I as this question is that I have noticed both these browsers run in the background, so technically, the browsers' plugins are available to use.
I am quite interested in installing Bumblebee-UI in Ubuntu 12.04 after seeing this video on youtube. Link to video
Has anyone been able to install it successfully?
I have installed MS Office 2010 using PlayOnLinux. i want to associate the .docx files to Playonlinux. Could you please tell me how to do that? Playonlinux does not show up in "Open With" options. I am using UBuntu 12.04 Beta. There is no place that I can find, where I can add a custom command.
I have a fingerprint reader on my Dell Vostro. Does anyone know of any proper Fingerprint reader which can integrate with LightDM? I have heard of Fingerprint GUI but that works with GDM as per the development notes. It would be great if someone can let me know.
Thanks
I have ubuntu 12.04 alpha installed in virtualbox. When the virtual machine is started, it boots directly to the login screen without showing the grub menu. How can I get the grub menu to show up on start?
Please note: the graphics is broken after recent updates, so i cannot login and make the changes. it is stuck at the screen "Ubuntu is running on low graphics mode" and the mouse and other keys do not work.
I was wondering if it is possible to get the GNOME 3.2 GDM login theme working on Ubuntu 11.10. I installed GDM alongside LightDM, but the GDM greeter is really ugly.
There is a new feature called gnome-online-accounts, which has been introduced in Gnome3 , but its still not integrated into Ubuntu 11.10. Does anyone know how to get this working?
I want to list all the files from a source, say extras.ubuntu.com from the command line. What is the command for that?
dpkg --list
lists all files or just the filename.
Recently, I have been using byobu and I quite like it. However, I am more of a terminator user than gnome-terminal and I want to launch byobu inside terminator instead of gnome-terminal by default. How do i do that?
edit: what i want is click the byobu icon and open byobu inside terminator instead of gnome terminal.
When starting my system, Plymouth doesn't show graphics but uses the fallback text mode. However, it runs normally (that is, with graphics) on shutdown. Why is that?
I want to add SOCKS proxy settings to /etc/apt/apt.conf. What is the syntax for it? Is it same as http and ftp syntax?
Thanks.
I was browsing through the apt folder to try my proxy settings and I was unable to find the apt.conf file in Ubuntu 11.04. Is there any alternative file for it?
Adding proxy settings to 99-synaptic in apt.conf.d does not help as it gets overwritten everytime I restart the system.
Can anyone help me configure Transmission to download torrent files behind a proxy?
I have http_proxy
set in my .bashrc
.
I am running Ubuntu 10.10 amd64 in a Virtualbox on windows host. whenever i try to take a screenshot by pressing the print screen or by launching the gnome-screenshot option the screenshot appears completely black. any idea how to get a screenshot inside the Virtualbox?