maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Deskypplet (https://talk.maemo.org/showthread.php?t=75219)

trx 2011-08-06 12:32

Re: [wip] folder explorer widget
 
TxPad can receive parameters, so to open a file use for example :
Quote:

txpad /home/user/MyDocs/myfile
You can also pass multiple parameters and open multiple files at once...

But i am not sure how to "register" certain file types to be opened with my editor by default, i never looked into that..

TRX.

sethkha 2011-08-06 14:32

Re: [wip] folder explorer widget
 
Quote:

Originally Posted by electroaudio (Post 1064894)
hmm, for me it seems like everything is as usual (every file is opened with its program as expected) so how do you do it now?

This is true for some standard filetypes. I use hildon_mime_open_file.
It does not open .sh .py .conf or unknown files for example.

I'll ad an open with TXPad for all filetypes except .txt as standard.

sethkha 2011-08-06 21:34

Re: [wip] folder explorer widget
 
Updated first page

sethkha 2011-08-06 22:18

Re: [wip] folder explorer widget
 
Quote:

Originally Posted by electroaudio (Post 1064514)
... config-mode ...

btw I think it was the CSSU where you can disable dektop config mode.

electroaudio 2011-08-07 00:11

Re: [wip] folder explorer widget
 
Quote:

Originally Posted by sethkha (Post 1065154)
This is true for some standard filetypes. I use hildon_mime_open_file.
It does not open .sh .py .conf or unknown files for example.

I'll ad an open with TXPad for all filetypes except .txt as standard.

Py opens fine for me, but the other are probably not defined in my setup either... But thats the right way to do it, so if they dont open then they will need to be configured elsewhere. Thats what for example dbus-switchboard is made for ;)

sethkha 2011-08-07 08:25

Re: [wip] folder explorer widget
 
Quote:

Originally Posted by electroaudio (Post 1065334)
... Thats what for example dbus-switchboard is made for...

lol, this sounded so much like a complicated system trigger something, that I didn't even search for it. But right, dbus-switchboard solves the problem.

electroaudio 2011-08-08 10:09

Re: [wip] folder explorer widget
 
Quote:

Originally Posted by sethkha (Post 1065154)
I'll ad an open with TXPad for all filetypes except .txt as standard.

Just an idea since you have already done a part of it ;)
But if you added a list of userconfigurable mimetypes to the configfile, that when found there would open a menu where the user could select either to open with the standardprogram or with a texteditor.
Then for example shellscripts and other files, that are both executed and edited by the user, could be both executed and edited in a simple way.

I do have an another idea too that would greatly expand the functionality without so much work, and that is to add a possibility to "open terminalwindow here" , that would open the terminal in the current directory.

But this is just ideas so do what you want with them ;)

Ps, thanks for the homebutton, it made a great difference :)

sethkha 2011-08-09 21:07

Re: [wip] folder explorer widget
 
Quote:

Originally Posted by electroaudio (Post 1065939)
... shellscripts ... executed and edited...
..."open terminalwindow here" ...

... in the cue

The behavior of the widget is different when dbus-switchboard is installed, TXPad is not called anymore.

electroaudio 2011-08-12 11:36

Re: [wip] folder explorer widget
 
Any progress? ;)

sethkha 2011-08-12 17:39

Re: [wip] folder explorer widget
 
Quote:

Originally Posted by electroaudio (Post 1068403)
Any progress? ;)

I'll update the next days


All times are GMT. The time now is 01:47.

vBulletin® Version 3.8.8