Ubuntu Multimedia :: Copy Random Jpg From Random Folder
Jan 19, 2010
I'm looking for a script that copies a random .jpg from a random folder in my ~/Pictures folder to my ~/temp folder with a standard filename. This file will then be displayed in Conky. I can fix the last part, but I cannot find a way to do the first part.
I have the following problemI want to copy files to a usb at random?My_mp3_400GB to my_usb_32GBjijiji is enough?But I have little idea how to do it on command, I want to copy files to a usb at random?cp My_mp3_400GB/ /my_usb_32GB????
We have two folders: source folder and destination folder. In source folder we have many sub folders and many files of different type!Script that would copy or move defined number of files from source to destination folder. Files must be selected randomly and sub folder in source folders must be selected randomly and we don't copy or move defined number of files just form one sub folder in source folder. In destination folder sub directory structure of source folder should not be preserved. Solution should be robust and as simple as possible.
I'v been trying to install Ubuntu (and actually all other dists of linux (in hope of succes), but running ubuntu on my other machines and prefer it) on my old laptop. Laptop Acer Aspire 1312XC. Have just run a 24 hour RAM test it turned out ok. Have tried with other RAM blocks in aswell. The install freezes at random points in the installation. Mainly when trying to copy files to the hard drive. The only thing i've succeded in installing was Ubuntu server and windows XP. I have tried with ACPI off and all the other special atributes. No success so far.
If there is a problem with random play in Rhythmbox as my experience with it is driving me daft. Normally when working I like to play music but the continual playing of one CD is too much to bear.
I had re-installed my OS and initially just dragged and dropped over all my music from my backup only to find that having set the system to randomly play music that it did not. Initially it selected from 3 CDs of the same artist. There were over 300 tracks available to select but it only chose from approx 20% of those available. No matter what I tried the selection would revert to this one artist.
Gave up on things and started everything fresh. Removed Rhythmbox and re-installed it. Took all the CDs (14) and installed them directly into it the from the devices display in the side panel.
Tried to play again only to find that this time round it would only select from one artist and from a dual CD. Previously I had a choice of 4CDs by Capercaillie. Now I have a random selection of 33 tracks by them. Much as I like the artist it was getting a bit too much to bear. Deleted all 33 tracks only to find that the next random selection stuck on another artist and as before the one CD.
This is totally beyond a joke. As my car radio often fails as the signal is blocked by the mountains I had hoped that I could use an iPod to play my music but if all it will play is the one CD it is a complete waste of time.
I would like to have matters resolved before I switch cars in May. Additionally I would like to listen to Rhythmbox when working on my system as happened before the re-installation of my OS.
I am running kubuntu 9.10 on a dell inspiron 14 with an intel GM45 graphics card. When I run 3d games like Nexuiz, openarena and tremulous I get really random performance. Sometimes things are totally playable with somewhere between 50-80 fps and other times I get maybe 4 fps and everything takes forever to load. These effects persists between logouts, X restarts and reboots! I get no errors when I run things in console either.I never really play games much but when something doesn't work...
I have to say I'm really enjoying it. However, when I have been watching videos on ..... and revision3.com after a random amount of time the computer will freeze up and I have to do a hard restart of the computer.I've gone through the multimedia sticky post at the top of these forums with no real luck.Oh just got the computer today as a real budget system.AMD Athlon II X3 435 2.9ghzMSI K9N2GM-FD AM2+on board NVIDIA Geforce 82004GB DDR2 memoryI'm using ubuntu 10.04 64bit version.
When I start Audacious and make it play music, after a random time the player freezes up and the music stops playing. I have to make Audacious force quit and restart it, then it works for some time again. When I play a ..... video (in Firefox), it plays fine for some time and then it loses sound and either continues playing silent or the video stops and doesn't start again until I reload the page.
I use kernel 2.6.31-11-rt and the soundcard is... product: AC'97 Sound Controller vendor: Silicon Integrated Systems [SiS] physical id: 2.7
Aprox. 1 time per day / every two days hangs the x-server. It hangs a few secs then is being killed and restarted. A popup window in the task bar tells me the restart of the x-server. After that about 15 sec. I can continue to work but sometimes the gtk2 apps lose their integrity thus I have to restart by logging off and in again.
Code: Select all Nov 3 09:25:30 PC2 org.kde.kuiserver: kuiserver: Fatal IO error: client killed Nov 3 09:25:30 PC2 org.a11y.Bus: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
what does it mean "Remote peer vanished with error" ? Remote access? I am not competent to evaluate that.
Linux version 3.16.0-4-amd64 (email@example.com) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09)
When I play videos in VLC, the video output seems to randomly freeze while playing the video. This does not effect the audio though. The audio output continues, but with the video frozen on a frame. This is happening in windowed and full-screen mode. I have to use "pkill vlc" each time twice then start VLC again. I have had to resort to mplayer for the time being. I am running squeeze. I was not experiencing this problem before though (started within the past week), so it must be due to some recent upgrade. I have tried "aptitude purge vlc && aptitude install vlc", but I am still experiencing the same problem.
ecently (since upgrade to Ubuntu 10.10) being having problems with Amarok randomly crashing.There doesn't seem to be any pattern and it normally just disappears and music stops. Occasionally it comes up with the KDE crash tracker but it can't retrieve the debug information (although i do have amarok-dbg installed, not sure what else i need for that to work though)Anyway i have run it from the terminal and this is the output i got towards the end:
Code: amarok(7287)/kio (KIOJob) KIO::TransferJob::slotMimetype: mimetype() emitted again, or after sending first data!; job URL = KUrl("http://upload.wikimedia.org/wikipedia/commons
i run ubuntu 9.10 64-bit, using firefox 3.5.6 (courtesy of ubuntuzilla) as my web browser. i've had a problem with some flash and/or shockwave objects simply refusing to work inside firefox, despite having 64-bit flash player and all necessary plugins/addons/extras etc. installed.
there is no pattern to the problems, other than all of them being flash or shockwave objects that won't play. the majority of videos videos do play, including hd ones. however, this morning i encountered a pair of videos clips that simply would not play. i could load the page they were on, but all i ever saw was a black box, with no audio, where the video should have been.
i also noticed that on some of the videos that do play, the flash player's built-in volume control does nothing. i can slide it up or down or mute it entirely, but the sound from the flash video is unaffected.
i'll post urls of the problem videos later, so others can try them.
meanwhile i was able to watch other videos videos without issue, on another tab, aside from the broken flash player volume control.
i've also had a problem with the [url] player for a radio station, which i believe uses shockwave. i like to listen to atlanta, ga's wsb 750 am radio in the mornings before work, but so far i have to do it on a virtual windows xp machine running firefox 3.5.6, under virtualbox. if i try to open the player in firefox 3.5.6 running in the host os (ubuntu 9.10), i get only a blank popup window. url is [url]; click the "listen live" box at upper left to try it.
both machines, the host ubuntu 9.10 install and the guest windows xp machine, use exactly the same ad-blocking hosts file. i use the noscript addon in the host os install of firefox, but i allow any and all scripts when visiting the radio station's website.
since the streaming radio works on the virtual xp machine, i'm pretty sure my network configuration, hosts file etc. have nothing to do with this.
has anyone else had this problem? the flash content really should be agnostic with respect to the host os and browser, shouldn't it?
i guess it could be some random problem with the 64-bit vs. the 32-bit version of the flash plugin, so i may try instaling 32-bit ubuntu on a virtual machine to find out whether there's a difference.
Just upgraded to Debian Jessie. I'm having a problem with the desktop and lockscreen that I never had before in Debian 7. Whenever I open the laptop to wake it up, there is very bad discoloration of the background. (screenshot : [URL] ..... )
Hardware is an IBM Lenovo T410 with no customizations. The graphics are factory nvidia. 3D acceleration works flawlessly, and I have no other issues except this background problem.
$ nvidia-detect Detected NVIDIA GPUs: 01:00.0 VGA compatible controller : NVIDIA Corporation GT218M [NVS 3100M] [10de:0a6c] (rev a2) Your card is supported by the default drivers and legacy driver series 304.
Ever since I reinstalled Karmic Koala on this PC I've had a problem with random freezing. Initially I believed it to be an issue with my xorg.conf file, however, I disabled it and the crashing still persists..
the upgrade went fine and only had a few minor problems that were easy fixes. Like the Minimize, Maximize, Close on the left. Not good and fixed that right away. Today was the second time I have had a "random logout"I will be surfing the web and when I move my pointer on the touch pad of my laptop the screen goes black and I hear the sound of a logout. When I log back in and open Firefox my stuff is still there but this is very annoying. Is there any fix for this?
I've been using Ubuntu for a while now, and ever since I installed 10.10 (I did a clean install) I've been having problems with the computer completely locking up... nothing is responsive. I've not had this problem on any prior Ubuntu version. The problem started after I installed the updates for ubuntu... I have a hunch that its either the nvidia driver i installed or the latest kernel thats causing the problem. I'm using the proprietary driver for nvidia and my card is a GeForce6100 nForce 405... the kernel 2.6.35-22... as you can imagine its quite annoying having the computer lock up.. P.S.- the freezes aren't exactly random, they happen generally when I'm using high CPU %'s (e.g. when i import all my music at once to rhythmbox and playing spring rts)
I have been experiencing some random log out, specially in times like downloading big files, and consequently messing up my downloads. It's like browsing internet, a few other applications opened an out of nowhere a black screen an command boot load and then log in screen asking for password. This has been happening since I installed natty. I experience any kind of crash alert, freezing or slowdown before it happens, just out of the sudden it happens.
Any advice, help? How do I report a bug without a clear idea of what's going on?
Gotta rewrite everything i just wrote, because it actuall froze while i was typing this. Anyways, recently installed Ubuntu 11.04 and its had nasty freezing issues from the start. When it freezes, i cant move the mouse, none of the cap locks, number lock or scroll locks work. It will put any sounds playing into a small loop, and my mouse freezes. im forced to hard reset my computer everytime. Its 100% random too, not caused by a program, as far as i know.
Ever since I upgraded to Ubuntu 10.10 on my laptop, I've been having this problem. Every now and then, for seemingly no reason at all, the screen will go black and after a few seconds I find myself at the login screen. I've kept track of when it happens and there is seemingly no pattern to it; sometimes it will happen when I'm watching a video, sometimes it just happens when I'm browsing the internet, and sometimes it happens when I'm not doing anything.
I've been using Ubuntu on and off since 8.04, but only last week decided to make a real switch across to it.After installing 9.10 64bit though, my laptop while running Ubuntu just turns itself off at completely random times - it doesn't seem to go through any shut down procedure or anything, it's more like the power's just suddenly cut. It sometimes happens 5 minutes after being turned on, or sometimes 4 or 5 hours, it really is random.I really have no idea where to even begin trying to stop this. I think it must be a software thing because this has never happened with windows or earlier versions of Ubuntu, but other than that I don't know what to do to stop this.I'm dual booting Windows 7 32bit and Ubuntu 9.10 64bit, and this is on a Toshiba L350-D 11-D laptop, which has a 64bit AMD processor.
Karmic - When I start up and log in, a window for KDE Desktop Sharing Invitation automatically pops up.
Closing it doesn't prevent it from popping up on next startup.
There doesn't appear to be any option to "Don't show on startup."
When I go to System -> System Settings -> Advanced -> Autostart, it does not appear under Desktop File. The only thing that appears under "Script File" is gtk-2-engines-qtcurve.rc.sh gtk2engines... which does not appear to be the issue.
I'm guessing there's a shell command that will give me a more in-depth look at what should and should not run upon startup? Would really like to startup with a clean screen!
I was wondering if there is an application that allows the computer to chose a screensaver at random from a specific list that you make. I know that you can make the computer choose any screensaver at random, but I want it to choose only the ones I specify at random. I have about 6 screensavers that I want it to choose at random.
Ive been having some problems with a Compaq computer with Lubuntu installed. The problem is that Xorg crashes at random displaying a white distortion on the screen and it usually doesn't let me go to a terminal and i have to force a shutdown. the same happened when I tried to install Ubuntu but worse. Another side effect is that lubuntu at boot up displays its logo in 16-bit colors and then goes to normal colors.