You are not logged in.

#1 2015-09-25 23:19:41

itscience
Member
From: UK Lancashire
Registered: 2015-05-10
Posts: 32

dmenfm configuration won't take. advice?

Hi there :-)

I would like to configure this package for use with my i3wm and I can do so to a degree.
The program has two files that I can edit:

/usr/bin/dmenfm
/usr/bin/autoprogramselect

Any changes I make to 'autoprogramselect' take immediately. This makes it so I can choose what applications open images, video, etc..
The 'dmenfm' file changes nothing. Here is is the section I wanted to change:

function defaults {
    show_hidden=0
    show_backup=0
    always_open_files=0
    always_open_dirs=0
    open_last=1
    dmenu_caseinsens=1
    dmenu_onbottom=1
    dmenu_bg='#000000'
    dmenu_fg='#9999CC'
    dmenu_sbg='#000066'
    dmenu_sfg='#FFFFFF'
    executor='autoprogramselect'
    editor='xterm -e vim'
    filemanager='xterm -d'
}

As a test I changed 'show_hidden' to a '1' but nothing happened, not even after a reboot.
If anyone has any idea what is happening, that would be awesome.

Thanks for reading and I am looking forward to finding an answer :-)

Offline

#2 2015-09-25 23:44:45

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: dmenfm configuration won't take. advice?

You're editing the built-in defaults. Edit the config file instead. Or reset to defaults after modifying those, but if you start editing the script, you might as well remove anything related to the config file and hardcode the settings.

Offline

#3 2015-09-27 12:34:48

itscience
Member
From: UK Lancashire
Registered: 2015-05-10
Posts: 32

Re: dmenfm configuration won't take. advice?

As far as I can tell, there are only 3 files to choose from:

$pacaur -Qlq dmenfm
/usr/
/usr/bin/
/usr/bin/autoprogramselect
/usr/bin/dmenfm
/usr/share/
/usr/share/dmenfm/
/usr/share/dmenfm/plugins/
/usr/share/dmenfm/plugins/browser/
/usr/share/dmenfm/plugins/browser/RecursiveSearch

The 'autoprogramselect' file is editable but that's for selecting programs for files.
I even tried $makepkg -s and edited the file before building but still same affect.

There is no documentation man or -h and I don't know how to find the configuration file.
Sorry about this, I'm just new and still learning.

Thanks for your response.

Offline

#4 2015-09-27 12:55:04

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: dmenfm configuration won't take. advice?

Offline

Board footer

Powered by FluxBB