I need to organise an external HDD such that there is no more than 500 folders on it.
Ubuntu's "Properties" pane shows only the file count, not the folder count.
Is there a simple CLI line that will tell me the number of subdirectories?
Thanks!
I recently purchased a netgear 150 usb wireless dongle for use with my 11.10 Xubuntu amd64 system. Using the network-manager interface, I can see local wireless networks and enter the authentication details for my local wireless lan. Unfortunately, the connection does not seem to work, I keep getting notifications that my wireless has disconnected (but none indicating that I've connected). When I examine syslog, it seems to indicate that I've successfully associated with the wireless switch and that dhcp has successfully acquired an ip address but the log shows that the dhcp process keeps sending requests, eventually dropping the connection. 'ifconfig wlan0' never shows the dhcp address logged in syslog.
I suspect that the problem lies with the usb dongle, my configuration or the wireless switch but I am not certain how to isolate the problem, can anyone provide some insight on how I should go about homing in on the cause of this problem or verifying the functionality of the individual components, thanks.
I want the process to look like:
I choose the correct scan settings (dpi, color depth, etc)
I lay the first page on the scanner and trigger the process
The scanner scans the page and waits for me to position the next page correctly
I confirm that the next page is ready for scanning
Repeat the above two steps until I tell the scanner that there are no more pages to come
The scanner saves everything into a single PDF.
I tried both xsane and gscan2pdf. First problem: they want me to know how many pages will be scanned. This is already a nuisance, but I can do the counting if needed.
The main problem is that in step 3, the scanner does not pause. It is probably optimised for being fed loose sheets. The next scan process is triggered automatically as soon as the CCD has returned to the start position. The time the scanner needs to return the CCD is very short and I can't turn the page and position the book properly.
Is there a software which can do the scan process in the way I described above, or did I just miss a setting available in xsane or gscan2pdf to make the scanner pause?
If it makes any difference, the scanner is an Epson Stylus SX620FW, I run it using the manufacturer-provided driver.
For example, if I have a directory containing files file1 and file2, and a directory dir1, then "ls -l file1" will show details just for file1. Doing the same thing for dir1 will instead show the contents of dir1. Is there a way to treat dir1 like file1?
I have a friend that recently started using Ubuntu, and I've been answering his questions via the internet. However, I'm stuck on this one. He bought Linksys WPC11 wireless card, and says he was able to create a network connection, but was unable to ping or use a browser. I'm not quite sure where to start in figuring this out--what are some common causes of this sort of problem?
I have a whole lot of photos and it's time to clean up the mess and free some disk space.
I know mogrify is great to batch-resize things down. The problem is, in some directories I have small images mixed with the big ones. I'd like to batch-downsize all the big one but not upsize the small ones.
As an example, I have a rep with tens of MBs-pictures in the 3000x2000s. Some of them I have already downsized so I could email them. They may be 1024x768. I'd like to downsize the big ones to 1600x1200, a disk-space-to-quality tradeoff I like. But then, with mogrify or convert, the small ones will be upsized, which would be a waste of disk space.
I found some tricky ways to use identify with cut and some scripting to filter the small pics out and mogrify the others, but man, there's got a way to tell mogrify not to upsize my pics... How ?
Is there some other tool better suited ?
I am trying to find a workaround for incorrect grouping of windows in Docky, and I believe the problem lies with the WMClass attribute that is set for each window. However, I do not know how to view this attribute for open windows. Is there any way to do this?
We have about 10 heterogeneous machines we would like to run various jobs on. The current situation is that people log in on a machine with ssh, see if other people are running stuff on it, then use screen to run the job.
I'd like to automate this process, but I don't have enough time to install a full-fledged cluster solution. So what's the simplest thing I can do?
I was trying to bring up my custom kernel. I did the following :
make menuconfig && make modules && make modules_install && make install
I would like to change the install PATH. How can i do that?
I tried doing
export INSTALL_PATH=<my custom path>
But then it is only creating the vmlinux.bin(it is not creating the ramdisk image!!)
But if i am not doing that, make install will automatically create the ramdisk image in the default /boot folder.
How can i change that??
Thanks,
Sen
For a frequent task, I need a file manager window open with about 8 tabs, each a different location. I'd like to be able to open the tabs once and then save them as a "tab set", so that in future sessions, I can simply open a file manager and restore the saved tab set, without having to open each tab manually.
I'm running Mint 16 with Thunar, but could use a different file manager if needed.
Is there a way to do this?
I'm trying to use Skype with Ubuntu Karmic and I just don't understand how to configure Pulseaudio properly. The previous version of Skype allowed me to talk through and hear the voice on my USB phone and the ringing sounds through my laptop speaker. I'm not able to do this with the new version (2.1.0.47).
I want to write code in Dev C++ so that when i execute in Ubuntu 8 , it clones my windows 7 from D: partition to its child partitions E:,F: ...
i have made my partitions of equal sizes and i have tested by manualy using ntfsclone ,so their will be no problem in cloning.
this is part of kiosk system and i hope you understand what i am upto
Some reference or help will be appreciated
thanks
XML one is something like that:
<dict>
<key>2</key>
<array>
<string>A</string>
<string>B</string>
</array>
<key>3</key>
<array>
<string>C</string>
<string>D</string>
<string>E</string>
</array>
</dict>
XML Two is something like that:
<dict>
<key>A</key>
<array>
<string>A1</string>
<false/>
<false/>
<array>
<string>Apple</string>
<string>This is an apple</string>
</array>
<array>
<string>Apple Pie</string>
<string>I love Apple Pie.</string>
</array>
</array>
<key>B</key>
<array>
<string>B7</string>
<false/>
<false/>
<array>
<string>Boy</string>
<string>I am a boy.</string>
</array>
</array>
</dict>
I want to convert to this:
<dict>
<key>2</key>
<array>
<string>A, Apple, Apple Pie</string>
<string>B, Boy</string>
</array>
...
</dict>
I'm running Ubuntu on Parallels on a MacBook, and there is no middle-click on the MacBook trackpad - which is annoying because it means you can't do X's paste action.
Is there an alternative? I'm hoping there is a keyboard binding to X's paste or better a way to bind a keyboard key/combination to the middle-click action.
Edit: I know about the emulate three-button mouse option, but that won't work for me because the trackpad only allows you to click one button at a time
When I use netstat -tup, it only shows the processes for some. There are other ports that just have a - for PID, so how would I find out what process is listening on these ports?
After manually setting the display brightness on my laptop, the system re-sets the value. If the laptop is plugged in, the value is set to full brightness; if it is not plugged in, it is set to dimmer. How do I stop that behavior?
Note that I am not talking about what it does in response to the event of plugging in or unplugging my system. It changes on it's own - usually several minutes after I change the brightness value. I have observed this behavior on different systems, different distributions, and different desktop environments.
Does it depend on the media size which one to chose or on some other parameters? In Windows 7 FAT16 is the default. In pendrivelinux.com's Universal USB Installer FAT32. Which one to chose? How about NTFS for Windows use?
How about exFAT? It is tne Microsoft designed filesystem for removable media. Is there a difference in USB sticks and SD cards in this regard?
Edit: seeing developments in the other thread, should I still use something like exFAT if I don't want Recycle bins created on every single machine I plug my USB thumb drive in?
Hi,
I've got a problem with my 3G modem [Huawei E122].
It has internal storage and kernel assigns a device [/dev/sdX] to it.
Because of that, every second time my machine will not boot - kernel panic - as my usb hdd gets assigned /dev/sdb instead of /dev/sda.
I cannot use LABEL nor UUID in root= kernel parameter, as it is only available when using initrd, and I can't use it - I am using Debian on my router - mips architecture machine.
I have to prevent this from happening, as my router has to start everyday and I have to be sure it works ok. I don't have physical access to restart it when something goes wrong.
I don't use my modem internal storage, there's no SD card inserted. However kernel detects the reader and loads it.
I can not prevent loading od usb drivers since my hdd is on USB as well.
I will appreciate any ideas.
I'm trying to set the time in an embedded system ...
There isn't a link/file /etc/localtime and /usr/ has only two subdirectories /usr/bin and /usr/sbin.
Is there something I can try or do I just give up and make UTC be my timezone?
I tried to find a previous question on SU pertaining to this, but I'm surprised this has not been asked before.
I have seen some deals lately for really cheap SDHC Class 4 cards, and would like to know whether these are a feasible alternative to USB flash drives for running an OS.
We are in a migration process of a group of related computers (Intranet servers, SQL, application servers of one application) to a new domain. In the past we used one domain user account for every computer (web1, web2, appserver1, appserver2, sql1, sqlbackup ...) to access central Windows resources like network shares. Every computer also has a local user account with the same name.
I am not sure if this is necessary, or if it would be easier to configure and maintain to use one domain user account.
Are there key advantages / disadvantages of having one single user account vs. dedicated accounts per computer for this group of background servers? If I am not wrong, one advantage besides easier administration of the user account could be that moving installed applications and services around between the computers does not require a check of the access rights anymore. (Except where IP addresses or ports are used)
I have a USB stick with a Fedora 11 live environment on it.
It's booting fine on 3 PCs where I've tried it.
But I can't get it to boot on a Mac (Intel). When pressing the alt key (or command key, I don't remember which one) during startup I can only choose the "Macintosh HD" and the USB stick doesn't appear.