This file is indexed.

/usr/share/anyremote/cfg-data/Server-mode/imageViewer.cfg is in anyremote-data 6.3.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
%
% anyremote configuration file for image viewing on the screen of cellphone (Server-mode)
% prerequisites: ImageMagic
%

% STATUS stable
% XTEST no
% SOUND no
% ENV no
% FBROWSER v.3i

GuiAppName=ImageViewer
GuiAppIcon=redo.png
GuiAppType=Custom
GuiAppBinary=true
GuiAppProtocols=Server
GuiAppDesc=Allows to view images from PC on the phone screen. Beware: Can cause J2ME client crash on some Nokia's and Samsung's

[Protocol]=Server

(Init)=\
	Include($(CfgDir)/Utils/aliases-server.cfg);\
	Include($(CfgDir)/Utils/aliases-server-fbrowser-v3i.cfg);\
	Macro(FBROWSER_IC_INIT);\
	Macro(TEST_IMAGEMAGIC);\
	Make(var,wm_cx,by_value,120);\
	Make(var,wm_cy,by_value,160);\
	Make(var,wm_rotate,by_value,);

(Exit)=\
	Macro(FBROWSER_IC_EXIT);
	
(Connect)=\
	Set(parameter,debug,on);\
	Set(icons,ImageViewer,\
		1,folder,2,plus,3,default,\
		4,default,5,default,6,default,\
		7,default,8,default,9,default,\
		*,question,0,no,#,default);\
	Set(title,);\
	Set(status,);\
	Get(screen_size);\
	Set(image,nocursor);

Cancel=\
	Make(exit);

Back=\
	Set(text,close);\
	Set(image,close);\
	Set(menu,replace,);
	
Back($$)=\
	Set(list,close);
	
UpdateMenu=\
	Set(menu,replace,GoTo,Open,Go Home);

Open($$)=\
	Make(var,view_idx,echo $(Index));\
	Macro(SHOW);
	
GoTo($$)=\
	Macro(FBROWSER_IC_GO_TO);
	
Go Home($$)=\
	Macro(FBROWSER_IC_GO_HOME);
	
%Push($$) use from aliases-server-fbrowser-v3i.cfg

1=\
    Macro(FBROWSER_IC_FILL_LIST);\
    Macro(UpdateMenu);

2=\
    Set(fullscreen,toggle);\
    Get(screen_size);

9=\
    Set(image,show);\
    Macro(WINMENU);

* *=\
    Set(text,replace,Help, Image viewer.\n1 - File browser\n2 - Toggle Fullscreen);Set(menu,replace,);
0=\
    Make(exit);

% sure that SizeY will be second one
SizeX($$)=\
	Make(var,wm_cx,by_value,$(Index));
	
SizeY($$)=\
	Make(var,wm_cy,by_value,$(Index));

% Android gestures support
ImageSlideLeft=\
	Macro(Next);
	
ImageSlideRight=\
	Macro(Previous);

WINMENU=\
	Set(menu,replace,Next,Previous,Rotate,Update,List);

SHOW=\
	Make(var,view_idx,echo $(Index));\
	Make(var,view_file,by_value,$(Param));\
	Macro(SHOW2);
	
SHOW2=\
	Set(popup,show,Loading...);\
	ExecAndSet(image,window,\
	     cd "$(fbrowser_dir)";\
	     cat "$(view_file)"|convert - $(wm_rotate) \
	         -resize $(wm_cx)x$(wm_cy) \
		 -depth 8 $(TmpDir)/scr.png;\
	     echo $(TmpDir)/scr.png);\
	Set(popup,hide);\
	Macro(WINMENU);

Update=Macro(SHOW2);

Rotate=\
	Make(var,wm_rotate,if [ "x$(wm_rotate)" = "x" ]; then echo "-rotate 90"; else echo ""; fi);\
	Macro(SHOW2);

Next=\
	Make(var,view_idx,expr $(view_idx) + 1);\
	Exec(echo d1);\
	Make(var,view_file,ls -1 "$(fbrowser_dir)"|head -$(view_idx)|tail -1);\
	Exec(echo e1);\
	Macro(SHOW2);

Previous=\
	Make(var,view_idx,J=`expr $(view_idx) - 1`;echo $J);\
	Make(var,view_file,ls -1 "$(fbrowser_dir)"|head -$(view_idx)|tail -1);\
	Macro(SHOW2);

List=\
	Macro(FBROWSER_IC_FILL_LIST);\
	Macro(UpdateMenu);

[End]