Remmina - The GTK+ Remote Desktop Client  v1.4.2
Remmina is a remote desktop client written in GTK+, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large monitors or tiny netbooks. Remmina supports multiple network protocols in an integrated and consistent user interface. Currently RDP, VNC, NX, XDMCP and SSH are supported.
remmina_pref.c File Reference

Go to the source code of this file.

Functions

static void remmina_pref_gen_secret (void)
 
static guint remmina_pref_get_keyval_from_str (const gchar *str)
 
static void remmina_pref_init_keymap (void)
 
static gboolean remmina_pref_file_do_copy (const char *src_path, const char *dst_path)
 
void remmina_pref_file_load_colors (GKeyFile *gkeyfile, RemminaColorPref *color_pref)
 
void remmina_pref_init (void)
 
gboolean remmina_pref_is_rw (void)
 
gboolean remmina_pref_save (void)
 
void remmina_pref_add_recent (const gchar *protocol, const gchar *server)
 
gchar * remmina_pref_get_recent (const gchar *protocol)
 
void remmina_pref_clear_recent (void)
 
guint remmina_pref_keymap_get_keyval (const gchar *keymap, guint keyval)
 
gchar ** remmina_pref_keymap_groups (void)
 
gint remmina_pref_get_scale_quality (void)
 
gint remmina_pref_get_ssh_loglevel (void)
 
gboolean remmina_pref_get_ssh_parseconfig (void)
 
gint remmina_pref_get_sshtunnel_port (void)
 
gint remmina_pref_get_ssh_tcp_keepidle (void)
 
gint remmina_pref_get_ssh_tcp_keepintvl (void)
 
gint remmina_pref_get_ssh_tcp_keepcnt (void)
 
gint remmina_pref_get_ssh_tcp_usrtimeout (void)
 
void remmina_pref_set_value (const gchar *key, const gchar *value)
 
gchar * remmina_pref_get_value (const gchar *key)
 
gboolean remmina_pref_get_boolean (const gchar *key)
 

Variables

const gchar * default_resolutions = "640x480,800x600,1024x768,1152x864,1280x960,1400x1050"
 
const gchar * default_keystrokes = "Send hello world§hello world\\n"
 
gchar * remmina_keymap_file
 
static GHashTable * remmina_keymap_table = NULL
 
static const gchar * default_keymap_data
 

Function Documentation

◆ remmina_pref_add_recent()

void remmina_pref_add_recent ( const gchar *  protocol,
const gchar *  server 
)

Definition at line 842 of file remmina_pref.c.

◆ remmina_pref_clear_recent()

void remmina_pref_clear_recent ( void  )

Definition at line 902 of file remmina_pref.c.

◆ remmina_pref_file_do_copy()

static gboolean remmina_pref_file_do_copy ( const char *  src_path,
const char *  dst_path 
)
static
Todo:
remmina_pref_file_do_copy and remmina_file_manager_do_copy to remmina_files_copy

Definition at line 171 of file remmina_pref.c.

◆ remmina_pref_file_load_colors()

void remmina_pref_file_load_colors ( GKeyFile *  gkeyfile,
RemminaColorPref color_pref 
)

Definition at line 183 of file remmina_pref.c.

◆ remmina_pref_gen_secret()

static void remmina_pref_gen_secret ( void  )
static

Definition at line 71 of file remmina_pref.c.

◆ remmina_pref_get_boolean()

gboolean remmina_pref_get_boolean ( const gchar *  key)

Definition at line 1057 of file remmina_pref.c.

◆ remmina_pref_get_keyval_from_str()

static guint remmina_pref_get_keyval_from_str ( const gchar *  str)
static

Definition at line 99 of file remmina_pref.c.

◆ remmina_pref_get_recent()

gchar* remmina_pref_get_recent ( const gchar *  protocol)

Definition at line 883 of file remmina_pref.c.

◆ remmina_pref_get_scale_quality()

gint remmina_pref_get_scale_quality ( void  )

Definition at line 974 of file remmina_pref.c.

◆ remmina_pref_get_ssh_loglevel()

gint remmina_pref_get_ssh_loglevel ( void  )

Definition at line 984 of file remmina_pref.c.

◆ remmina_pref_get_ssh_parseconfig()

gboolean remmina_pref_get_ssh_parseconfig ( void  )

Definition at line 990 of file remmina_pref.c.

◆ remmina_pref_get_ssh_tcp_keepcnt()

gint remmina_pref_get_ssh_tcp_keepcnt ( void  )

Definition at line 1014 of file remmina_pref.c.

◆ remmina_pref_get_ssh_tcp_keepidle()

gint remmina_pref_get_ssh_tcp_keepidle ( void  )

Definition at line 1002 of file remmina_pref.c.

◆ remmina_pref_get_ssh_tcp_keepintvl()

gint remmina_pref_get_ssh_tcp_keepintvl ( void  )

Definition at line 1008 of file remmina_pref.c.

◆ remmina_pref_get_ssh_tcp_usrtimeout()

gint remmina_pref_get_ssh_tcp_usrtimeout ( void  )

Definition at line 1020 of file remmina_pref.c.

◆ remmina_pref_get_sshtunnel_port()

gint remmina_pref_get_sshtunnel_port ( void  )

Definition at line 996 of file remmina_pref.c.

◆ remmina_pref_get_value()

gchar* remmina_pref_get_value ( const gchar *  key)

Definition at line 1043 of file remmina_pref.c.

◆ remmina_pref_init()

void remmina_pref_init ( void  )

Definition at line 221 of file remmina_pref.c.

◆ remmina_pref_init_keymap()

static void remmina_pref_init_keymap ( void  )
static

Definition at line 115 of file remmina_pref.c.

◆ remmina_pref_is_rw()

gboolean remmina_pref_is_rw ( void  )

Definition at line 697 of file remmina_pref.c.

◆ remmina_pref_keymap_get_keyval()

guint remmina_pref_keymap_get_keyval ( const gchar *  keymap,
guint  keyval 
)

Definition at line 931 of file remmina_pref.c.

◆ remmina_pref_keymap_groups()

gchar** remmina_pref_keymap_groups ( void  )

Definition at line 951 of file remmina_pref.c.

◆ remmina_pref_save()

gboolean remmina_pref_save ( void  )

Definition at line 707 of file remmina_pref.c.

◆ remmina_pref_set_value()

void remmina_pref_set_value ( const gchar *  key,
const gchar *  value 
)

Definition at line 1026 of file remmina_pref.c.

Variable Documentation

◆ default_keymap_data

const gchar* default_keymap_data
static
Initial value:
= "# Please check gdk/gdkkeysyms.h for a full list of all key names or hex key values\n"
"\n"
"[Map Meta Keys]\n"
"Super_L = Meta_L\n"
"Super_R = Meta_R\n"
"Meta_L = Super_L\n"
"Meta_R = Super_R\n"

Definition at line 63 of file remmina_pref.c.

◆ default_keystrokes

const gchar* default_keystrokes = "Send hello world§hello world\\n"

Definition at line 57 of file remmina_pref.c.

◆ default_resolutions

const gchar* default_resolutions = "640x480,800x600,1024x768,1152x864,1280x960,1400x1050"

Definition at line 56 of file remmina_pref.c.

◆ remmina_keymap_file

gchar* remmina_keymap_file

Definition at line 59 of file remmina_pref.c.

◆ remmina_keymap_table

GHashTable* remmina_keymap_table = NULL
static

Definition at line 60 of file remmina_pref.c.