Reply
Thread Tools
Posts: 551 | Thanked: 46 times | Joined on Oct 2007
#21
bdogg64,

New to command line.
in vlc mode in xterminal what do you type in before: /user/share/applications/folder to edit the vlc.desktop file to change the line that says Exec=vlc %U to Exec=vlc. lol Dan
p.s. I also get this command line when I enter vlc mode.
VLC media player 0.8.6d Janus
[00000256] main interface: creating VLM
vlc[1328] : GLIB CRITICAL ** default - gtk_pizza_set_size
: assertion 'pizza != NULL' failed

Any help would greatly be appreciated.
 
Posts: 163 | Thanked: 175 times | Joined on Dec 2007 @ Alabama
#22
Originally Posted by dan View Post
bdogg64,

New to command line.
in vlc mode in xterminal what do you type in before: /user/share/applications/folder to edit the vlc.desktop file to change the line that says Exec=vlc %U to Exec=vlc. lol Dan
p.s. I also get this command line when I enter vlc mode.
VLC media player 0.8.6d Janus
[00000256] main interface: creating VLM
vlc[1328] : GLIB CRITICAL ** default - gtk_pizza_set_size
: assertion 'pizza != NULL' failed

Any help would greatly be appreciated.
If you have nano installed, you can type
Code:
nano /usr/share/applications/vlc.desktop
After you edit the file. Press CTRL+O to save and CTRL+X to exit

If you use vi type
Code:
vi /usr/share/applications/vlc.desktop
After you edit the file.
Type
Code:
:wq!
to save and exit

I don't know why that message is displaying, so I'll have to look into it more, but you should be able to run VLC from the launcher under Extras
 
Posts: 551 | Thanked: 46 times | Joined on Oct 2007
#23
bdogg64,

I loaded nano typed in: nano /usr/share/applications/vlc.desktop
can see Exec-vlc %U.
Now how do I edit it to remove '%U' ?
Like I said I'm new to command line editing. Any help would be greatly appreciated. lol Dan
 
Posts: 163 | Thanked: 175 times | Joined on Dec 2007 @ Alabama
#24
Originally Posted by dan View Post
bdogg64,

I loaded nano typed in: nano /usr/share/applications/vlc.desktop
can see Exec-vlc %U.
Now how do I edit it to remove '%U' ?
Like I said I'm new to command line editing. Any help would be greatly appreciated. lol Dan
No problem.

Just go down to that line and backspace out the %U and save

After that, go back to the command line and type

Code:
cd /usr/share/applications
then

Code:
mv vlc.desktop hildon
That will move the vlc icon into the hildon directory
 
Posts: 551 | Thanked: 46 times | Joined on Oct 2007
#25
bdogg64,

I've tried backspace and it just sends the pointer to another line way above the Exec=%U. Strange huh? O now can get curser to highlight 'E" in 'Exec=vlc %U'. It highlights the 'E' in 'Exec=vlc %U' but when I place the curser behind 'U' or any other letter for that matter the highlighted'E' in 'Exec=%U' is the letter that moves
Am I doing something wrong or did I miss a step?
Appreciate your help and patience. lol
Dan

Last edited by dan; 2007-12-31 at 20:01. Reason: additional info
 
Posts: 465 | Thanked: 149 times | Joined on Oct 2007
#26
Originally Posted by dan View Post
bdogg64,

I've tried backspace and it just sends the pointer to another line way above the Exec=%U.
Did you use the D-Pad to put the cursor just to the right of the %U ?
 
Posts: 551 | Thanked: 46 times | Joined on Oct 2007
#27
dblank,

What is D-Pad? lol
Too funny.
I will be quite familiar with x-terminal by end of this edit.
Thanks for everyone's help. Hope others can learn from my experience. lol, Dan

P.S. Found D-Pad( for newbies like me it's the big button to left of screen on N800)!
Will now try to finish the changes that bdogg64 suggested. lol, Dan

Last edited by dan; 2007-12-31 at 20:12. Reason: discovery
 
Posts: 163 | Thanked: 175 times | Joined on Dec 2007 @ Alabama
#28
Originally Posted by dan View Post
bdogg64,

I've tried backspace and it just sends the pointer to another line way above the Exec=%U. Strange huh?
Am I doing something wrong or did I miss a step?
Appreciate your help and patience. lol
Dan
Np. I think was telling you what to do assuming you were using ssh and a regular keyboard. My bad!

Try this

Code:
cd /usr/share/applications
then

Code:
sed 's/\%U//' vlc.desktop > vlc1.desktop
then to make sure its there

Code:
nano vlc1.desktop
then

Code:
rm vlc.desktop
then

Code:
mv vlc1.desktop vlc.desktop
then

Code:
mv vlc.desktop hildon
 
Posts: 465 | Thanked: 149 times | Joined on Oct 2007
#29
Originally Posted by dan View Post
dblank,

What is D-Pad? lol
Sorry, Directional Pad
 
Posts: 551 | Thanked: 46 times | Joined on Oct 2007
#30
bdogg64,

I would really like to continue with original way. I found D-Pad now I need to find Crtl button so I can Ctrl+O to save and then Crtl+X to exit. lol, Dan
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:19.