Go Back   Android Forums > Android Community > The Lounge > Computers & IT

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree1101Likes

test: Reply
 
LinkBack Thread Tools
Old November 12th, 2013, 07:30 AM   #1651 (permalink)
The TechnoFrog
 
argedion's Avatar
 
Join Date: Jun 2011
Location: The Severed Garden
Posts: 5,524
 
Device(s): HTC EVO 4g(Retired), HTC EVO LTE(Retired), LG Lucid(Returned), Motorola Droid Razr M, Nexus 7
Carrier: GOD

Thanks: 5,565
Thanked 5,324 Times in 2,469 Posts
Default

I just rebooted my machine hmmmp


Ok any audacity experts in here? I can't get it to install ffmpeg librarys

__________________
All My Links In one Convenient Place
Asking simple questions can keep us from doing dumb things.
argedion is online now  
Reply With Quote
sponsored links
Old November 12th, 2013, 01:44 PM   #1652 (permalink)
Member
 
Joelgp83's Avatar
 
Join Date: Jul 2012
Location: California
Posts: 377
 
Device(s): Samsung Galaxy Prevail (CM7 beta5)
Carrier: Not Provided

Thanks: 48
Thanked 127 Times in 106 Posts
Default

Is there a dependency error?
Joelgp83 is online now  
Reply With Quote
Old November 12th, 2013, 02:04 PM   #1653 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,784
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 927
Thanked 1,363 Times in 822 Posts
Default

Quote:
Originally Posted by argedion View Post
I just rebooted my machine hmmmp
Oh well, post when it's been up a while.

Quote:
Ok any audacity experts in here? I can't get it to install ffmpeg librarys
I didn't have Audacity installed, but I just installed it. If you can tell us what you're doing [or trying to do] I'll attempt to replicate it. How are you trying to install the ffmpeg libraries? And what happens?
__________________
Info on Heartbleed bug; updated with helpful links


MoodyBlues is offline  
Reply With Quote
Old November 12th, 2013, 05:03 PM   #1654 (permalink)
The TechnoFrog
 
argedion's Avatar
 
Join Date: Jun 2011
Location: The Severed Garden
Posts: 5,524
 
Device(s): HTC EVO 4g(Retired), HTC EVO LTE(Retired), LG Lucid(Returned), Motorola Droid Razr M, Nexus 7
Carrier: GOD

Thanks: 5,565
Thanked 5,324 Times in 2,469 Posts
Default

OpenSuse 12.3

Installed FFMpeg

Installed audacity

goto edit Preferences and click on the locate button locate the so file but it wont recognize it. Just says that ffmpeg import is not installed but I can go to CLI and convert through ffmpeg So I cannot convert MP3 files into audacity but if I ffmpeg them and change them to wav files I can save as MP3
argedion is online now  
Reply With Quote
Old November 12th, 2013, 07:05 PM   #1655 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,784
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 927
Thanked 1,363 Times in 822 Posts
Default

Quote:
Originally Posted by argedion View Post
OpenSuse 12.3

Installed FFMpeg

Installed audacity

goto edit Preferences and click on the locate button
Sorry, argedion, but mine has no such creature. Mine is Audacity 2.0.0 (Unicode) on Kubuntu 12.04. I looked through all of its preferences but didn't see anything 'locate' related.
MoodyBlues is offline  
Reply With Quote
The Following User Says Thank You to MoodyBlues For This Useful Post:
argedion (November 13th, 2013)
Old November 12th, 2013, 08:14 PM   #1656 (permalink)
I ain't nobody!
 
saptech's Avatar
 
Join Date: Dec 2011
Location: Third Stone from the Sun
Posts: 3,545
 
Device(s): Motorola Moto G, Samsung Stratosphere, Galaxy Tab 2 SE.
Carrier: T-Mobile

Thanks: 572
Thanked 768 Times in 612 Posts
Default

Quote:
Originally Posted by argedion View Post
OpenSuse 12.3

Installed FFMpeg

Installed audacity

goto edit Preferences and click on the locate button locate the so file but it wont recognize it. Just says that ffmpeg import is not installed but I can go to CLI and convert through ffmpeg So I cannot convert MP3 files into audacity but if I ffmpeg them and change them to wav files I can save as MP3
Why not just use ffmpeg on CLI and convert them to MP3? What format are the files currently?
__________________
Like it is...Yusef Lateef
saptech is offline  
Reply With Quote
The Following User Says Thank You to saptech For This Useful Post:
argedion (November 13th, 2013)
Old November 13th, 2013, 01:54 AM   #1657 (permalink)
The TechnoFrog
 
argedion's Avatar
 
Join Date: Jun 2011
Location: The Severed Garden
Posts: 5,524
 
Device(s): HTC EVO 4g(Retired), HTC EVO LTE(Retired), LG Lucid(Returned), Motorola Droid Razr M, Nexus 7
Carrier: GOD

Thanks: 5,565
Thanked 5,324 Times in 2,469 Posts
Default

As it stands now I can only import uncompressed formats (Wav, Aiff) into audacity to work on the song for a ringtone. I can then save said file as (MP3) format from Audacity. (Lame works to save the files)

Joel I get no errors just no ffmpeg

I can convert the (MP3) file over to a WAV using the ffmpeg command at the CLI and then import the song into Audacity and do my magic for my ringtone an save results as Mp3.

With ffmpeg installed and working properly I can import the MP3 without the extra steps Just for what ever reason it will not recognize the ffmpeg library (/usr/share/lib64/libavformat.so.54) the dialog box see's it and lets me choose it but Audacity refuses to accept it. I've even ran Audacity as root and tried to point to the file but it still doesnt work. Guess I'll have to do the extra steps in order to make my ringtones
argedion is online now  
Reply With Quote
Old November 13th, 2013, 02:59 AM   #1658 (permalink)
你好
 
mikedt's Avatar
 
Join Date: Sep 2010
Location: Xilinhot, China 中国锡林浩特
Posts: 8,662
 
Device(s): Samsung Galaxy Win Duos, Lenovo P700i
Carrier: China Mobile, China Unicom.

Thanks: 2,944
Thanked 2,499 Times in 1,792 Posts
Send a message via Skype™ to mikedt
Default

I'm using Audacity 2.0.3, which I sometimes use to make audio materials for my classes. Mine seems to be able to import and export MP3 no problems, this is on Mint 15 Olivia.

Don't know if it's any help this is the Audacity web page for codecs and plug-ins.
http://manual.audacityteam.org/man/FAQ:Installation_and_Plug-Ins
AFAIK for MP3 import and export you need to have LAME installed.
__________________
The People's Guide to Android in the People's Republic.
Honorary Grand Poobah Shenzhen University English Corner.
http://welcometomychina.tumblr.com/
There are nine million bicycles in Beijing.
There are nine million Androids in Shenzhen.
mikedt is online now  
Last edited by mikedt; November 13th, 2013 at 03:19 AM.
Reply With Quote
The Following User Says Thank You to mikedt For This Useful Post:
argedion (November 13th, 2013)
Old November 13th, 2013, 04:40 AM   #1659 (permalink)
The TechnoFrog
 
argedion's Avatar
 
Join Date: Jun 2011
Location: The Severed Garden
Posts: 5,524
 
Device(s): HTC EVO 4g(Retired), HTC EVO LTE(Retired), LG Lucid(Returned), Motorola Droid Razr M, Nexus 7
Carrier: GOD

Thanks: 5,565
Thanked 5,324 Times in 2,469 Posts
Default

Yeah I have lame installed but it won't load an MP3 without ffmpeg.

I have installed and uninstalled both and it still won't recognize it.
argedion is online now  
Reply With Quote
Old November 13th, 2013, 06:35 AM   #1660 (permalink)
Senior Member
 
zuben el genub's Avatar
 
Join Date: Jan 2011
Posts: 4,762
 
Device(s): Nexus 4, Galaxy S 4G, Nexus S
Carrier: Not Provided

Thanks: 51
Thanked 868 Times in 698 Posts
Default

Here's a couple for fans:
Open sourcers can't create new penguins - Mules of the IT world | TechEye

Linux Today - Canonical Finally Repairs the Ugliest Shutdown Dialog in Ubuntu

I haven't seen it. Maybe because I choose plain Gnome?
mikedt and saptech like this.
__________________
Sent by UFO
zuben el genub is offline  
Reply With Quote
sponsored links
Old November 13th, 2013, 10:58 AM   #1661 (permalink)
I ain't nobody!
 
saptech's Avatar
 
Join Date: Dec 2011
Location: Third Stone from the Sun
Posts: 3,545
 
Device(s): Motorola Moto G, Samsung Stratosphere, Galaxy Tab 2 SE.
Carrier: T-Mobile

Thanks: 572
Thanked 768 Times in 612 Posts
Default

Wow, I guess I never noticed it either and sorta feel like I'm part of the older crowd.

Quote:
they noticed the sizes, and ages of the developers and noting that grey hair was common along with a tendency to scream at young people to get off their lawn.
It will be a good idea to recruit younger people from colleges/universities and hopefully there will be some who want to join.
saptech is offline  
Reply With Quote
Old November 13th, 2013, 12:21 PM   #1662 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,784
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 927
Thanked 1,363 Times in 822 Posts
Default

Quote:
Originally Posted by argedion View Post
I can convert the (MP3) file over to a WAV using the ffmpeg command at the CLI and then import the song into Audacity and do my magic for my ringtone an save results as Mp3.
I just loaded a few MP3 files without issue. There must be something missing in your Audacity/ffmpeg installation.

Quote:
With ffmpeg installed and working properly I can import the MP3 without the extra steps Just for what ever reason it will not recognize the ffmpeg library (/usr/share/lib64/libavformat.so.54)
I have no such file--not even that directory. I do have ffmpeg installed, and the closest files I have named like yours are:

Quote:
/.
/usr
/usr/lib
/usr/lib/i686
/usr/lib/i686/cmov
/usr/lib/i686/cmov/libavformat.so.52
/usr/lib/i686/cmov/libavformat.so.52.64.2
/usr/lib/libavformat.so.52
/usr/lib/libavformat.so.52.64.2
/usr/share
/usr/share/doc
/usr/share/doc/libavformat-extra-52
/usr/share/doc/libavformat-extra-52/CREDITS
/usr/share/doc/libavformat-extra-52/README.Debian.gz
/usr/share/doc/libavformat-extra-52/TODO
/usr/share/doc/libavformat-extra-52/changelog.Debian.gz
/usr/share/doc/libavformat-extra-52/changelog.gz
/usr/share/doc/libavformat-extra-52/copyright
/usr/share/doc/libavformat-extra-52/formats.txt.gz
and

Quote:
/.
/usr
/usr/lib
/usr/lib/i686
/usr/lib/i686/cmov
/usr/lib/i686/cmov/libavformat.so.52
/usr/lib/i686/cmov/libavformat.so.52.64.2
/usr/lib/libavformat.so.52
/usr/lib/libavformat.so.52.64.2
/usr/share
/usr/share/doc
/usr/share/doc/libavformat-extra-52
/usr/share/doc/libavformat-extra-52/CREDITS
/usr/share/doc/libavformat-extra-52/README.Debian.gz
/usr/share/doc/libavformat-extra-52/TODO
/usr/share/doc/libavformat-extra-52/changelog.Debian.gz
/usr/share/doc/libavformat-extra-52/changelog.gz
/usr/share/doc/libavformat-extra-52/copyright
/usr/share/doc/libavformat-extra-52/formats.txt.gz
I'm wondering if a change of location is needed in your case, although we're using different distros, so perhaps not.

Quote:
the dialog box see's it and lets me choose it but Audacity refuses to accept it.
What dialog box? Within Audacity, I use its File | Open choice and select the MP3 file, and that's that. It loads the file; I don't have to choose anything else. Again, I'm thinking there's something missing at your end.

Quote:
I've even ran Audacity as root and tried to point to the file but it still doesnt work.
Are you running it at a prompt, or from its menu choice?
mikedt likes this.
MoodyBlues is offline  
Reply With Quote
The Following User Says Thank You to MoodyBlues For This Useful Post:
mikedt (November 13th, 2013)
Old November 13th, 2013, 01:17 PM   #1663 (permalink)
The TechnoFrog
 
argedion's Avatar
 
Join Date: Jun 2011
Location: The Severed Garden
Posts: 5,524
 
Device(s): HTC EVO 4g(Retired), HTC EVO LTE(Retired), LG Lucid(Returned), Motorola Droid Razr M, Nexus 7
Carrier: GOD

Thanks: 5,565
Thanked 5,324 Times in 2,469 Posts
Default

Go to edit in audacity choose preferences then choose library's it allows you to point to Lame and ffmpeg locations lame works fine just ffmpeg doesn't.

I ran root from command line.

Like I said I can manually do it just sorta a pita that's all. My last install worked flawlessly so not sure why with the fresh os install why it doesn't work. ( failing hard drive caused a new install on a new drive)
argedion is online now  
Reply With Quote
Old November 13th, 2013, 01:46 PM   #1664 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,784
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 927
Thanked 1,363 Times in 822 Posts
Default

Quote:
Originally Posted by argedion View Post
Go to edit in audacity choose preferences then choose library's
Nope, as I mentioned before, mine has no such choice for libraries; I've checked within each preference and it's not there:



Which version of Audacity are you using, argedion?

ETA: What does your log show? Here's mine (from Help | Show Log):

Code:
11:39:32 AM: Audacity 2.0.0
11:39:37 AM: Retrieving FFmpeg library version numbers:
11:39:37 AM:    AVCodec version 0x352300 - 53.35.0 (built against 0x352300 - 53.35.0)
11:39:37 AM:    AVFormat version 0x351501 - 53.21.1 (built against 0x351500 - 53.21.0)
11:39:37 AM:    AVUtil version 0x331601 - 51.22.1 (built against 0x331601 - 51.22.1)
MoodyBlues is offline  
Last edited by MoodyBlues; November 13th, 2013 at 02:04 PM.
Reply With Quote
The Following User Says Thank You to MoodyBlues For This Useful Post:
mikedt (November 13th, 2013)
Old November 13th, 2013, 03:19 PM   #1665 (permalink)
The TechnoFrog
 
argedion's Avatar
 
Join Date: Jun 2011
Location: The Severed Garden
Posts: 5,524
 
Device(s): HTC EVO 4g(Retired), HTC EVO LTE(Retired), LG Lucid(Returned), Motorola Droid Razr M, Nexus 7
Carrier: GOD

Thanks: 5,565
Thanked 5,324 Times in 2,469 Posts
Default

Here is my log

[HIGH]04:14:23 PM: Audacity 2.0.2
04:14:26 PM: Trying to load FFmpeg libraries...
04:14:26 PM: mLibAVFormatPath ('/usr/lib64/libavformat.so.54.29.104') is not empty. Loading from it.
04:14:26 PM: Checking for monolithic avformat from '/usr/lib64/libavformat.so.54.29.104'.
04:14:26 PM: avformat not monolithic
04:14:26 PM: Loading avutil from '/usr/lib64/libavutil.so.50'.
04:14:26 PM: Error: /usr/lib64/libavutil.so.50: cannot open shared object file: No such file or directory
04:14:26 PM: Loading avcodec from '/usr/lib64/libavcodec.so.52'.
04:14:26 PM: Error: /usr/lib64/libavcodec.so.52: cannot open shared object file: No such file or directory
04:14:26 PM: Loading avformat from '/usr/lib64/libavformat.so.54.29.104'.
04:14:26 PM: Error: Unknown dynamic library error
04:14:26 PM: Actual avutil path
04:14:26 PM: Error: Unknown dynamic library error
04:14:26 PM: Actual avcodec path
04:14:26 PM: Actual avformat path /usr/lib64/libavformat.so.54.29.104
04:14:26 PM: Importing symbols...
04:14:26 PM: Error: Failed to load symbol av_write_header
04:14:26 PM: Trying to load FFmpeg libraries from system paths. File name is 'libavformat.so.52'.
04:14:26 PM: Checking for monolithic avformat from 'libavformat.so.52'.
04:14:26 PM: Error: libavformat.so.52: cannot open shared object file: No such file or directory
04:14:26 PM: Loading avutil from 'libavutil.so.50'.
04:14:26 PM: Error: libavutil.so.50: cannot open shared object file: No such file or directory
04:14:26 PM: Loading avcodec from 'libavcodec.so.52'.
04:14:26 PM: Error: libavcodec.so.52: cannot open shared object file: No such file or directory
04:14:26 PM: Loading avformat from 'libavformat.so.52'.
04:14:26 PM: Error: libavformat.so.52: cannot open shared object file: No such file or directory
04:14:26 PM: Error: Failed to load FFmpeg libraries.
04:14:26 PM: Error: Failed to find compatible FFmpeg libraries.[/HIGH]
argedion is online now  
Reply With Quote
The Following User Says Thank You to argedion For This Useful Post:
mikedt (November 13th, 2013)
Old November 13th, 2013, 03:46 PM   #1666 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 44,042
 
Device(s): LTEvo, 3vo, and Shift
Carrier: Sprint

Thanks: 41,701
Thanked 54,832 Times in 21,868 Posts
Default

From the RTFM, Audacity doesn't have prefs to locate those libraries in Ubuntu.

FAQ:Installation, Startup and Plug-ins - Audacity Manual

And it's particular about which ffmpeg revisions are supported.

Check your audacity.cfg, probably under an .audacity folder of some sort.

To start over if it's hosed, clean it out, install all libs and say -

NewPrefsInitialized=1

Looks like you're missing libavutil and libavcodec.
argedion likes this.
EarlyMon is offline  
Reply With Quote
The Following 2 Users Say Thank You to EarlyMon For This Useful Post:
mikedt (November 13th, 2013), MoodyBlues (November 13th, 2013)
Old November 13th, 2013, 03:57 PM   #1667 (permalink)
The TechnoFrog
 
argedion's Avatar
 
Join Date: Jun 2011
Location: The Severed Garden
Posts: 5,524
 
Device(s): HTC EVO 4g(Retired), HTC EVO LTE(Retired), LG Lucid(Returned), Motorola Droid Razr M, Nexus 7
Carrier: GOD

Thanks: 5,565
Thanked 5,324 Times in 2,469 Posts
Default

Quote:
Originally Posted by EarlyMon View Post
From the RTFM, Audacity doesn't have prefs to locate those libraries in Ubuntu.

FAQ:Installation, Startup and Plug-ins - Audacity Manual

And it's particular about which ffmpeg revisions are supported.

Check your audacity.cfg, probably under an .audacity folder of some sort.

To start over if it's hosed, clean it out, install all libs and say -

NewPrefsInitialized=1

Looks like you're missing libavutil and libavcodec.

They are in the /usr/lib64 folder I do notice the numbers are different I think I may have a newer version of ffmpeg than I had before. Apparently Audacity doesn't support it yet maybe :
[HIGH]ffmpeg version 1.0.1[/HIGH]
argedion is online now  
Reply With Quote
The Following User Says Thank You to argedion For This Useful Post:
EarlyMon (November 13th, 2013)
Old November 13th, 2013, 04:08 PM   #1668 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 44,042
 
Device(s): LTEvo, 3vo, and Shift
Carrier: Sprint

Thanks: 41,701
Thanked 54,832 Times in 21,868 Posts
Default

The manual may be out of date, but it said they only go up to 0.9.

Worth checking out.
EarlyMon is offline  
Reply With Quote
The Following 2 Users Say Thank You to EarlyMon For This Useful Post:
argedion (November 13th, 2013), mikedt (November 13th, 2013)
Old November 13th, 2013, 04:53 PM   #1669 (permalink)
The TechnoFrog
 
argedion's Avatar
 
Join Date: Jun 2011
Location: The Severed Garden
Posts: 5,524
 
Device(s): HTC EVO 4g(Retired), HTC EVO LTE(Retired), LG Lucid(Returned), Motorola Droid Razr M, Nexus 7
Carrier: GOD

Thanks: 5,565
Thanked 5,324 Times in 2,469 Posts
Default

UPDATE

I got it fixed I went to the opensuse forums and they had a multimedia one click so I clicked it and got the appropriate ffmpeg for Audacity. I'm assuming now it has a lot to do with the repository I used to get ffmpeg to begin with it was the videolan repository. Looks like Packman is it for OpenSuse.

Thanks for all the effort and help you guys rock
argedion is online now  
Reply With Quote
The Following 3 Users Say Thank You to argedion For This Useful Post:
EarlyMon (November 13th, 2013), mikedt (November 13th, 2013), MoodyBlues (November 13th, 2013)
Old November 13th, 2013, 09:24 PM   #1670 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,784
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 927
Thanked 1,363 Times in 822 Posts
Default

Quote:
Originally Posted by argedion View Post
UPDATE

I got it fixed
Fantastic!
MoodyBlues is offline  
Reply With Quote
The Following User Says Thank You to MoodyBlues For This Useful Post:
argedion (November 14th, 2013)
sponsored links
Old November 13th, 2013, 10:55 PM   #1671 (permalink)
Over Macho Grande?
 
alostpacket's Avatar
 
Join Date: Nov 2009
Location: NY
Posts: 7,873
 
Device(s): GlassXE, MotoX, N5, N4, N7'12, GNex, N1, SGT10.1, Revue, Xoom, Eris, OG Droid
Carrier: TMO

Thanks: 4,582
Thanked 3,563 Times in 1,522 Posts
Default

Favorite package manager? (not to start a flame war!)
MoodyBlues and 9to5cynic like this.
alostpacket is offline  
Reply With Quote
Old November 13th, 2013, 11:20 PM   #1672 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,784
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 927
Thanked 1,363 Times in 822 Posts
Default

Quote:
Originally Posted by alostpacket View Post
Favorite package manager?
Synaptic, hands down.

Quote:
(not to start a flame war!)


We could start a "vi vs emacs" discussion. Here's my choice:

alostpacket likes this.
MoodyBlues is offline  
Reply With Quote
The Following User Says Thank You to MoodyBlues For This Useful Post:
alostpacket (November 13th, 2013)
Old November 13th, 2013, 11:29 PM   #1673 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 44,042
 
Device(s): LTEvo, 3vo, and Shift
Carrier: Sprint

Thanks: 41,701
Thanked 54,832 Times in 21,868 Posts
Default

There's something besides RPM?

Someone is pulling my leg.
alostpacket and MoodyBlues like this.
EarlyMon is offline  
Reply With Quote
Old November 13th, 2013, 11:42 PM   #1674 (permalink)
Over Macho Grande?
 
alostpacket's Avatar
 
Join Date: Nov 2009
Location: NY
Posts: 7,873
 
Device(s): GlassXE, MotoX, N5, N4, N7'12, GNex, N1, SGT10.1, Revue, Xoom, Eris, OG Droid
Carrier: TMO

Thanks: 4,582
Thanked 3,563 Times in 1,522 Posts
Default

So is this where I admit I use Homebrew?







EarlyMon and MoodyBlues like this.
alostpacket is offline  
Reply With Quote
Old November 14th, 2013, 12:49 AM   #1675 (permalink)
Senior Member
 
palmtree5's Avatar
 
Join Date: May 2012
Location: USA
Gender: Male
Posts: 2,744
 
Device(s): HTC One SV, Samsung Galaxy Prevail (retired), Nexus 7 (Gen 1)
Carrier: Boost Mobile

Thanks: 1,655
Thanked 1,462 Times in 754 Posts
Default

Quote:
Originally Posted by alostpacket View Post
Favorite package manager? (not to start a flame war!)
Pacman/yaourt

Quote:
Originally Posted by MoodyBlues View Post


We could start a "vi vs emacs" discussion. Here's my choice:

There are other text editors...

Vim FTW
MoodyBlues and 9to5cynic like this.
__________________
Find a post helpful? Hit
See spam or something offensive? Hit
New to the site? Site Rules/Guidelines and Introductions
Not a member yet but want to join? Join here!
Let's cure cancer with our phones
palmtree5 is online now  
Reply With Quote
Old November 14th, 2013, 12:52 AM   #1676 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 44,042
 
Device(s): LTEvo, 3vo, and Shift
Carrier: Sprint

Thanks: 41,701
Thanked 54,832 Times in 21,868 Posts
Default

Do you use vim in its not-vi mode? (It's one of those days, I can't talk right. )

It's actually also a very good text editor alternative if you're on Windows.
EarlyMon is offline  
Reply With Quote
Old November 14th, 2013, 01:22 AM   #1677 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,784
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 927
Thanked 1,363 Times in 822 Posts
Default

Quote:
Originally Posted by palmtree5 View Post
There are other text editors...

Vim FTW
Yep, vim is what I actually use, but it's called with vi and I call it vi. Nearly 30 years of habit is hard to break!
9to5cynic and saptech like this.
MoodyBlues is offline  
Reply With Quote
Old November 14th, 2013, 01:29 AM   #1678 (permalink)
I ain't nobody!
 
saptech's Avatar
 
Join Date: Dec 2011
Location: Third Stone from the Sun
Posts: 3,545
 
Device(s): Motorola Moto G, Samsung Stratosphere, Galaxy Tab 2 SE.
Carrier: T-Mobile

Thanks: 572
Thanked 768 Times in 612 Posts
Default

Mageia Linux uses a package manager called urpmi, which functions as a wrapper to the RPM package management system. It allows seamless installation of a given software package by automatically installing the other packages needed.

And I hate Vi. I can't never figure out how to save a modified file.
esc, :sq or whatever it is.
MoodyBlues likes this.
saptech is offline  
Reply With Quote
Old November 14th, 2013, 01:58 AM   #1679 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 44,042
 
Device(s): LTEvo, 3vo, and Shift
Carrier: Sprint

Thanks: 41,701
Thanked 54,832 Times in 21,868 Posts
Default

Vi gained popularity when we lived in a text world, arrow keys were scarce and mnemonics roamed the land.

I still use control-[ exclusively because I once had a keyboard without an escape key. Besides, Esc is too far away.

X is delete, xp is x-pose - transpose.

Vi reads and writes, so to save a file and then quit, it's wq.

The deal with the colon is, before vi, we had ed - the line editor - and ed is still there under vi.

To this day you have to escape: to ed to enter the common commands.

Emacs is considered elegant. Vi is considered primitive as are its users, although both survive because they get results.

^vi/emacs humor, very old.

Anyway - graphical interface. That's it. Saying gvim or vim -g launches a gui if installed.

I think for a gui, gvim is pretty good.
MoodyBlues and saptech like this.
EarlyMon is offline  
Reply With Quote
Old November 14th, 2013, 09:11 AM   #1680 (permalink)
Over Macho Grande?
 
alostpacket's Avatar
 
Join Date: Nov 2009
Location: NY
Posts: 7,873
 
Device(s): GlassXE, MotoX, N5, N4, N7'12, GNex, N1, SGT10.1, Revue, Xoom, Eris, OG Droid
Carrier: TMO

Thanks: 4,582
Thanked 3,563 Times in 1,522 Posts
Default

See? look what I've started
EarlyMon, MoodyBlues and saptech like this.
alostpacket is offline  
Reply With Quote
sponsored links
Old November 14th, 2013, 01:26 PM   #1681 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,784
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 927
Thanked 1,363 Times in 822 Posts
Default

Quote:
Originally Posted by saptech View Post
And I hate Vi. I can't never figure out how to save a modified file.
There are several ways, including what EM mentioned, but I'm too lazy for that many keystrokes, so I always use one, x, to save and exit.

Let's say you're editing a file and you want to save it and quit:

[esc] - to exit from editing mode
: - to get to where you can enter a command
x - to write/save the file and exit
saptech likes this.
MoodyBlues is offline  
Reply With Quote
Old November 14th, 2013, 01:39 PM   #1682 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,784
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 927
Thanked 1,363 Times in 822 Posts
Default

Quote:
Originally Posted by EarlyMon View Post
Vi is considered primitive as are its users
Proud, primitive vi user here!

Seriously, though, considering its power, it's kind of funny that it's considered primitive. And once you know its commands and functions, it's as natural as breathing.
EarlyMon likes this.
MoodyBlues is offline  
Reply With Quote
Old November 14th, 2013, 01:56 PM   #1683 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 44,042
 
Device(s): LTEvo, 3vo, and Shift
Carrier: Sprint

Thanks: 41,701
Thanked 54,832 Times in 21,868 Posts
Default

Quote:
Originally Posted by MoodyBlues View Post
x - to write/save the file and exit
Heresy.
Quote:
Originally Posted by MoodyBlues View Post
Proud, primitive vi user here!

Seriously, though, considering its power, it's kind of funny that it's considered primitive. And once you know its commands and functions, it's as natural as breathing.
It's possible to use a tty buffer display model put together with ed and get something more primitive but I don't think it'll be easy.
mikedt and MoodyBlues like this.
EarlyMon is offline  
Last edited by EarlyMon; November 14th, 2013 at 02:36 PM.
Reply With Quote
Old November 14th, 2013, 09:59 PM   #1684 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,784
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 927
Thanked 1,363 Times in 822 Posts
Default

Quote:
Originally Posted by EarlyMon View Post
It's possible to use a tty buffer display model put together with ed and get something more primitive but I don't think it'll be easy.
We could substitute DOS's edlin for ed. When it comes to primitive, that would be a good start!
mikedt and saptech like this.
MoodyBlues is offline  
Reply With Quote
Old November 17th, 2013, 10:40 PM   #1685 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,784
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 927
Thanked 1,363 Times in 822 Posts
Default

One of Kubuntu and/or KDE's zillion configuration options is QtCurve's "GTK button order." It lets you decide which order you want "OK" and "Cancel" buttons to appear:



Pretty nifty. I like it.
MoodyBlues is offline  
Reply With Quote
Old November 18th, 2013, 06:56 AM   #1686 (permalink)
你好
 
mikedt's Avatar
 
Join Date: Sep 2010
Location: Xilinhot, China 中国锡林浩特
Posts: 8,662
 
Device(s): Samsung Galaxy Win Duos, Lenovo P700i
Carrier: China Mobile, China Unicom.

Thanks: 2,944
Thanked 2,499 Times in 1,792 Posts
Send a message via Skype™ to mikedt
Default

Quote:
Originally Posted by MoodyBlues View Post
We could substitute DOS's edlin for ed. When it comes to primitive, that would be a good start!
I know ed is standard in just about all *nix systems, since 1971 I believe. But would anyone actually still use it? - apart from absolute hard core types possibly.

To quote the Wiki...
Famous for its terseness, ed gives almost no visual feedback. For example, the message that ed will produce in case of error, or when it wants to make sure the user wishes to quit without saving, is "?". It does not report the current filename or line number, or even display the results of a change to the text, unless requested. This terseness was appropriate in the early versions of Unix, when consoles were teletypes, modems were slow, and memory was precious.

awesome stuff...
alostpacket and MoodyBlues like this.
mikedt is online now  
Last edited by mikedt; November 18th, 2013 at 07:05 AM.
Reply With Quote
Old November 18th, 2013, 01:47 PM   #1687 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,784
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 927
Thanked 1,363 Times in 822 Posts
Default

Quote:
Originally Posted by mikedt View Post
I know ed is standard in just about all *nix systems, since 1971 I believe. But would anyone actually still use it? - apart from absolute hard core types possibly.
My guess is that it's still there purely for historical integrity and, perhaps, backward compatibility. There may still be scripts hanging around that call it...although you have to wonder about a system that hasn't been touched in THAT long.

Quote:
To quote the Wiki...
Famous for its terseness, ed gives almost no visual feedback. For example, the message that ed will produce in case of error, or when it wants to make sure the user wishes to quit without saving, is "?". It does not report the current filename or line number, or even display the results of a change to the text, unless requested. This terseness was appropriate in the early versions of Unix, when consoles were teletypes, modems were slow, and memory was precious.

awesome stuff...
No kidding.
mikedt likes this.
MoodyBlues is offline  
Reply With Quote
Old November 18th, 2013, 03:03 PM   #1688 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 44,042
 
Device(s): LTEvo, 3vo, and Shift
Carrier: Sprint

Thanks: 41,701
Thanked 54,832 Times in 21,868 Posts
Default

Ummm... ed... sed... vi.

Want to see a lot of people really angry, really fast, remove the scaffolding so scripts everywhere die and create a new maintenance point for vi.
mikedt and MoodyBlues like this.
EarlyMon is offline  
Reply With Quote
Old November 19th, 2013, 01:52 AM   #1689 (permalink)
你好
 
mikedt's Avatar
 
Join Date: Sep 2010
Location: Xilinhot, China 中国锡林浩特
Posts: 8,662
 
Device(s): Samsung Galaxy Win Duos, Lenovo P700i
Carrier: China Mobile, China Unicom.

Thanks: 2,944
Thanked 2,499 Times in 1,792 Posts
Send a message via Skype™ to mikedt
Default

I never got into using vi or vim, never mind ed...LOL. But there's a couple of console text editors I'm very familiar with, joe and jstar. Basically because they use Wordstar Ctrl sequences, which is something I'm quite familiar with and still know from my college days.
MoodyBlues likes this.
mikedt is online now  
Reply With Quote
Old November 20th, 2013, 09:12 AM   #1690 (permalink)
Senior Member
 
Dngrsone's Avatar
 
Join Date: Jan 2013
Location: Centrally located far from everywhere
Gender: Male
Posts: 1,210
 
Device(s): Samsung Galaxy S II 'Epic 4G Touch' SPH-D710, Samsung Galaxy Tab 2 7.0
Carrier: Sprint

Thanks: 135
Thanked 259 Times in 210 Posts
Default

I hated vi and ed with a passion, but there were times when I had to use 'em; particularly when I was using Slackware.

Now, I use gedit; which suffices for much more than one would expect, and is a better replacement for Notepad and Wordpad which I use on the MS side of things.
saptech likes this.
Dngrsone is offline  
Last edited by Dngrsone; November 21st, 2013 at 10:44 PM.
Reply With Quote
sponsored links
Old November 21st, 2013, 08:47 PM   #1691 (permalink)
Senior Member
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: /home/
Posts: 4,858
 
Device(s): Galaxy S3 (Verizon) Evo 4G - retired/rooted
Carrier: Verizon

Thanks: 3,066
Thanked 1,762 Times in 1,189 Posts
Send a message via AIM to 9to5cynic
Default

I started to really get into vi/vim a few months back, ran through the vim-tutor a few times and was getting the hang of it... then I stopped using it and forgot half of it.

But, for a moment, I could do some kinda cool things easily.
MoodyBlues and saptech like this.
9to5cynic is offline  
Reply With Quote
Old November 21st, 2013, 09:28 PM   #1692 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,784
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 927
Thanked 1,363 Times in 822 Posts
Default

Quote:
Originally Posted by 9to5cynic View Post
I started to really get into vi/vim a few months back, ran through the vim-tutor a few times and was getting the hang of it... then I stopped using it and forgot half of it.

But, for a moment, I could do some kinda cool things easily.
That's the thing--it's really powerful. Oh, it definitely can seem daunting (and cryptic and any number of other things) and like the learning curve is ridiculous, but if you start with a few basics and get them down pat, and then add bit by bit to your repertoire, before you know it you're using vi like an old hand.
9to5cynic likes this.
MoodyBlues is offline  
Reply With Quote
Old November 21st, 2013, 09:46 PM   #1693 (permalink)
I ain't nobody!
 
saptech's Avatar
 
Join Date: Dec 2011
Location: Third Stone from the Sun
Posts: 3,545
 
Device(s): Motorola Moto G, Samsung Stratosphere, Galaxy Tab 2 SE.
Carrier: T-Mobile

Thanks: 572
Thanked 768 Times in 612 Posts
Default

Quote:
Originally Posted by Dngrsone View Post
I hated vi and ed with a passion, but there were time when I had to use 'em; particularly when I was using Slackware.
Using Slackware was my intro to Vi also. It was one of the few distros that I tried at the time that didn't come with nano by default. That's where I left it also.

For gui editor I like gedit and kwrite. For lightweight one I like leafpad.
MoodyBlues likes this.
saptech is offline  
Reply With Quote
Old November 21st, 2013, 09:56 PM   #1694 (permalink)
Senior Member
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: /home/
Posts: 4,858
 
Device(s): Galaxy S3 (Verizon) Evo 4G - retired/rooted
Carrier: Verizon

Thanks: 3,066
Thanked 1,762 Times in 1,189 Posts
Send a message via AIM to 9to5cynic
Default

Quote:
Originally Posted by MoodyBlues View Post
That's the thing--it's really powerful. Oh, it definitely can seem daunting (and cryptic and any number of other things) and like the learning curve is ridiculous, but if you start with a few basics and get them down pat, and then add bit by bit to your repertoire, before you know it you're using vi like an old hand.
Yeah, I really want to get back into it. I think I actually posted the coolest thing I learned in this thread a few months ago... it was using a macro to increment a number or alpha character. But it was weird, I had a success rate of about 80% with it.

And I used to have a pretty nice .vimrc file... syntax highlighting, line numbers, proper spacing and tabs for python, tons of cool stuff.
MoodyBlues likes this.
9to5cynic is offline  
Reply With Quote
Old November 21st, 2013, 11:33 PM   #1695 (permalink)
- Crazy peacock person -
Thread Author (OP)
 
MoodyBlues's Avatar
 
Join Date: Jan 2011
Location: echo $HOME; California
Posts: 2,784
 
Device(s): Kindle Fire HD 8.9" (rooted), Motorola Atrix 2, Motorola Atrix 4G (retired), Motorola Bravo (retired
Carrier: AT&T

Thanks: 927
Thanked 1,363 Times in 822 Posts
Default

Quote:
Originally Posted by saptech View Post
For gui editor I like gedit and kwrite.
+1 for kwrite. That's my editor of choice when doing GUI.
saptech likes this.
MoodyBlues is offline  
Reply With Quote
Old November 22nd, 2013, 07:07 AM   #1696 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 44,042
 
Device(s): LTEvo, 3vo, and Shift
Carrier: Sprint

Thanks: 41,701
Thanked 54,832 Times in 21,868 Posts
Default

My choice for a text gui -

http://www.libreoffice.org/

Lol
EarlyMon is offline  
Reply With Quote
Old November 22nd, 2013, 07:17 AM   #1697 (permalink)
Senior Member
 
Dngrsone's Avatar
 
Join Date: Jan 2013
Location: Centrally located far from everywhere
Gender: Male
Posts: 1,210
 
Device(s): Samsung Galaxy S II 'Epic 4G Touch' SPH-D710, Samsung Galaxy Tab 2 7.0
Carrier: Sprint

Thanks: 135
Thanked 259 Times in 210 Posts
Default

Quote:
Originally Posted by EarlyMon View Post
My choice for a text gui -

LibreOffice 4.1 is here!

Lol
I use that, too, but it is too large and unwieldy (and takes too long to load) for fixing small files.
Dngrsone is offline  
Reply With Quote
Old November 22nd, 2013, 07:21 AM   #1698 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 44,042
 
Device(s): LTEvo, 3vo, and Shift
Carrier: Sprint

Thanks: 41,701
Thanked 54,832 Times in 21,868 Posts
Default

Quote:
Originally Posted by Dngrsone View Post
I use that, too, but it is too large and unwieldy (and takes too long to load) for fixing small files.
Agree, I just felt like plugging it.
Dngrsone likes this.
EarlyMon is offline  
Reply With Quote
Old November 22nd, 2013, 09:48 AM   #1699 (permalink)
Senior Member
 
Dngrsone's Avatar
 
Join Date: Jan 2013
Location: Centrally located far from everywhere
Gender: Male
Posts: 1,210
 
Device(s): Samsung Galaxy S II 'Epic 4G Touch' SPH-D710, Samsung Galaxy Tab 2 7.0
Carrier: Sprint

Thanks: 135
Thanked 259 Times in 210 Posts
Default

Quote:
Originally Posted by EarlyMon View Post
Agree, I just felt like plugging it.
Fanboy
EarlyMon likes this.
Dngrsone is offline  
Reply With Quote
Old November 24th, 2013, 07:48 PM   #1700 (permalink)
Senior Member
 
Dngrsone's Avatar
 
Join Date: Jan 2013
Location: Centrally located far from everywhere
Gender: Male
Posts: 1,210
 
Device(s): Samsung Galaxy S II 'Epic 4G Touch' SPH-D710, Samsung Galaxy Tab 2 7.0
Carrier: Sprint

Thanks: 135
Thanked 259 Times in 210 Posts
Default

Okay, I am running Mint 15 Cinnamon, with KDE-full installed over it. Using Plasma desktop.

On one of these desktops, I have a launcher which has been there for a couple months. I tried changing the icon for it, and I am not allowed to change the icon from the desktop, nor from Dolphin.

I edited the .desktop file to point to the correct icon (a valid .png file), and from nemo, the icon is correct.

But the desktop icon is still the original.

I have another icon problem where I have no icon at all showing, even though the .desktop file clearly points to a valid icon.

So, any idea where Plasma is hiding these settings?
Dngrsone is offline  
Reply With Quote
Reply
Tags
bash, bash script, bash shell, linux, linux questions, linux scripting


Go Back   Android Forums > Android Community > The Lounge > Computers & IT
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:55 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.