cp: not writing through dangling symlink
Solution: The symbolic link destination file doesn't exist.
Steps:
ln -s /tmp/not.existent.file link
cp a.file link
cp: not writing through dangling symlink
ls -l /tmp/not.existent.file
ls: No such file or directory
Se afișează postările cu eticheta linux. Afișați toate postările
Se afișează postările cu eticheta linux. Afișați toate postările
joi, 2 iunie 2016
marți, 5 martie 2013
OpenProj on Ubuntu
Starting OpenProj gives error of java vendor:
~$ openproj
Java auto-detection...
Checking java
Java version: 1.6.0_27 OK
Java implementation: OpenJDK NOK, OpenProj requires Sun, IBM or IcedTea implementation
Checking /usr/java/jre1.7.0_07/bin/java
Java version: 1.7.0_07 OK
Java implementation: Java(TM) OK
Solution:
http://blog.coffeebeans.at/?p=303
FixerDave on said:
vineri, 18 ianuarie 2013
Skype default view
Ubuntu 12.04
Skype 4.1 for Linux
2 Accounts needed => 2 skype running started: 1 normal and 1 with parameter --dbpath .
Problem: the Default View doesn't work, even it is activated in Options of the normal started skype.
Solution: I started it using --dbpath too.
Skype 4.1 for Linux
2 Accounts needed => 2 skype running started: 1 normal and 1 with parameter --dbpath .
Problem: the Default View doesn't work, even it is activated in Options of the normal started skype.
Solution: I started it using --dbpath too.
vineri, 5 octombrie 2012
How to Disable a shortcut in Ubuntu ?
To Disable a shortcut in Ubuntu :
- go to Keyboard settings ,
- tab Shortcuts,
- search for the desired event ,
- select it and ...
- press Backspace
The text Disabled appears there.
This was needed when the shortcut for Evernote Clearly add-on in Firefox didn't worked: CTRL+ALT+Up was caught by Unity - it is assigned for Workspace Up. For me it is not needed - is enough a circular navigation with Workspace Right - ctrl+alt+right.
- go to Keyboard settings ,
- tab Shortcuts,
- search for the desired event ,
- select it and ...
- press Backspace
The text Disabled appears there.
This was needed when the shortcut for Evernote Clearly add-on in Firefox didn't worked: CTRL+ALT+Up was caught by Unity - it is assigned for Workspace Up. For me it is not needed - is enough a circular navigation with Workspace Right - ctrl+alt+right.
joi, 4 octombrie 2012
Unity - new Ubuntu interface
At first usage, the new linux interface - Unity - could be a headache.
It is a change from the way we were using the navigation on computers.
Understanding the principles would allow you to change the headache into pleasure.
The new interface serves the users to be more productive.
It is more task oriented. Because the humans uses computers to do tasks. So instead to adapt people to computers, vice-versa is done: adapt computers to help humans.
The productivity is increased by 2 factors:
1. use more the keyboard instead of mouse.
2. just type what you want to be opened, instead to navigate thorough menus with applications.
Eg: you want to edit a text, press Start key (with win logo), type text and some applications are shown. Continue typing to properly identify the needed one if it is not the first and press Enter. Press Alt+F4 to close it.
There is also a bar with 2 functions:
- list the favorite applications
- list the opened applications.
To navigate between:
- the opened applications the keys are Alt+Tab.
- the windows of same applications Alt+~ (above tab key).
I hide the bar, gaining more space, because I don't need it since I can open using point 2 and use the navigation from above.
It is a change from the way we were using the navigation on computers.
Understanding the principles would allow you to change the headache into pleasure.
The new interface serves the users to be more productive.
It is more task oriented. Because the humans uses computers to do tasks. So instead to adapt people to computers, vice-versa is done: adapt computers to help humans.
The productivity is increased by 2 factors:
1. use more the keyboard instead of mouse.
2. just type what you want to be opened, instead to navigate thorough menus with applications.
Eg: you want to edit a text, press Start key (with win logo), type text and some applications are shown. Continue typing to properly identify the needed one if it is not the first and press Enter. Press Alt+F4 to close it.
There is also a bar with 2 functions:
- list the favorite applications
- list the opened applications.
To navigate between:
- the opened applications the keys are Alt+Tab.
- the windows of same applications Alt+~ (above tab key).
I hide the bar, gaining more space, because I don't need it since I can open using point 2 and use the navigation from above.
luni, 1 octombrie 2012
Move on new linux machine
- cp useful folders like ~/.
- install Adobe Flash package
- cfg proxy in Network and for Software Center in
cat /etc/apt/apt.conf
Acquire::http::proxy "http://u:p@proxy:8080/";
Acquire::https::Proxy "http://u:p@proxy:8080/";
Acquire::ftp::Proxy "http://u:p@proxy:8080/";
- install Adobe Flash package
- cfg proxy in Network and for Software Center in
cat /etc/apt/apt.conf
Acquire::http::proxy "http://u:p@proxy:8080/";
Acquire::https::Proxy "http://u:p@proxy:8080/";
Acquire::ftp::Proxy "http://u:p@proxy:8080/";
vineri, 28 septembrie 2012
Adobe and Linux
I have to test an application that uses Flash.
Updated to last Flash player from Adobe.
On their page http://get.adobe.com/flashplayer/ was a strange text:
"NOTE: Adobe Flash Player 11.2 will be the last version to target Linux as a supported platform. Adobe will continue to provide security backports to Flash Player 11.2 for Linux."
(Your system: Linux 32-bit, Firefox )
After update, I noticed the YouTube is played with interruptions.
eg:
https://www.youtube.com/watch?v=0YANGB9KqYo&feature=relmfu
Solution:
- DO NOT do upgrade on newer FlashPlayer if not necessarily
Cause:
- technical: on Linux, Adobe disabled Hardware Acceleration
- Adobe passes the fault on others, when in fact they are unable to do a good software (fotomaniacu had problems with ACR on i7 with SSD):
http://gnome-scan.blogspot.ro/2012/09/why-doesnt-adobe-flash-player-11x-have.html
"
The main reason for this move was:
Quote from the Link above:
Updated to last Flash player from Adobe.
On their page http://get.adobe.com/flashplayer/ was a strange text:
"NOTE: Adobe Flash Player 11.2 will be the last version to target Linux as a supported platform. Adobe will continue to provide security backports to Flash Player 11.2 for Linux."
(Your system: Linux 32-bit, Firefox )
After update, I noticed the YouTube is played with interruptions.
eg:
https://www.youtube.com/watch?v=0YANGB9KqYo&feature=relmfu
Solution:
- DO NOT do upgrade on newer FlashPlayer if not necessarily
Cause:
- technical: on Linux, Adobe disabled Hardware Acceleration
- Adobe passes the fault on others, when in fact they are unable to do a good software (fotomaniacu had problems with ACR on i7 with SSD):
http://gnome-scan.blogspot.ro/2012/09/why-doesnt-adobe-flash-player-11x-have.html
"
The main reason for this move was:
- Security concerns.
- Unstable Nvidia/AMD/Intel and Open Source drivers - in combination with Adobe Flash Hardware-Acceleration.
Quote from the Link above:
"Unfortunately given the current landscape of graphics drivers and support for Linux based operating systems, we could not support Linux with Hardware Acceleration. Most drivers, including the ones provided from Intel/NVIDIA/AMD were too unstable to consistently work with the Flash Player. Sorry for the inconvienience." - Charbs09, Adobe Employee"
"As of FP 11.0.1.152 there is no way to turn on HW Acceleration for Linux. We disabled it entirely facing security concerns, but we may re-enable an unsupported method in a future release." - Charbs09, Adobe Employee
luni, 26 martie 2012
Environment UTF-8
To work in an environment using UTF-8 (or other character encoding) set:
- on PC OS
- DB tool - Squirrel -Put in the start script of Squirrel: -Dfile.encoding=UTF-8 (near to xmx).
- text editor - Jedit -Jedit> Utilities > Global Options > Encondings : Default character encoding UTF-8
- terminal - set to use UTF-8 (Ubuntu: Terminal>Set character encoding ; Putty: Settings >Window> Translation> Remote character set)
- on server .profile: LANG=en_US.utf8
-for Oracle database/sqlplus:
-export NLS_LANG=american_america.UTF8
-check database uses utf-8: select * from nls_database_parameters
-check that you really have utf-8 data by viewing hexa codes: select dump( ,16) from
- on PC OS
- DB tool - Squirrel -Put in the start script of Squirrel: -Dfile.encoding=UTF-8 (near to xmx).
- text editor - Jedit -Jedit> Utilities > Global Options > Encondings : Default character encoding UTF-8
- terminal - set to use UTF-8 (Ubuntu: Terminal>Set character encoding ; Putty: Settings >Window> Translation> Remote character set)
- on server .profile: LANG=en_US.utf8
-for Oracle database/sqlplus:
-export NLS_LANG=american_america.UTF8
-check database uses utf-8: select * from nls_database_parameters
-check that you really have utf-8 data by viewing hexa codes: select dump(
JAVA_OPTS=”-Djava.vendor=Sun -Xms128m -Xmx768m”
did the trick.
Thanks to all, including Google