Removed sunflower config

This commit is contained in:
dbroqua 2020-06-19 08:04:58 +02:00
parent 8a53dda5a1
commit c5f81634eb
20 changed files with 0 additions and 622 deletions

View file

@ -1,186 +0,0 @@
{
"item_list": {
"add_bookmark": "<Primary>d",
"add_bookmark_2": "",
"back_in_history": "<Alt>Left",
"back_in_history_2": "",
"bookmark_1": "<Alt>1",
"bookmark_10": "<Alt>0",
"bookmark_10_2": "",
"bookmark_1_2": "",
"bookmark_2": "<Alt>2",
"bookmark_2_2": "",
"bookmark_3": "<Alt>3",
"bookmark_3_2": "",
"bookmark_4": "<Alt>4",
"bookmark_4_2": "",
"bookmark_5": "<Alt>5",
"bookmark_5_2": "",
"bookmark_6": "<Alt>6",
"bookmark_6_2": "",
"bookmark_7": "<Alt>7",
"bookmark_7_2": "",
"bookmark_8": "<Alt>8",
"bookmark_8_2": "",
"bookmark_9": "<Alt>9",
"bookmark_9_2": "",
"bookmark_home": "<Alt>grave",
"bookmark_home_2": "",
"calculate_disk_usage": "space",
"calculate_disk_usage_2": "",
"collapse_directory": "Left",
"collapse_directory_2": "",
"copy_files": "F5",
"copy_files_2": "",
"copy_path_to_clipboard": "<Primary><Shift>l",
"copy_path_to_clipboard_2": "",
"copy_path_to_command_entry": "<Primary><Shift>Return",
"copy_path_to_command_entry_2": "<Primary><Shift>KP_Enter",
"copy_selected_item_name_to_clipboard": "<Primary><Shift>f",
"copy_selected_item_name_to_clipboard_2": "",
"copy_selected_path_to_clipboard": "<Primary><Shift>c",
"copy_selected_path_to_clipboard_2": "",
"copy_selection_to_command_entry": "<Primary>Return",
"copy_selection_to_command_entry_2": "<Primary>KP_Enter",
"copy_to_clipboard": "<Primary>c",
"copy_to_clipboard_2": "",
"create_link": "<Shift>F7",
"create_link_2": "",
"create_terminal": "<Primary>z",
"create_terminal_2": "",
"custom_path_entry": "<Primary>l",
"custom_path_entry_2": "",
"cut_to_clipboard": "<Primary>x",
"cut_to_clipboard_2": "",
"delete_files": "Delete",
"delete_files_2": "F8",
"deselect_all": "<Primary><Shift>a",
"deselect_all_2": "",
"edit_bookmarks": "<Primary>b",
"edit_bookmarks_2": "",
"edit_selected": "F4",
"edit_selected_2": "",
"execute_item": "Return",
"execute_item_2": "KP_Enter",
"execute_with_application": "",
"execute_with_application_2": "",
"expand_directory": "Right",
"expand_directory_2": "",
"force_delete_files": "<Shift>Delete",
"force_delete_files_2": "",
"forward_in_history": "<Alt>Right",
"forward_in_history_2": "",
"inherit_left_path": "<Primary>Right",
"inherit_left_path_2": "",
"inherit_right_path": "<Primary>Left",
"inherit_right_path_2": "",
"invert_selection": "<Shift>asterisk",
"invert_selection_2": "KP_Multiply",
"item_properties": "<Alt>Return",
"item_properties_2": "<Alt>KP_Enter",
"move_files": "F6",
"move_files_2": "",
"move_marker_down": "",
"move_marker_down_2": "",
"move_marker_up": "",
"move_marker_up_2": "",
"open_directory": "",
"open_directory_2": "",
"open_in_new_tab": "<Primary><Shift>t",
"open_in_new_tab_2": "",
"parent_directory": "BackSpace",
"parent_directory_2": "",
"paste_from_clipboard": "<Primary>v",
"paste_from_clipboard_2": "",
"refresh_list": "<Primary>r",
"refresh_list_2": "",
"rename_file": "F2",
"rename_file_2": "<Shift>F6",
"root_directory": "<Primary>backslash",
"root_directory_2": "",
"select_all": "<Primary>a",
"select_all_2": "",
"show_bookmarks": "",
"show_bookmarks_2": "",
"show_emblem_menu": "<Primary>e",
"show_emblem_menu_2": "",
"show_history": "<Primary>BackSpace",
"show_history_2": "",
"show_left_bookmarks": "<Primary>F1",
"show_left_bookmarks_2": "",
"show_open_with_menu": "<Primary>Menu",
"show_open_with_menu_2": "",
"show_popup_menu": "Menu",
"show_popup_menu_2": "<Shift>F10",
"show_right_bookmarks": "<Primary>F2",
"show_right_bookmarks_2": "",
"show_tab_menu": "<Primary>grave",
"show_tab_menu_2": "",
"start_quick_search": "<Primary>f",
"start_quick_search_2": "",
"swap_paths": "<Primary>u",
"swap_paths_2": "",
"toggle_selection": "Insert",
"toggle_selection_2": "<Shift>Down",
"toggle_selection_up": "<Shift>Up",
"toggle_selection_up_2": "",
"view_selected": "F3",
"view_selected_2": ""
},
"main_menu": {
"advanced_rename": "<Primary>m",
"advanced_rename_2": "",
"compare_directories": "F12",
"compare_directories_2": "",
"create_directory": "F7",
"create_directory_2": "",
"create_file": "<Primary>F7",
"create_file_2": "",
"deselect_with_pattern": "KP_Subtract",
"deselect_with_pattern_2": "minus",
"deselect_with_same_extension": "<Alt>KP_Subtract",
"deselect_with_same_extension_2": "<Alt>minus",
"fast_media_preview": "<Alt>F3",
"fast_media_preview_2": "",
"find_files": "<Alt>F7",
"find_files_2": "",
"move_handle_left": "<Alt>Page_Up",
"move_handle_left_2": "",
"move_handle_right": "<Alt>Page_Down",
"move_handle_right_2": "",
"preferences": "<Primary><Alt>p",
"preferences_2": "",
"quit_program": "",
"quit_program_2": "",
"reload": "<Primary>r",
"reload_2": "",
"restore_handle_position": "<Alt>Home",
"restore_handle_position_2": "",
"select_with_pattern": "KP_Add",
"select_with_pattern_2": "equal",
"select_with_same_extension": "<Alt>KP_Add",
"select_with_same_extension_2": "<Alt>equal",
"show_hidden_files": "<Primary>h",
"show_hidden_files_2": ""
},
"plugin_base": {
"close_tab": "<Primary>w",
"close_tab_2": "",
"duplicate_tab": "<Primary>t",
"duplicate_tab_2": "",
"focus_left_object": "<Alt>Left",
"focus_left_object_2": "",
"focus_opposite_object": "Tab",
"focus_opposite_object_2": "",
"focus_right_object": "<Alt>Right",
"focus_right_object_2": "",
"next_tab": "<Primary>Tab",
"next_tab_2": "",
"previous_tab": "<Primary><Shift>Tab",
"previous_tab_2": ""
},
"sessions": {
"show_list": "<Primary><Alt>s",
"show_list_2": ""
}
}

View file

@ -1 +0,0 @@
{}

View file

@ -1,6 +0,0 @@
{
"add_home": true,
"bookmarks": [],
"show_mounts": true,
"system_bookmarks": false
}

View file

@ -1,3 +0,0 @@
{
"commands": []
}

View file

@ -1,97 +0,0 @@
{
"active_notebook": 0,
"always_show_tabs": true,
"confirmations": {
"delete_items": true
},
"create_dialog": {
"directory_mode": 493,
"edit_file": false,
"file_mode": 420
},
"dark_theme": true,
"editor": {
"application": "DataGrip",
"default_editor": "/opt/DataGrip-2018.2.2/bin/datagrip.sh",
"external_command": "/opt/DataGrip-2018.2.2/bin/datagrip.sh",
"terminal_command": false,
"type": 0
},
"expand_tabs": 0,
"focus_new_tab": true,
"history_file": ".bash_history",
"horizontal_split": false,
"item_list": {
"always_visible": [],
"case_sensitive_sort": true,
"force_directories": false,
"grid_lines": 0,
"headers_visible": true,
"left_directories": [],
"mode_format": 1,
"number_sensitive_sort": false,
"right_click_select": false,
"right_directories": [],
"row_hinting": false,
"search_modifier": "000",
"second_extension": false,
"selection_color": "#ffff5e5e0000",
"selection_indicator": "\u2731",
"show_expanders": false,
"show_hidden": false,
"single_click_navigation": true,
"time_format": "%H:%M %d-%m-%y"
},
"last_version": 0,
"media_preview": false,
"multiple_instances": false,
"network_path_completion": true,
"operations": {
"automount_insert": false,
"automount_start": false,
"follow_symlink": false,
"merge_in_silent": true,
"overwrite_in_silent": true,
"reserve_size": false,
"set_mode": true,
"set_owner": false,
"set_timestamp": true,
"silent": false,
"trash_files": true
},
"plugins": [
"system_terminal",
"sessions",
"rename_extensions",
"owner_column",
"gvim_viewer",
"find_file_extensions",
"file_list",
"default_toolbar",
"archive_support",
"image-manipulation",
"archiver"
],
"show_command_bar": true,
"show_notifications": true,
"show_status_bar": 0,
"show_titlebar": true,
"show_toolbar": true,
"size_format": 1,
"superuser_notification": true,
"tab_close_button": true,
"terminal": {
"allow_bold": true,
"command": "xterm -into {0}",
"command2": "xterm -into {0} -e \"{1}\"",
"cursor_shape": 0,
"font": "Monospace 12",
"mouse_autohide": false,
"show_scrollbars": true,
"type": 0,
"use_system_font": true
},
"viewer": {
"word_wrap": false
}
}

View file

@ -1 +0,0 @@
{}

View file

@ -1,16 +0,0 @@
{
"FileList": {
"columns": [
"name",
"extension",
"size",
"mode",
"date"
],
"size_date": 817,
"size_extension": 50,
"size_mode": 50,
"size_name": 286,
"size_size": 70
}
}

View file

@ -1,35 +0,0 @@
{
"left": {
"active_tab": 0,
"tabs": [
{
"class": "FileList",
"lock": null,
"path": "/home/dbroqua/Nextcloud/Photos/2020/06",
"sort_ascending": true,
"sort_column": 0
}
]
},
"right": {
"active_tab": 0,
"tabs": [
{
"class": "FileList",
"lock": null,
"path": "/home/dbroqua/Nextcloud/Photos/Mes voitures/White Spirit/Essence",
"sort_ascending": true,
"sort_column": 0
}
]
},
"sessions": {
"current": 0,
"list": [
{
"locked": false,
"name": "Default"
}
]
}
}

View file

@ -1,5 +0,0 @@
{
"icon_size": 1,
"items": [],
"style": 3
}

View file

@ -1,14 +0,0 @@
[Name]
en=Archiver
[Description]
en=This plugin provides tools for create and extract archives
[Version]
number=0.1
[Author]
name=Arseniy Krasnov
contact=arseniy@krasnoff.org
site=

View file

@ -1,97 +0,0 @@
import os
import gtk
import zipfile,tarfile
class Archiver():
def __init__(self, main_window) :
self.main_window = main_window
self.archive_mimes = ('application/zip', 'application/x-tar', 'application/x-compressed-tar')
self.menu_mimes = ('application/octet-stream', 'inode/directory', 'text/directory', 'folder')
self.extract_menu_item = (
{
'label': 'Extract',
'data': False,
'callback': self.extract,
},
{
'label': 'Extract in folder',
'data': True,
'callback': self.extract,
},
)
self.extract_menu = gtk.Menu()
for item in self.extract_menu_item:
self.extract_menu.append(self.main_window.menu_manager.create_menu_item(item))
self.create_menu_item = (
{
'label': 'Make archive',
'callback': self.make_archive,
},
)
self.create_menu = gtk.Menu()
for item in self.create_menu_item:
self.create_menu.append(self.main_window.menu_manager.create_menu_item(item))
self.archiver_menu = self.main_window.menu_manager.create_menu_item(
{
'label': 'Archiver',
'submenu': ''
}
)
self.archiver_menu.connect("activate", self.expand_menu)
def expand_menu(self, data):
self.archiver_menu.set_submenu(self.create_menu)
filename = self.get_selection()
try:
if zipfile.is_zipfile(filename) or tarfile.is_tarfile(filename):
self.archiver_menu.set_submenu(self.extract_menu)
except IOError as e:
if e.errno == 21:
pass
def get_selection(self):
selections = self.main_window.get_active_object()._get_selection()
return selections
def extract(self, widget, in_folder):
filepath = self.get_selection()
path = os.path.dirname(filepath)
if in_folder :
path = os.path.splitext(filepath)[0]
try:
if zipfile.is_zipfile(filepath):
archive = zipfile.ZipFile(filepath)
elif tarfile.is_tarfile(filepath):
archive = tarfile.open(filepath)
archive.extractall(path)
archive.close()
except Exception, e :
print e
def make_archive(self, widget, data):
filepath = self.get_selection()
zfile = filepath.rstrip('/') + '.zip'
filepath = filepath.rstrip('/')
zf = zipfile.ZipFile(zfile, mode='w')
if os.path.isfile(filepath):
zf.write(filepath, filepath[len(os.path.dirname(filepath)):].strip('/'), compress_type=zipfile.ZIP_DEFLATED)
else:
for root, dirs, files in os.walk(filepath):
for name in files:
file_to_zip = os.path.join(root, name)
arcname = file_to_zip[len(os.path.dirname(filepath)):].strip('/')
zf.write(file_to_zip, arcname, compress_type=zipfile.ZIP_DEFLATED)
def register_plugin(application):
archiver = Archiver(application)
application.register_popup_menu_action(archiver.menu_mimes, archiver.archiver_menu)

View file

@ -1,14 +0,0 @@
[Name]
en=Image manipulation
[Description]
en=
[Version]
number=0.1
[Author]
name=Arseniy Krasnov
contact=arseniy@krasnoff.org
site=

View file

@ -1,135 +0,0 @@
import os
import Image
class ImageManipulation():
def __init__(self, main_window) :
self.main_window = main_window
self.mimes = ('image/png', 'image/jpeg', 'image/gif','image/bmp','image/tiff', )
self.items = (
{
'label': 'Image manipulation',
'submenu':
(
{
'label':'Resize 25%',
'data': 25,
'callback': self.resize,
},
{
'label':'Resize 50%',
'data': 50,
'callback': self.resize,
},
{
'label':'Resize 75%',
'data': 75,
'callback': self.resize,
},
{
'type': 'separator',
},
{
'label': 'Rotate 90',
'data': Image.ROTATE_90,
'callback': self.transpose,
},
{
'label': 'Rotate 180',
'data': Image.ROTATE_180,
'callback': self.transpose,
},
{
'label': 'Rotate 270',
'data': Image.ROTATE_270,
'callback': self.transpose,
},
{
'label': 'Flip left to rigth',
'data': Image.FLIP_LEFT_RIGHT,
'callback': self.transpose,
},
{
'label': 'Flip top to bottom',
'data': Image.FLIP_TOP_BOTTOM,
'callback': self.transpose,
},
{
'type': 'separator',
},
{
'label': 'Convert',
'submenu':
(
{
'label': 'PNG',
'data': 'png',
'callback': self.convert,
},
{
'label': 'JPEG',
'data': 'JPEG',
'callback': self.convert,
},
{
'label': 'BMP',
'data': 'bmp',
'callback': self.convert,
},
{
'label': 'TIFF',
'data': 'tiff',
'callback': self.convert,
},
{
'label': 'GIF',
'data': 'gif',
'callback': self.convert,
},
)
}
)
},
)
def get_selection_mimes(self):
selections = self.main_window.get_active_object()._get_selection_list()
is_subset = lambda x:self.main_window.associations_manager.get_mime_type(x) in self.mimes
result = filter(is_subset, selections)
return result
def resize(self, widget, percent):
for image in self.get_selection_mimes():
try:
im = Image.open(image)
w,h = im.size
im.resize(((percent*w)/100,(percent*h)/100), Image.ANTIALIAS).save(image)
except IOError:
print "cannot resize", image
def transpose(self, widget, method):
for image in self.get_selection_mimes():
try:
im = Image.open(image)
im.transpose(method).save(image)
except IOError:
print "cannot rotate", image
def convert(self, widget, format):
for image in self.get_selection_mimes():
try:
im = Image.open(image)
file_name = '{0}.{1}'.format(os.path.splitext(image)[0], format)
im.save(file_name, format=format)
except IOError:
print "cannot convert", image
def register_plugin(application):
im = ImageManipulation(application)
for item in im.items:
application.register_popup_menu_action(im.mimes, application.menu_manager.create_menu_item(item))

View file

@ -1,11 +0,0 @@
{
"main": {
"geometry": [
2546,
977
],
"handle_position": 1273,
"hide_on_close": false,
"state": 0
}
}