-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfedora_lxde
274 lines (134 loc) · 6.05 KB
/
fedora_lxde
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
# prefix
currently I'm using fedora & lxde on my eee pc, so here are some hints
# when lid is closed settings
sudo vim /etc/systemd/logind.conf
and add or uncoment
HandleLidSwitch=ignore
source: [Fedora 17 and 18: How to disable auto suspend when laptop lid is closed](http://nottooamused.wordpress.com/2012/12/29/fedora-17-and-18-how-to-disable-auto-suspend-when-laptop-lid-is-closed/)
# temperature monitoring in conole
sudo yum install lm_sensors
sudo sensors-detect
sensors
#suspend trought console
sudo pm-suspend
# check batery state in console
sudo yum install acpi
acpi
#Battery 0: Charging, 94%, 00:21:48 until charged
acpi -V #with temperature too, but better is 'sensors' command
#lock screen o lxde
xscreensaver-command -lock
# gnome sound mangaer
gnome-sound-applet
# passphraze of #
http://docs.fedoraproject.org/en-US/Fedora/14/html/Deployment_Guide/s2-ssh-configuration-keypairs.html
# ssh to remmember your password
ssh-add
if you getting error *Could not open a connection to your authentication agent.* run
exec ssh-agent bash
## ssh access fedora machine
ssh server must be running
/sbin/service sshd status
sudo /sbin/service sshd start
# set machine steps #
## rar support ##
su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm'
su -c 'rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
sudo yum install unrar
## mp3 video ##
http://www.fergytech.com/2011/11/enable-mp3-playback-on-fedora-16/
sudo yum localinstall –nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
sudo yum install gstreamer-plugins-ugly
# other plugins
sudo yum install gstreamer-plugins-*
## install vlc ##
yum install vlc
## istall arista transcoder ##
http://www.fedoraforum.org/forum/showthread.php?t=261884
http://www.transcoder.org/downloads/
install
#cd ./path-to-arista
yum -y install python2-devel python3-devel gstreamer-plugins-bad-nonfree
I had no problems installing but I found few peple complaining, so to solve possible problems in fedora:
yum install gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-bad-free gstreamer-plugins-ugly gstreamer-ffmpeg ffmpeg mplayer mencoder mplayer-gui gecko-mediaplayer
yum install hal-filesystem hal-info hal-libs hal-storage-addon
yum install python-gudev
## install filezilla ftp ##
yum install filezilla
## mac drive format support
sudo yum install gparted
sudo yum install hfsutils
## ruby & rails ##
# gems dependancies #
nokogiry
postgress
rubyracer
heroku redline
sudo yum install libxml2-devel libxslt-devel
apt-get install libopenssl-ruby
sudo yum install postgresql-devel
sudo yum install gcc-c++
[source](http://blog.dhavalparikh.co.in/2011/08/libxslt-is-missing-using-omniauth-and-nokogiri/)
[source :https://gist.github.com/1330137]
# rvm #
before instaling anything do
yum install zlib-devel.i686
rvm pkg install openssl
rvm pkg install iconv
rvm pkg install readline
sudo yum groupinstall development-tools development-lib
and install with
rvm install 1.9.2 -C --with-openssl-dir=$HOME/.rvm/usr,--with-iconv-dir=$HOME/.rvm/usr, --with-readline-dir=$rvm_path/usr/lib
if you forget to add something you neet to
rvm remove 1.9.2
# janus vim #
before anything, make sure you have rvm installed ad go to /home/user and just run from bash and open ssl
sudo yum install openssl
rvm --create use ruby-1.9.2@any
gem install rake
othervise rake task will fail
lunch janus instal curl
but, it will fail! , open .vim/Rakefile and add
require 'openssl'
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
than
cd .vim
rake install
[source](https://github.com/carlhuda/janus/issues/362)
#postgres
for me it was really complicated to configure postgres database
sudo postgresql-setup initdb
sudo chmod -R 700 /var/lib/pgsql
sudo chown -R tomi /var/lib/pgsql
postgres -D /var/lib/pgsql/data #start server
in new terminal window
go to scrap on postges to se how to create database
psql --username=postgresh
http://www.cyberciti.biz/faq/howto-add-postgresql-user-account/
# audacity
to suport mp3, dont install audacity!!! install this
yum install audacity-freeworld
# sturtup scripts for fedora
have a fedora core box which needs to run different scripts on startup to connect to other boxes on the network.
After a bit of fiddling around, I found what appears to be the best solution for me, using ntsysv and init.d. Here's how it's done;
1.) make a new file in the /etc/init.d/ directory
2.) add your script to this file with the following lines at the top;
#!/bin/bash
# chkconfig: 345 85 15
# description: of your file
3.) enter this in the shell;
chkconfig --add startup_filename
4.) type ntsysv - your startup script should now be in the list, checked and ready for action!
http://snippets.dzone.com/posts/show/5496
#mobile broadband
keywords: mobile internet three giff gaff
check scrap on mobile broadband settings
#oppen office manual
http://www.if-not-true-then-false.com/2010/install-openoffice-org-on-fedora-centos-red-hat-rhel/
#just download & extract open office, cd to that dir and run
rpm -Uvh RPMS/*.rpm RPMS/desktop-integration/openoffice.org3.3-redhat-menus-3.3-*.rpm
keywords: oppenoffice open office libre
# audio m-audio oxygen 61 usb keyboard + lmms
http://www.passback.org.uk/music/fedora-music-intro/
yum install qjackctl
System -> Administration -> Users and Group add your user to `jackuser` group ... and aftrer that LOGOUT and log back your user in