Notices


Reply
Thread Tools
trx's Avatar
Posts: 80 | Thanked: 237 times | Joined on Dec 2010 @ Serbia
#41
TxPad can receive parameters, so to open a file use for example :
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.
 

The Following User Says Thank You to trx For This Useful Post:
Posts: 212 | Thanked: 189 times | Joined on Oct 2010
#42
Originally Posted by electroaudio View Post
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.
 
Posts: 212 | Thanked: 189 times | Joined on Oct 2010
#43
Updated first page
 
Posts: 212 | Thanked: 189 times | Joined on Oct 2010
#44
Originally Posted by electroaudio View Post
... config-mode ...
btw I think it was the CSSU where you can disable dektop config mode.
 
electroaudio's Avatar
Posts: 381 | Thanked: 336 times | Joined on Jan 2011 @ Stockholm, Sweden
#45
Originally Posted by sethkha View Post
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
 

The Following User Says Thank You to electroaudio For This Useful Post:
Posts: 212 | Thanked: 189 times | Joined on Oct 2010
#46
Originally Posted by electroaudio View Post
... 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's Avatar
Posts: 381 | Thanked: 336 times | Joined on Jan 2011 @ Stockholm, Sweden
#47
Originally Posted by sethkha View Post
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

Last edited by electroaudio; 2011-08-08 at 21:55.
 

The Following 2 Users Say Thank You to electroaudio For This Useful Post:
Posts: 212 | Thanked: 189 times | Joined on Oct 2010
#48
Originally Posted by electroaudio View Post
... 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's Avatar
Posts: 381 | Thanked: 336 times | Joined on Jan 2011 @ Stockholm, Sweden
#49
Any progress?
 

The Following User Says Thank You to electroaudio For This Useful Post:
Posts: 212 | Thanked: 189 times | Joined on Oct 2010
#50
Originally Posted by electroaudio View Post
Any progress?
I'll update the next days
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:40.